Commit Graph

403 Commits (f5afd2be8267b656401506f3af7bf2d349ae23fb)

Author SHA1 Message Date
daid 32b321980f Add DTR toggle to baudrate detection code. Should fix #159 2012-07-11 09:40:34 +02:00
daid 34c6be63bd Add temperature graph to printer interface. 2012-07-10 17:04:37 +02:00
daid 5522a9a588 Added yellow popup to reset scale/mirror/rotate on a new model load. Popup is none-intrusive and hides itself after 5 seconds. Fixed #156 2012-07-09 12:01:18 +02:00
daid 1684c09cdb Add 230400 baudrate. 2012-07-09 10:50:32 +02:00
Daid 081ac97f95 Fix for gcode preview, was showing very thin lines because of the new start code. 2012-07-07 08:30:53 +02:00
daid 7a2f56e3f4 Some more changes to the start/end code. 2012-07-06 15:52:55 +02:00
daid fb5cf680f6 Only multiply the feedrates with 60 in start/end code if they are preceded with and F 2012-07-06 15:24:58 +02:00
daid 750ed6de67 Only draw layers up to the point where it takes less then 100ms to draw them. To avoid severe slowdown on slow machines. 2012-07-06 14:59:03 +02:00
daid 25e68caae8 Added terminal tab to printer interface. 2012-07-06 13:27:06 +02:00
Daid 42e1c34cc9 Add some missing M codes to the GCode reader so we do not report them as unknown. 2012-07-05 22:58:39 +02:00
Daid f6c8f7d4ec Shut off the heated bed at the end code. Reduce the amount of Z lift. 2012-07-05 21:36:43 +02:00
daid 6e245ed7fe Updated start/end code. 2012-07-05 16:08:18 +02:00
daid 1fe525e854 Disable the 2D slicer before someone finds it! 2012-07-05 15:49:33 +02:00
daid 9fd5a9b020 Add support for {filename} tag in gcode. 2012-07-05 15:42:59 +02:00
daid ad48bc6484 Remove use of logfile to store model errors. Added print time and filament usage to comments in start code of resulting GCode file. 2012-07-05 14:12:13 +02:00
daid 96d38d4312 Removed test comment. 2012-07-05 14:06:47 +02:00
Daid e332443bb4 Added feature to load a profile from a sliced GCode file. 2012-07-05 08:46:41 +02:00
daid 1070cbf99e Make the fan speed adjustable between min/max, depending on the slowdown due to cooling. Fixed #47 2012-07-03 17:45:18 +02:00
daid da4bdd800f Added support for drag&drop files into Cura. 2012-07-03 14:46:56 +02:00
daid 29b5d0b0eb Also check for TypeErrors, which seem to happen when you use a comma instead of a dot in values. 2012-07-02 12:25:40 +02:00
daid 402c2223ca Merge branch 'master' of github.com:daid/Cura 2012-07-02 10:11:52 +02:00
daid 14b4a4a542 Fixed #153 2012-07-02 10:11:38 +02:00
daid d6baf4bbee Fixed #148 2012-07-02 10:03:25 +02:00
Daid 1f80cd34cf Added newer ultimaker firmware. Make linux version install the 115200 baud firmware by default, as PySerial for Linux does not support 250000. Added auto baudrate detection (untested). 2012-06-30 11:51:43 +02:00
Daid 339e678253 Add copy to SD to batch run tool. 2012-06-29 00:32:33 +02:00
Daid e34d836d1f Some layout changes adviced by Joris. To improve visibility of options. 2012-06-29 00:23:47 +02:00
daid 3642bc46eb On a multicore system, support parralel slices in the batch runner. 2012-06-28 15:51:40 +02:00
daid a91261cc7a Added basic batch run tool. Still needs some more enhancements. 2012-06-28 14:13:03 +02:00
daid c3502d9ca4 Fixed #143 - Properly align models when using multiple extruders. 2012-06-28 11:27:06 +02:00
Daid 1a4819b2b9 Do not send the M0 or M1 to the machine, but send an M105 instead. We still need to send something to keep the line numbering working. Sending an M105 is harmless. 2012-06-27 20:24:51 +02:00
Daid 5e23979931 Add pause button to printing interface, and auto pause when M0 or M1 is hit. 2012-06-27 20:23:01 +02:00
daid e4a36de053 Remove debug message. 2012-06-26 15:43:18 +02:00
daid 00f020fbac Add realtime speed controls to printer interface. 2012-06-26 15:42:56 +02:00
daid 1b360728e7 Add bed temperature control to printer interface. Only show when we get an bed temperatur reading. Fixed #124 2012-06-26 12:05:06 +02:00
Daid 560b1f8c39 Added all-at-once images. 2012-06-25 09:37:22 +02:00
Daid 8e6eec768f Fixed #140 2012-06-23 12:15:29 +02:00
Stefan Blanke 70bbc16abe Fix version detection for all Python versions
Inspecting sys.version_info using named component attributes was added in
the patch "Some fixes to start support for python3."

Named component attributes were only added to sys.version_info in Python
2.7 so their use breaks Cura for Python 2.6.

As Cura otherwise works in the still widely used Python 2.6 it seems best
to maintain this compatibility.
2012-06-22 14:37:52 +01:00
Daid bcabc0d96a Fixed #135 - Update preview window controls when loading a new profile. 2012-06-22 06:53:18 +02:00
Daid 22042b9f8b Added copy to SD feature. Fixed #138 2012-06-22 06:42:07 +02:00
Daid 7a6b9f367a Merge branch 'master' of github.com:daid/Cura 2012-06-22 05:08:14 +02:00
Daid 34bc89e66f Added working arcs to 2D svg 2012-06-22 05:08:08 +02:00
Daid fab56bdcac Removed debug message that I excedently left in. 2012-06-21 21:53:24 +02:00
Daid 8b6159523a Fixed #116 - Slicing with none-ascii characters under windows. It is an ugly hack, but it works. 2012-06-21 20:08:16 +02:00
Daid 1b56cd18d7 Some fixes to start support for python3. 2012-06-21 19:53:18 +02:00
Daid 906d0f9718 Fixed island retraction. Feature was already found in skeinforge, but bugged (as usual) 2012-06-21 18:44:30 +02:00
Daid 0a151cefcf Add support to slice as 1 large object with the project planner. Fixed #98 2012-06-21 17:41:10 +02:00
Daid 79300f3357 Add option to save the collection of STL files as a single STL file in the project planner. 2012-06-21 15:04:42 +02:00
Daid 7a3137e1c7 Merge branch 'master' of github.com:daid/Cura 2012-06-21 15:03:47 +02:00
Daid 31cbf5e1a8 Fix for double retraction, fix for errorlist in model not showing correctly. 2012-06-21 14:18:31 +02:00
Daid ef0d96a041 Added reset profile to default option. 2012-06-20 09:06:29 +02:00
Daid d59953be3e Make comb use a larger distance between the outer edge and the move, this hopefully removes the ugly outsides on a print when combing. 2012-06-20 02:35:47 +02:00
Daid dc194ea1c0 Change the way the only jump retraction works, this allows retraction when moving to print support. 2012-06-20 02:34:59 +02:00
Daid 21a71f288e Added G4 to GCode reader. Fixes #132 2012-06-19 21:57:16 +02:00
Daid 01b0f4df92 Add retract only on jumps to expert settings. 2012-06-04 15:09:11 +02:00
Daid 75d4104bc3 Merge branch 'master' of github.com:daid/Cura 2012-06-04 15:06:54 +02:00
Daid 2aa6b89221 Add retract on jumps only setting 2012-06-04 15:06:48 +02:00
Daid 371fb00ffd Add arc stub in SVG class. 2012-06-04 09:41:03 +02:00
Daid 6a0addd9de Removed the bridge material amount setting, this did not only affect bridges, but the whole layer the bridge is in, so it did not work properly. 2012-06-03 08:54:32 +02:00
daid e9a28830b1 Added start of SVG 2D slicer. 2012-06-01 18:16:07 +02:00
daid caa7d04d97 Use the proper function for checking if 2 vertexes are almost equal. 2012-06-01 13:27:19 +02:00
daid b6ebfc3f17 Removed unused scripts. 2012-06-01 12:26:00 +02:00
daid d6fb3e7f91 Fix printer interface images for frozen build. Do not report an unknown gcode for M110 2012-06-01 12:14:20 +02:00
daid a35116833d Added retract colors on moves that are followed after a retraction. Fixed an OpenGL problem in combination with Linux MESA drivers. 2012-06-01 12:02:50 +02:00
daid 5769b22cd1 More fixes for a frozen build. Adds the code used by pypy into a zip which pypy uses. This makes for a cleaner install. 2012-06-01 11:29:21 +02:00
daid fa1fcfebc8 Require atleast cx-Freeze 4.2, because older versions cause problems with character encodings. 2012-05-31 19:04:08 +02:00
daid a9ed300675 Fixed a few issues with a frozen executable. Slicing now works, and images work. Will need more testing. 2012-05-31 18:37:59 +02:00
daid a93fde841c Added setup.py script for cx_Freeze, which I hope will help building a proper MacOS version. However, the frozen executable is not working correctly yet. 2012-05-31 18:01:57 +02:00
daid 5b7e60e163 Some cleanup and preperation for better packaging. 2012-05-31 12:05:10 +02:00
daid 7acb66fcdb Added cut-mesh.png image. 2012-05-29 16:25:13 +02:00
daid eb44963079 Use a function to generate the "_export.xxx" filename 2012-05-29 13:42:33 +02:00
daid 16c043e469 Added "split plate" function to project planner, which cuts an STL file up into seperate pieces. Useful to print items with the project planner that are only distributed in plate form. 2012-05-25 16:30:07 +02:00
daid e94b47217c Release the steppers on a print cancel. Fixed #110 2012-05-21 10:50:52 +02:00
Daid 3192b0ac71 Added slice date/time and basic settings to start GCode. And made export preserve lines that only had comments. 2012-05-20 11:15:20 +02:00
Daid 6fbc7e4d91 Updated the preference dialog so that is wider instead of very tall. Fixed the quickprint Z speed. 2012-05-19 11:03:38 +02:00
Daid 4785ad527a Ugly workaround for 3D preview not always refreshing on some ATI cards. 2012-05-18 10:26:13 +02:00
Daid d03d4ac400 Abstract the 3D model related functions into a seperate class, and remove some duplicate code from the project planner and the 3D preview. 2012-05-18 10:10:51 +02:00
Daid c812e11118 Remove support margin setting, it is not really needed to configure this. 2012-05-18 09:52:12 +02:00
Daid 46a0d36fab Account for head movements when using support in the project planner. 2012-05-18 09:51:09 +02:00
Daid cedda983e8 Add dwindle to progress bar options. Fixed indentation in fill.py 2012-05-17 09:52:38 +02:00
daid 4c8086d294 By default turn the fan off in the start code, because we enable it on the 2nd layer. 2012-05-16 16:47:51 +02:00
daid 5574caab38 Fixed a bug in project planner slicing. 2012-05-16 16:44:03 +02:00
daid a4e59eb062 Refresh the 3D window after updating the project planner preferences. 2012-05-16 16:34:28 +02:00
daid 4d39ce07df Fixed #102 - Jorised GCode preview was messed up. Caused by incorrect layerheight calculations, new code only updates the layer heigh if a move is done, not when an extrusion is done. 2012-05-16 15:14:17 +02:00
daid 91cbe912dd Remove debug message 2012-05-16 15:10:48 +02:00
daid dd8b5b52ba Add an extra line on the first jorised line, so we get rid of the gap and create a watertight result. 2012-05-16 15:10:30 +02:00
daid 5ca164c356 Add show log result to project planner. Make sure the final move on the project planner has cleared all objects. Make the clearance beween objects higher when moving in between objects in the project planner. 2012-05-16 14:12:05 +02:00
daid ddd3883ad1 Better variable names 2012-05-16 14:00:53 +02:00
daid 92048ed255 Support loading a profile ini file from the commandline. 2012-05-16 13:52:42 +02:00
daid b4a643e45f Fix visibility of rotate/scale controls in project planner. 2012-05-16 13:50:02 +02:00
daid a6482e9aa6 re-use old slice in project planner, if we are slicing the same object again with the same settings but on a different position. This improves slicing time a lot when making a lot of the same objects. 2012-05-16 13:48:15 +02:00
daid 415ef2eaa6 Better sanity checks in raft plugin. 2012-05-16 12:41:16 +02:00
daid de60050130 Extra sanity check on the GCode layer Z view height, in rare cases layers are empty and cause problems. 2012-05-16 12:10:56 +02:00
daid b0c6d6c359 Fixed #108 2012-05-16 12:05:11 +02:00
daid 3ea2960d88 Fixed #105 - Opening explorer on a filename with a space in it failed. 2012-05-15 13:18:38 +02:00
daid e22694bfda Fixed bug which happens if you slice without ever touching the start/end code. 2012-05-15 09:34:45 +02:00
daid a7c566e946 Add flip/swap buttons to project planner. 2012-05-14 16:11:21 +02:00
daid d70ee47508 Add experimental dwindle, so we can check it out. 2012-05-14 16:01:55 +02:00
daid afb8141334 Change the MacOS toolbar fix so we only add 1 panel to the window. 2012-05-14 13:42:00 +02:00
daid 24530a66c3 Fix minor layout issue for windows with project planner toolbars 2012-05-11 14:22:57 +02:00
daid 08b19efb0c Fixed project planner toolbars for windows/linux 2012-05-11 13:41:17 +02:00
daid 1591a467af Added print and exporer open button to Project planner. No GCode viewer yet. 2012-05-11 12:13:24 +02:00
daid b6f5b5e4b8 Remove plain textbox for GCode editing after patch from Pyro 2012-05-11 10:45:14 +02:00
daid 62bac7d9b8 Added home button icon 2012-05-11 10:14:25 +02:00
Ferdi van der Werf 0d2525d60e Fixes #91
Fixed some keyboard shortcuts for mac:
command + keys and control + a or e
If more shortcuts are required, post them in issue #91.
2012-05-11 04:01:39 +02:00
Ferdi van der Werf fbc9af3233 Fixes #95
wx.EVT_KILL_FOCUS is not fired on OSX, so we have to use a different
event to save. I thought EVT_STC_CHANGE of wx.stc would be a good
choice.
See http://www.yellowbrain.com/stc/events.html#EVT_STC_CHANGE

Altered gcodeTextArea slightly to use the new gcodeTextArea on OSX as
well.
2012-05-11 02:31:18 +02:00
Ferdi van der Werf 3c0f3b87e0 Fixes #94
Toolbars in wx.Frame won't show buttons. They do show when a toolbar is
added to a panel.
2012-05-11 01:49:51 +02:00
Daid 5e8630891a Add icons for Z move 2012-05-10 22:44:42 +02:00
Daid c37c0f2bde Fixed some more problems with first run wizard. Made print window X/Y/Z move buttons work. 2012-05-10 21:29:42 +02:00
daid af6d6a18d8 Support slicing objects with different profiles in the project planner. 2012-05-10 16:52:31 +02:00
daid e284532a17 Add slice toolbar button to project planner. 2012-05-10 13:59:52 +02:00
Daid db6c7eaa67 Better catch errors in first run wizard. 2012-05-09 22:47:27 +02:00
Daid 9fe9117226 If gcode tags have integer values then export them as integer, else export them as float 2012-05-09 20:16:32 +02:00
daid a9143d4c2c Fix project planner result dialog, so the text is readable. 2012-05-09 17:30:24 +02:00
daid a18e00dbc7 Add autoplace toolbar button. Make autoplace work with the fan on the other side of the extruder head. Add code support for slicing different objects in the project plan with different settings (still need to do GUI part). 2012-05-09 14:21:58 +02:00
daid 666bbbb6b0 What was I smoking? This code is much simpler this way. 2012-05-07 18:12:26 +02:00
daid 7f57669280 Move extruder switching GCode to profile instead of hardcoded. 2012-05-07 17:42:46 +02:00
daid fb935e49fe Keep the objects on the printer bed after autoplacing in project planner. Fixed #92 2012-05-07 17:36:41 +02:00
daid f64298d583 The new GCode text editor with syntax highlight is very cool, but is causing problems on MacOS, so fall back to a simple textarea in that case. 2012-05-07 17:26:40 +02:00
daid 7abad9e98b Add 3 seconds delay in config wizard for the SD card init to timeout. 2012-05-07 16:42:15 +02:00
daid db03825b9b Bring simple mode window up to speed with the rest 2012-05-07 16:26:29 +02:00
daid c04c09a437 Added preferences to project planner to configure head size 2012-05-07 16:03:42 +02:00
daid 8a495554d8 Generate 1 GCode layer per draw cycle, this keeps the UI responsive during the generation of display lists with huge GCode files. 2012-05-07 13:51:28 +02:00
daid 58b4a48162 Updated gcode interperter and GCode preview. Fixed #77 2012-05-07 13:24:26 +02:00
Daid 15fe5a60c6 Fixed #93 - Oh noes, only 1 change this weekend. What has the world come to? 2012-05-06 22:34:15 +02:00
Daid 424877fe0f Fix bug where tempOverrides where not cleared. 2012-05-04 19:58:00 +02:00
Daid 7d9bf5adfa Merge branch 'master' of github.com:daid/Cura 2012-05-04 19:28:29 +02:00
Daid c09861249e Added stat calculation after project slicing. 2012-05-04 19:28:24 +02:00
daid 9a5508d077 Added the copy button image. (forgot that in my last commit) 2012-05-04 18:10:39 +02:00
daid 8b24d77aea Added copy button to project planner, and cleaned up project planner code a bit. 2012-05-04 17:57:24 +02:00
daid dc54135db5 Fixed bug where tooltip was still shown when pressing open/save button on project planner. Added toolbar buttons for add/remove object in project planner. Added move up/down buttons to project planner. 2012-05-04 12:39:23 +02:00
daid f437bc38eb Remove duplicate code. 2012-05-04 12:03:08 +02:00
daid 79ef4ac2b6 There is no perfect solution for #90, but this makes it a bit better. 2012-05-04 11:47:55 +02:00
Daid c1dc9f4354 Some code cleanup 2012-05-03 20:11:20 +02:00
Daid 82a3aafc37 Some fixes to the preview window OpenGL code. Needed after last changes in GCode preview.
However, also changes the view height depending on the selected layer now.
2012-05-03 20:09:46 +02:00
Daid 06bf4c6f93 Merge branch 'master' of github.com:daid/Cura 2012-05-03 19:23:12 +02:00
daid 32d1ea11c2 Changed GCode preview code to be faster on layer switching. 2012-05-03 18:41:58 +02:00
daid e29261a992 Added more GCode validation to GCode editor. Made temp changes to profile really temp so they are never stored in the ini file. Fixed crash bug in skeinforge where there is no layer code. 2012-05-03 12:29:55 +02:00
daid 9385aa8c25 Move gcode formated text to own file. 2012-05-02 17:54:29 +02:00
daid a5237fea44 Very basic syntax highlight for comments in the GCode editor for start/end code. 2012-05-02 17:15:55 +02:00
daid 5e8a0c92c0 Add loaded filename into title bar. 2012-05-02 14:21:21 +02:00
daid 92c42d1afa Only show gcode buttons when GCode is loaded. Only show layer selection in GCode and mixed view. Fixed #87 2012-05-02 14:14:41 +02:00
Daid b9d4c9b5fa Merge branch 'master' of github.com:daid/Cura 2012-05-01 18:40:18 +02:00
Daid 3d70d67145 Save last known Z position in multi color slicing. 2012-05-01 18:40:10 +02:00
daid 25c753fffa Fixed crash on minimal layer time of zero. Fixed #84 2012-05-01 11:45:34 +02:00
daid 11d9022741 Update preferences to allow math expressions. Fixed #86 2012-05-01 11:39:52 +02:00
Daid 8f39846349 Corrected extruder offset direction 2012-04-29 14:50:52 +02:00
Daid 74d8329a73 Fixed positioning when using multiple extruders. Fixed GCode preview for multiple extruders. Removed multiply, depricated because of the project planner, and does not work right with multiple extruders. 2012-04-29 14:22:20 +02:00
Daid 70d833b19d No newlines in slice progress status label. 2012-04-29 12:01:56 +02:00
Daid 632a447575 Show print time, filemant used and cost estimate after slicing. 2012-04-29 12:00:13 +02:00
Daid 2e6f887499 Remove other models when loading a single model again after a dual load. 2012-04-29 11:44:07 +02:00