Commit graph

280 commits

Author SHA1 Message Date
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
Daid
9c91c58c6e Move extruder offset and extruder head size to preferences. 2012-04-29 11:35:36 +02:00
Daid
ffb6b42d5d Fixed #82 2012-04-28 18:32:34 +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
a6253b7f48 Only add temperature to start code if the temperature is not configured in the start code already. Fixes #76 2012-04-24 11:59:17 +02:00
daid
95705f77d5 Fixed #75 - Unicode chars in start/end code caused crash. 2012-04-24 11:31:34 +02:00
Lawrence Johnston
f7071d59cf Fixes #73: When start.gcode is changed changes are not saved 2012-04-23 20:02:50 -07: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
13c8bc4583 Only allow printing with slic3r if we can find the executable, else silently use CuraSF 2012-04-23 15:24:16 +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
a749233e07 Change default profile a bit so it works better in the project planner. 2012-04-23 11:35:52 +02:00
daid
024ea7a0ac Only emit the intersect warning once. After that only report the special lines for Cura. 2012-04-23 11:22:08 +02:00