Commit Graph

1034 Commits

Author SHA1 Message Date
Alessandro Ranellucci
d488afd243 More work (breaks centering and internal surfaces detection) 2012-09-22 19:38:25 +02:00
Alessandro Ranellucci
02356fd613 Large refactoring to allow processing multimaterial files 2012-09-22 19:04:36 +02:00
Alessandro Ranellucci
04be94023b Refactoring: move the 'copies' property to each Print::Object 2012-09-22 16:19:24 +02:00
Alessandro Ranellucci
82ac4722d2 Refactoring, new size_3D function 2012-09-22 16:12:54 +02:00
Alessandro Ranellucci
b5672de3ca Refactoring, new bounding_box_3D function 2012-09-22 16:10:24 +02:00
Alessandro Ranellucci
35e449e891 Make new plater compatible with threaded perls 2012-09-21 17:45:54 +02:00
Alessandro Ranellucci
037be34b7b Bugfix: removed fatal error when generating SVG support material in some circumstances. #673 2012-09-21 16:52:05 +02:00
Alessandro Ranellucci
c6c7dd12da Silently ignore threads > 1 on non-threaded perls 2012-09-21 16:43:46 +02:00
Alessandro Ranellucci
27b71d8885 Little regressions after recent merge 2012-09-21 16:08:22 +02:00
Alessandro Ranellucci
392309a369 Little cleanup 2012-09-21 15:58:44 +02:00
Alessandro Ranellucci
46cbdcdc4e Merge branch 'master' into dynamic-flow 2012-09-21 15:36:33 +02:00
Alessandro Ranellucci
f638558167 Preserve position when splitting objects in plater 2012-09-21 15:35:32 +02:00
Alessandro Ranellucci
e40f32995f Finish GUI decoupling 2012-09-21 15:04:33 +02:00
Alessandro Ranellucci
8382eeef0a Revert "Patch for --gcode-arcs (kindly submitted by Paul Howes)"
This reverts commit f4260ae93d.
2012-09-21 15:04:19 +02:00
Alessandro Ranellucci
f659dcf088 Patch for --gcode-arcs (kindly submitted by Paul Howes) 2012-09-21 15:04:19 +02:00
Alessandro Ranellucci
757515ba17 New [print_preset], [filament_preset] and [printer_preset] variables. #675 2012-09-21 15:04:18 +02:00
Alessandro Ranellucci
4fbb8ffb9d Replace 'scale epsilon' with 'scaled_epsilon' 2012-09-21 15:04:18 +02:00
Alessandro Ranellucci
87912cb3b0 Bugfix: only_retract_when_crossing_perimeters was almost not working. #680 2012-09-21 15:04:18 +02:00
Alessandro Ranellucci
f314cedd8f Bugfix: extrusion width setting for support material was only affecting the path spacing but not the actual flow. #666 2012-09-21 15:04:17 +02:00
Alessandro Ranellucci
e89f64e9d3 More unfinished work 2012-09-21 15:04:17 +02:00
Alessandro Ranellucci
6adf98edaf Fix regression causing SVG/DLP support material to crash the application. #668 2012-09-21 15:04:16 +02:00
Alessandro Ranellucci
37ae2e1e2d Use support material extruder for brim. #653 2012-09-21 15:04:16 +02:00
Alessandro Ranellucci
3b38e392ad Consider single walls as external perimeters. #661 2012-09-21 15:04:15 +02:00
Alessandro Ranellucci
47c5d410ea Remove the initial retraction compensation. Not only it is not very good for multi-head setups, but it also caused wrong first layer Z when lift was enabled. #655 2012-09-21 15:04:15 +02:00
Alessandro Ranellucci
202bfa91c8 Adjust M-codes for temperature handling for Teacup. #539 2012-09-21 15:04:12 +02:00
Alessandro Ranellucci
94a096f1d2 Support legacy config files not containing first_layer_height #631 2012-09-21 15:04:11 +02:00
Alessandro Ranellucci
1cedb00f20 Merge branch 'master' into dynamic-flow
Conflicts:
	lib/Slic3r/ExPolygon.pm
2012-09-12 16:05:06 +02:00
Alessandro Ranellucci
2a51cad0c3 Revert "Patch for --gcode-arcs (kindly submitted by Paul Howes)"
This reverts commit f4260ae93d.
2012-09-12 15:58:01 +02:00
Alessandro Ranellucci
f4260ae93d Patch for --gcode-arcs (kindly submitted by Paul Howes) 2012-09-12 15:53:24 +02:00
Alessandro Ranellucci
7a5071f66c New [print_preset], [filament_preset] and [printer_preset] variables. #675 2012-09-12 15:29:44 +02:00
Alessandro Ranellucci
e0d5f4e528 Replace 'scale epsilon' with 'scaled_epsilon' 2012-09-12 15:22:43 +02:00
Alessandro Ranellucci
9934f8957f Bugfix: only_retract_when_crossing_perimeters was almost not working. #680 2012-09-12 15:20:37 +02:00
Alessandro Ranellucci
bb5f00cf0c Bugfix: extrusion width setting for support material was only affecting the path spacing but not the actual flow. #666 2012-09-12 12:13:43 +02:00
Alessandro Ranellucci
628cc52338 Fix regression causing SVG/DLP support material to crash the application. #668 2012-09-06 11:28:24 +02:00
Alessandro Ranellucci
f41a6af343 Use support material extruder for brim. #653 2012-09-06 11:01:44 +02:00
Alessandro Ranellucci
1053947c19 Consider single walls as external perimeters. #661 2012-09-06 10:56:42 +02:00
Alessandro Ranellucci
e0a96c00b3 Remove the initial retraction compensation. Not only it is not very good for multi-head setups, but it also caused wrong first layer Z when lift was enabled. #655 2012-09-06 10:44:48 +02:00
Alessandro Ranellucci
5017f17171 Adjust M-codes for temperature handling for Teacup. #539 2012-08-30 23:13:28 +02:00
Alessandro Ranellucci
b37af86bef Support legacy config files not containing first_layer_height #631 2012-08-30 23:04:56 +02:00
Alessandro Ranellucci
191de5d078 Unfinished work for decoupling GUI from the Print object (goal = more speed for manipulation, less memory usage) 2012-08-29 19:37:27 +02:00
Alessandro Ranellucci
f29d455319 Refactor the AMF parser so that it popolates a Model object directly. Also read constellations 2012-08-29 18:23:34 +02:00
Alessandro Ranellucci
23f6842bd4 Export plates as AMF constellations 2012-08-29 17:12:32 +02:00
Alessandro Ranellucci
f90520ed06 Refactoring: new Slic3r::Model class to represent files 2012-08-29 17:12:32 +02:00
Alessandro Ranellucci
9bd1b0f6ba Revert "Refactoring: initialize all layers at once and avoid duplication of slicing height math". #637
This reverts commit 08270022dd.
2012-08-26 17:47:00 +02:00
Alessandro Ranellucci
08270022dd Refactoring: initialize all layers at once and avoid duplication of slicing height math 2012-08-25 20:40:44 +02:00
Alessandro Ranellucci
a1a4d97f9f Remove useless subroutines 2012-08-25 20:14:52 +02:00
Alessandro Ranellucci
a1ac866b84 Refactoring: turn x_length and y_length in size 2012-08-25 20:14:01 +02:00
Alessandro Ranellucci
896641cb7e Fixed regression causing some bridges not to be detected correctly. #629 2012-08-25 20:04:29 +02:00
Alessandro Ranellucci
fe6c8fabdb Make Josef Prusa and Petr Ledvinka happy while we figure out how to handle localized Windows file paths 2012-08-25 19:06:14 +02:00
Alessandro Ranellucci
873ea93832 Fix missing module inclusion preventing the recently introduced option from working 2012-08-25 17:18:12 +02:00
Alessandro Ranellucci
0c22250740 New option to disable retraction when moving between infill paths inside the same island. #29 2012-08-25 16:30:11 +02:00
Alessandro Ranellucci
af1b64a086 Added unit testing to prevent regression about disconnected infill paths 2012-08-25 14:59:34 +02:00
Alessandro Ranellucci
0aa224ffad Dynamic extrusion width for better gap filling 2012-08-25 14:23:46 +02:00
Alessandro Ranellucci
65b11fa850 Minor refactoring for better readability of perimeter generation logic 2012-08-24 21:58:51 +02:00
Alessandro Ranellucci
92518d28fc New option to configure the threshold for enforcing solid infill. #224 2012-08-24 19:38:36 +02:00
Alessandro Ranellucci
ba58e0733f Avoid backwards moves when doing honeycomb infill. #492 2012-08-24 19:19:45 +02:00
Alessandro Ranellucci
5281b101f9 Some infill paths were still disconnected, causing unnecessary retractions 2012-08-24 18:59:23 +02:00
Alessandro Ranellucci
ee41345ab0 Remove useless Point->id method 2012-08-23 15:46:55 +02:00
Alessandro Ranellucci
d278998f11 Accept newline as separator for post-processing scripts in GUI. #615 2012-08-22 21:27:49 +02:00
Alessandro Ranellucci
b35c41c1a3 Bugfix: retraction was still not working correctly at tool change 2012-08-22 20:31:03 +02:00
Alessandro Ranellucci
edfdf236da Fix for the recent commit about the new retraction settings 2012-08-22 19:47:59 +02:00
Alessandro Ranellucci
4bddb66513 Always emit T0 at the beginning of a multi-extruder print 2012-08-22 19:20:34 +02:00
Alessandro Ranellucci
9e682924c7 New separate options for retraction length to be used when switching tools 2012-08-22 19:11:45 +02:00
Alessandro Ranellucci
075213c731 Refactoring: make 'retracted' an attribute of the Extruder object 2012-08-22 18:57:03 +02:00
Alessandro Ranellucci
97c3756034 Don't force automatic unretraction after tool change 2012-08-22 18:06:50 +02:00
Alessandro Ranellucci
3c2464abf9 Bugfix: crazy temperatures were written when using sequential printing. #625 2012-08-22 17:58:38 +02:00
Alessandro Ranellucci
26e033a30c Bugfix: brim was positioned incorrectly if no skirt was enabled. #627 2012-08-19 20:30:17 +02:00
Nicolas Dandrimont
a147530d2a Explicitly avoid passing arguments to remove when called from the event handler
Wx passes some objects to the callbacks, and we want to ignore those.
2012-08-11 16:05:17 +02:00
Nicolas Dandrimont
7b0d4cb4e1 Revert "Dereference the Wx object id when removing an object in the plater."
This reverts commit 4979029cd2.
2012-08-11 16:00:41 +02:00
Nicolas Dandrimont
4979029cd2 Dereference the Wx object id when removing an object in the plater. 2012-08-11 15:49:06 +02:00
Alessandro Ranellucci
624e16b7e2 Unexpected results splitting objects with threaded perls. #610 2012-08-10 16:05:16 +02:00
Henrik Brix Andersen
2576e3b00a Remove XXX debug output 2012-08-09 23:37:15 +02:00
Alessandro Ranellucci
8289692160 Handle configuration files saved while there was no extruder_offset control for the first extruder 2012-08-09 19:57:49 +02:00
Alessandro Ranellucci
d02012e4a3 Accept multiple --load arguments for GUI too 2012-08-09 00:59:41 +02:00
Alessandro Ranellucci
db8bb8c3d8 Revert "Hide extruder offset settings for the primary extruder"
This reverts commit 713d87b4c6.
2012-08-09 00:51:53 +02:00
Alessandro Ranellucci
2bf219a637 Bugfix: random failure to load presets. #600 2012-08-09 00:41:03 +02:00
Alessandro Ranellucci
927b7ce937 Bugfix: skirt height and other options shouldn't be limited to 100. #597 2012-08-08 23:51:40 +02:00
Alessandro Ranellucci
88cbae0d48 Bugfix: saving a printer preset with less extruders than it had resulted in the same number of extruders as before 2012-08-08 22:52:26 +02:00
Alessandro Ranellucci
713d87b4c6 Hide extruder offset settings for the primary extruder 2012-08-08 22:14:05 +02:00
Alessandro Ranellucci
9ca21c835c Merge branch 'per-extruder-retraction-settings'
Conflicts:
	lib/Slic3r/Config.pm
	lib/Slic3r/GUI/Tab.pm
2012-08-08 22:06:47 +02:00
Henrik Brix Andersen
e2b2e369f8 Disable using ENTER key for accessing "Export G-code..." button. 2012-08-08 21:45:17 +02:00
Alessandro Ranellucci
4fcecf5ef6 Bugfix: when an external config was selected in any section, exported settings didn't reflect other sections properly 2012-08-08 19:36:34 +02:00
Alessandro Ranellucci
2f2bc8210a Allow exporting to .g files too 2012-08-08 19:04:36 +02:00
Alessandro Ranellucci
3888727b96 Bugfix: legacy config files with empty temperature and/or first_layer_temperature caused crash 2012-08-08 16:25:13 +02:00
Alessandro Ranellucci
b048f51edd Incomplete label for support material extruder option. #593 2012-08-08 15:21:02 +02:00
Henrik Brix Andersen
0f327ef912 Add missing use File::Spec 2012-08-07 23:37:16 +02:00
Alessandro Ranellucci
c7858912d8 Bugfix: some paths were not considered when generating brim 2012-08-07 22:04:58 +02:00
Alessandro Ranellucci
866b09f3f9 New --extruder-offset option 2012-08-07 21:39:45 +02:00
Alessandro Ranellucci
a2c28fd6da Move retraction settings to a temporary page until we merge the per-extruder-retraction-settings branch 2012-08-07 21:11:58 +02:00
Alessandro Ranellucci
cf01c142de Make retraction configurable for each extruder 2012-08-07 21:08:56 +02:00
Henrik Brix Andersen
640c07a233 Revert 4099c3a8cf
Presenting detailed statistics about a given slice needs rethinking, as this solution will not scale.
2012-08-07 21:00:03 +02:00
Alessandro Ranellucci
63e77fcfd8 Refactor extruder settings 2012-08-07 20:50:54 +02:00
Alessandro Ranellucci
106c8fe46f Minor reordering of infill options in GUI; also hide the entire staticbox if threads are not available 2012-08-07 20:22:26 +02:00
Alessandro Ranellucci
2548d5b993 Expose all multi-extruder settings to the GUI 2012-08-07 20:14:28 +02:00
Alessandro Ranellucci
793301d319 Allow to select multiple filaments in GUI when multiple extruders are configured 2012-08-07 18:44:47 +02:00
Alessandro Ranellucci
b7d8444ac8 Take support material into account when generating brim. #490 #501 #567 2012-08-06 20:54:49 +02:00
Alessandro Ranellucci
9bfa4118a1 Bugfix: brim and skirt collision was not precisely detected when they had similar offsets. #548 2012-08-06 20:27:10 +02:00
Alessandro Ranellucci
2616c24ffc Bugfix: plater wasn't initialized with last settings. #573 2012-08-06 19:19:22 +02:00
QuantumConcepts
6bcbc743dd Fixed #586. 2012-08-06 08:23:00 -04:00
Alessandro Ranellucci
a8e9b6926a Bugfix: each tab was loading too much from external config files 2012-08-06 13:03:44 +02:00
Henrik Brix Andersen
49b048c61d Include Wx version number in debug output 2012-08-04 22:19:42 +02:00
Henrik Brix Andersen
b1805ed7f3 Align controls and their associated labels vertically centered. 2012-08-02 23:44:42 +02:00
Henrik Brix Andersen
5518ac9fa6 Add small border on non-wxMAC platforms. Needs testing with wxWidgets 2.9.x on wxMSW + wxGTK. 2012-08-02 23:19:04 +02:00
Henrik Brix Andersen
c1e2bc5bd7 Make the wizard a tiny bit wider to fit the gcode_flavor drop-down under OS X. 2012-08-02 23:08:40 +02:00
Henrik Brix Andersen
ed89038f0b Add work-around for "Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 17". #558 2012-08-02 23:07:42 +02:00
Henrik Brix Andersen
794a090892 Pass explicit tool IDs to ::EnableTool() 2012-08-02 21:49:26 +02:00
Henrik Brix Andersen
69fa308f55 Allocate wxWidget identifiers dynamically to avoid potential conflics. 2012-08-02 21:11:36 +02:00
Henrik Brix Andersen
0e620f3ad2 Make --output accept directories. #535 2012-08-01 17:12:16 +02:00
Henrik Brix Andersen
d1b8f37dda Call print->config before print->expanded_output_filepath. #573 2012-08-01 16:06:03 +02:00
Henrik Brix Andersen
65d6eb551a Try harder to attract user attention on wxMAC. #575 2012-08-01 13:59:43 +02:00
Henrik Brix Andersen
83fccf0875 Fix auto-arrange of objects 2012-07-30 19:30:41 +02:00
Henrik Brix Andersen
0aae15e2a8 Persist last skein directory and last config directory used across application restarts. 2012-07-30 12:08:28 +02:00
Alessandro Ranellucci
0e39a89d01 Fixed regression preventing split from working. #395 2012-07-30 10:00:25 +02:00
Sam Wong
4099c3a8cf #568: Show filament needed statistics in the GUI message box. 2012-07-30 01:24:51 +08:00
Alessandro Ranellucci
4c33eabc6e Slicing from plater was still using the default options 2012-07-29 17:02:46 +02:00
Alessandro Ranellucci
9933132ae6 Bugfix: recent refactoring broke slicing from plater on multi-threaded perls 2012-07-29 15:51:26 +02:00
Alessandro Ranellucci
92754d7cd4 Fix multi-extruder options in GUI 2012-07-28 11:53:10 +02:00
Alessandro Ranellucci
87934a972c Port recent global changes to the wizard 2012-07-28 11:34:12 +02:00
Alessandro Ranellucci
c763f5fc81 Bugfix: fatal error with thin loops after recent refactoring. #562 2012-07-28 11:06:27 +02:00
Henrik Brix Andersen
57b134cc9c Handle recursive ratio_over options correctly. 2012-07-27 22:56:35 +02:00
Henrik Brix Andersen
d68ab84faa Fix quick slicing 2012-07-27 22:03:48 +02:00
Alessandro Ranellucci
7e34244b05 Refactored configuration handling.
Slic3r::Config is now an object. Multiple partial config objects are used throughout the codebase as local repositories, then merged and serialized when necessary.
2012-07-27 21:16:11 +02:00
Henrik Brix Andersen
f0579e59bd Include timestamp in .ini files 2012-07-27 14:33:14 +02:00
Henrik Brix Andersen
9f719d42bc Include preset name in confirmation dialog 2012-07-27 14:11:04 +02:00
Henrik Brix Andersen
9e1308c03f Ask for confirmation when deselecting a dirty preset. 2012-07-27 13:57:58 +02:00
Henrik Brix Andersen
848784ad95 Clear dirty when deleting preset. 2012-07-27 13:56:52 +02:00
Henrik Brix Andersen
40f1176346 Be careful not to change the current selection when working around http://trac.wxwidgets.org/ticket/13769 2012-07-27 13:54:45 +02:00
Henrik Brix Andersen
1cc0a79188 Allow the list and buttons to expand upon window resize 2012-07-26 16:50:57 +02:00
Henrik Brix Andersen
7b06255dca Center preset buttons 2012-07-26 16:48:28 +02:00
Henrik Brix Andersen
63e8299f14 Eliminate single-item wxSizer. 2012-07-26 16:41:22 +02:00
Henrik Brix Andersen
85603c1981 Highlight the dragged object. 2012-07-25 10:06:45 +02:00
Henrik Brix Andersen
affaee415b Reset mouse cursor on button up event. 2012-07-25 00:51:41 +02:00
Henrik Brix Andersen
5502537065 Change cursor when hoovering over a movable object. 2012-07-25 00:15:32 +02:00
Henrik Brix Andersen
e02ee17247 Respect multiline option flag. #559 2012-07-24 20:16:34 +02:00
Henrik Brix Andersen
0e6d6a9695 Force sane TAB key order on buttons in GridSizer. 2012-07-24 18:21:02 +02:00
Alessandro Ranellucci
1d364d7823 Refactor OptionsGroup to decouple it from the config repository, add ConfigOptionsGroup 2012-07-24 15:33:11 +02:00
Henrik Brix Andersen
09a222f8b2 Reshuffle code a bit to preserve TAB key order between toolbar and listctrl. 2012-07-24 14:42:38 +02:00
Henrik Brix Andersen
44f3b7d2b5 Allow TAB key navigation of controls. 2012-07-24 14:28:21 +02:00
Henrik Brix Andersen
0b0e531661 Use more generic EVT_KEY_DOWN(). 2012-07-24 14:17:10 +02:00
Henrik Brix Andersen
4bee713579 Add menuitems with keyboard shortcuts to quickly navigate between tabs. 2012-07-24 12:59:02 +02:00
Henrik Brix Andersen
4dc41d2ca3 Intercept TAB key events in the wxTreeCtrl and generate a wxNavigationKeyEvent. 2012-07-24 12:42:58 +02:00
Henrik Brix Andersen
69e075df82 Hidden Sizer items does not take up space, simply show/hide pages instead of removing/adding them. 2012-07-24 12:41:51 +02:00
Henrik Brix Andersen
642bb336eb Add the page before showing it. 2012-07-24 00:34:57 +02:00
Henrik Brix Andersen
37667d87ce Use Wx::Sizer::Detach() instead of Wx::Sizer::Remove() 2012-07-24 00:34:07 +02:00
Alessandro Ranellucci
ea604384dd Typo 2012-07-23 17:56:20 +02:00
Alessandro Ranellucci
ba475cae45 Fixed fatal error introduced after recent refactoring 2012-07-23 17:52:02 +02:00
Henrik Brix Andersen
6f6fb22657 Add menu item hints 2012-07-23 16:31:16 +02:00
Henrik Brix Andersen
ab9ffe9c19 Expose --external-perimeter-speed in the GUI. #556 2012-07-23 09:43:59 +02:00
Alessandro Ranellucci
67b415a2b3 Remove almost duplicated logic for small infill regions detection 2012-07-22 21:06:19 +02:00
Alessandro Ranellucci
144a704e3b Remove all id() and ordered_id() methods 2012-07-22 21:00:02 +02:00