Commit Graph

330 Commits (0cc89eb33a7210af8e1a5db3cc44a2cb56eabc4e)

Author SHA1 Message Date
daid 16c8c4f588 Make serial port access more rebust. 2012-07-19 14:27:59 +02:00
daid 5ae8e44022 Merge branch 'master' of github.com:daid/Cura 2012-07-17 09:31:54 +02:00
daid aa20057eb7 Fixed #175 2012-07-16 16:38:29 +02:00
James Walker 57438e7b50 Fix typo in description of ScaleToFit button 2012-07-13 23:27:57 +10: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 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 1fe525e854 Disable the 2D slicer before someone finds it! 2012-07-05 15:49:33 +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 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 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 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 1b56cd18d7 Some fixes to start support for python3. 2012-06-21 19:53:18 +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 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 01b0f4df92 Add retract only on jumps to expert settings. 2012-06-04 15:09:11 +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 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 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 5b7e60e163 Some cleanup and preperation for better packaging. 2012-05-31 12:05:10 +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 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 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 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 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 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 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 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 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 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
Daid 9c91c58c6e Move extruder offset and extruder head size to preferences. 2012-04-29 11:35:36 +02:00
Ferdi van der Werf be075e5e18 Fixes #80
Corrected function call and adjusted parameters accordingly.
2012-04-28 08:02:20 +02:00
Daid 4a57502535 backwards compatibility with older project files. 2012-04-27 21:48:56 +02:00
Daid a1b4a50342 Added extruder selection to project planner, fixed bug with project planner where the skirt was incorrectly added to the movement size 2012-04-27 19:18:29 +02:00
Daid b28b7adef5 Slightly increase the default machine head size because the header block can stick out. 2012-04-27 13:51:27 +02:00
Daid ec9f24fac8 Updates after some testing with dual extrusion (loads of work to do) 2012-04-27 13:45:32 +02:00
daid a90cdd4993 Solve problem where X/Y/Z text is shown before camera if are actually behind camera 2012-04-25 16:30:51 +02:00
daid bfaebcce3e Report total time spend slicing after project planner slice 2012-04-25 15:49:43 +02:00
daid 3770dea42c Added tool switching GCode. Made the E value reset after each layer for multiple extruder support. 2012-04-25 13:34:25 +02:00
Ferdi van der Werf 3949ebe844 Bugfix - Missing ) 2012-04-24 20:08:37 +02:00
daid 94f0597be0 Multiple extruders, not functional yet. Final GCode has wrong E values. But the idea starts to work. 2012-04-24 18:46:29 +02:00
daid b6492df81e Add the ability to edit the nextobject.gcode 2012-04-24 12:03:03 +02:00
daid 3645523074 Remove menu from project planner, and replace it with toolbar buttons. 2012-04-23 18:23:29 +02:00
daid cfadc75e9c Add alteration files to profile ini. (Note, this broke Slic3r support) 2012-04-23 18:02:30 +02:00
daid c2c1e0fd63 Add support margin setting to SF and Cura. 2012-04-23 15:03:35 +02:00
daid a5fdfdb55a Really fix the machine center this time 2012-04-23 14:16:23 +02:00
daid 510aa7fed2 Fix bug in centerX/Y update. 2012-04-23 11:09:56 +02:00
Daid bdaceed7fd Enable skirt in project planner if needed. 2012-04-22 23:45:19 +02:00
Daid 2962c49a52 Remove debug print. 2012-04-22 16:30:18 +02:00
Daid 86af877c13 Add Z/Y/Z indicators. Fixes #70 2012-04-22 13:11:21 +02:00
Daid c35be9e4b5 Change abort button into close button after slicing with project planner. Fixes #69 2012-04-21 21:27:53 +02:00
Daid 8f83a2420f Add autoplace button to project planner 2012-04-21 20:45:53 +02:00
daid ebc579b2a1 Say project planner in title bar 2012-04-20 17:15:10 +02:00
daid 861610f376 Add progress window to project planner. 2012-04-20 17:06:50 +02:00
daid b438918d92 Add scale/rotate controls to project planner. 2012-04-20 15:12:06 +02:00
daid ab1e4729ad On close we have a "deselection" on the listbox, but the 3D preview is deleted then already, so we do not need to do a refresh then 2012-04-20 14:23:11 +02:00
Daid 713a1c84ec Added print direct move icons for x and y 2012-04-19 21:39:44 +02:00
daid 9f004dfdfe Add direct control buttons to print window (needs icons :P). Add project planner to file menu. 2012-04-19 17:35:08 +02:00
daid 5a721aaeb8 Updated project planner to use an alteration file between each print. 2012-04-19 16:31:39 +02:00
daid 67e12946ed Update to project planner, toolbar icon buttons, less messy boundery boxes view. 2012-04-19 16:16:15 +02:00
Daid 57c3b1c2bb Fix for bug caused by offloading scaling to the 3D card 2012-04-18 22:51:19 +02:00
Ferdi van der Werf eb0aac458b On mouse-enter, change on/off icon to on, on mouse-out, change on/off icon to previous state 2012-04-18 20:28:53 +02:00
Ferdi van der Werf 9b31b8f6b3 Added icons for top toolbar of preview panel 2012-04-18 20:27:34 +02:00
Ferdi van der Werf ba37075ad5 Added icons for 3d and top-down view 2012-04-18 19:03:31 +02:00
daid 5ffbe43329 Speed up preview when changing multiply/scale by offloading that to the 3D card, instead of recalculating vertex positions. 2012-04-18 17:48:34 +02:00
daid c49b6c99a9 Fixing feature 32 - expressions in scale. 2012-04-18 17:06:32 +02:00
daid 5879a9e71b Do less stuff in software, and more on the video card. Could be improved even more. 2012-04-18 17:04:03 +02:00
Ferdi van der Werf 0a4fa748a8 When scale is empty, default to 1.0 for profile and preview 2012-04-18 16:08:58 +02:00