Commit Graph

677 Commits

Author SHA1 Message Date
Alessandro Ranellucci
8061cc6e30 Optimization in Polyline instantiation 2013-07-05 14:44:41 +02:00
Alessandro Ranellucci
bb656ea72c Merge branch 'master' into xs 2013-07-03 10:52:13 +02:00
Alessandro Ranellucci
63ba894260 Add some comments to OpenGL code 2013-07-01 12:23:44 +02:00
Alessandro Ranellucci
8ec3ec6bda Cosmetic changes to the new OpenGL code by iXce 2013-07-01 10:58:30 +02:00
Guillaume Seguin
b2e0c1ab42 Use max of all dimensions instead of max of first 2 2013-07-01 00:08:02 +02:00
Guillaume Seguin
1f229f3233 Cleanup 2013-06-30 23:54:13 +02:00
Guillaume Seguin
e92fefb6ff Working rotation for mesh viewer 2013-06-30 23:51:06 +02:00
Guillaume Seguin
6668a81c64 Start work on rotation handling 2013-06-29 18:31:06 +02:00
Guillaume Seguin
dd7830b1b7 Add panning support 2013-06-29 15:12:57 +02:00
Guillaume Seguin
43d764feff Implement zoom to point 2013-06-29 14:16:56 +02:00
Guillaume Seguin
317c911c67 Remove leftover from 47b2c13c 2013-06-29 14:16:38 +02:00
Guillaume Seguin
bb3ebb0244 Switch to orthographic projection 2013-06-29 10:43:35 +02:00
Guillaume Seguin
47b2c13c99 Get rid of demo timer in PreviewCanvas 2013-06-29 10:43:21 +02:00
Alessandro Ranellucci
f29faf0548 New Slic3r::TriangleMesh::XS class 2013-06-24 19:35:49 +02:00
Alessandro Ranellucci
2a2633da0a New automatic built-in STL repair 2013-06-23 21:11:46 +02:00
Alessandro Ranellucci
b71bc37111 Remove a couple cases of dangerous aliasing, causing crashes. #1257 2013-06-17 19:27:08 +02:00
Alessandro Ranellucci
c4036470af Fix one thing leftover from bounding box refactoring 2013-06-17 12:11:28 +02:00
Alessandro Ranellucci
ac4a0bcdd8 Refactoring: use Slic3r::Geometry::BoundingBox objects everywhere 2013-06-16 12:21:25 +02:00
Alessandro Ranellucci
cb75b1e47b Fix plater crash on threaded perls 2013-06-15 19:15:24 +02:00
Alessandro Ranellucci
7bf308c08f Fix one more centering problem caused by wrong bounding box implementation 2013-06-15 15:50:02 +02:00
Alessandro Ranellucci
145fe08203 More fixes for plater positioning. #1171 2013-06-13 20:05:32 +02:00
Alessandro Ranellucci
962a51cc80 Some cleanup for the plater code 2013-06-13 14:33:10 +02:00
Alessandro Ranellucci
def013ba91 Use _transform_thumbnail when rescaling thumbnails 2013-06-13 11:28:27 +02:00
Alessandro Ranellucci
0a74e45432 Scale and recenter thumbnails when bed size and/or print center is changed 2013-06-13 11:27:15 +02:00
Alessandro Ranellucci
5dcf277563 Rotate cw when using free rotation button to be consistent with icon. #1171 2013-06-13 10:27:47 +02:00
Alessandro Ranellucci
aee7b70d79 Bugfix: the order of transformations was not consistent in plater and actual G-code generation. #1171 #1191 2013-06-12 16:53:19 +02:00
Alessandro Ranellucci
510c2092df Fix rotation and scaling in plater producing mispositioned objects in G-code after recent changes. Includes a large refactoring and the new Slic3r::Geometry::BoundingBox class. #1171 #1191 2013-06-07 23:16:02 +02:00
Alessandro Ranellucci
9ea55497c2 Prevent crash when user deleted object from plater before thumbnail was generated in the other thread. #1207 2013-06-07 13:54:40 +02:00
Alessandro Ranellucci
fcc442882c Fix plater defect causing misalignment 2013-06-06 20:53:56 +02:00
Alessandro Ranellucci
8c74d2f41e New --autosave option for better toolchain integration. #837 2013-06-02 20:03:22 +02:00
Alessandro Ranellucci
28a01e7c5e Fix past participle 2013-06-02 16:58:23 +02:00
Alessandro Ranellucci
655d528d92 Fixed recent regression causing a spike when avoid_crossing_perimeters was used on split objects 2013-06-02 16:56:08 +02:00
Alessandro Ranellucci
30ce7dc745 Bugfix: wizard crashing in Simple Mode. #1077 #1122 2013-06-01 18:56:23 +02:00
Alessandro Ranellucci
d801876ee9 Revert "Bugfix: configuration wizard crash 2 #1077"
This reverts commit 55c413627f.
2013-06-01 18:54:07 +02:00
Alessandro Ranellucci
973d30a2b4 Merge pull request #1148 from hroncok/patch-1
Bugfix: configuration wizard crash 2 #1077
2013-06-01 09:46:17 -07:00
Alessandro Ranellucci
49531f6f78 Fixed regression causing rotation from plater to also translate the resulting G-code. #1191 2013-05-31 19:41:31 +02:00
Alessandro Ranellucci
8f5a958948 Rename do_slice() to quick_slice() 2013-05-20 11:02:12 +02:00
Alessandro Ranellucci
71d6f428ca Apparent fix for "Attempt to free unreferenced scalar" 2013-05-20 10:57:27 +02:00
Alessandro Ranellucci
f13d4e4e66 Restore skirt preview and extrude clearance after recent usage of int_offset() 2013-05-19 18:03:18 +02:00
Alessandro Ranellucci
5494f4f385 Free @_ before spawning a new thread (known old Perl bug) as an attempt to fix the unref scalars error 2013-05-19 17:34:33 +02:00
Alessandro Ranellucci
08a0bbd7f0 Optimization: split meshes automatically when avoid_crossing_perimeters is enabled, so that we reduce the complexity of the MotionPlanner graphs. This commit includes a very large refactoring of the Model class which is now responsible for duplication and arrangement 2013-05-18 16:48:26 +02:00
Alessandro Ranellucci
5c74fd095b Very basic implementation of 3D preview - install Wx::GLCanvas to get it working 2013-05-17 14:14:33 +02:00
Alessandro Ranellucci
228c84ddc1 Use glDrawArrays() 2013-05-16 13:42:19 +02:00
Alessandro Ranellucci
fc1a23f5b0 Quick and dirty OpenGL mockup 2013-05-16 12:09:01 +02:00
Alessandro Ranellucci
06ad6b70f8 Bugfix: scaling object from the plater applied scale factor over the factor used in the previous slicing job. #1075 2013-05-14 16:31:50 +02:00
Alessandro Ranellucci
ccdb29ddc9 New --spiral-vase option to continously raise Z when printing single-walled vases. #997 2013-05-13 20:15:45 +02:00
Alessandro Ranellucci
7c89476602 Move fan_always_on in the Enable options group. #1166 2013-05-13 18:33:44 +02:00
Alessandro Ranellucci
f6dc712158 Bugfix: most of the File menu items didn't work with --no-plater. #1112 2013-05-13 18:22:47 +02:00
Alessandro Ranellucci
bac5093de4 Alwyas apply disable_fan_first_layers, even if cooling is disabled, since fan_always_on is applied in that case as well. Update descriptive text and have it appear in case of disabled auto cooling. #1166 2013-05-10 15:09:27 +02:00
Alessandro Ranellucci
f7153d67d0 Make preset placeholders available in Quick Slice too. #921 2013-04-28 23:26:50 +02:00
Alessandro Ranellucci
6db8afe36d New option to remember last output directory. #698 2013-04-27 21:07:30 +02:00
Alessandro Ranellucci
f5bda326b8 Version check. #1006 2013-04-27 20:55:43 +02:00
Miro Hrončok
55c413627f Bugfix: configuration wizard crash 2 #1077 2013-04-23 16:17:43 +03:00
Alessandro Ranellucci
b160feacfd Merge branch 'master' into clipper-optimizations 2013-04-18 17:36:42 +02:00
Alessandro Ranellucci
b725847a51 Bugfix: configuration wizard led to crash with simple mode. #1077 2013-04-03 19:26:59 +02:00
Alessandro Ranellucci
1187f4846d Some Clipper optimizations 2013-03-31 19:40:25 +02:00
Alessandro Ranellucci
0d6ff22e19 Merge branch 'wipe' 2013-03-31 11:36:04 +02:00
Alessandro Ranellucci
7f23e72a10 Display preview for small files too. #929 2013-03-30 00:52:45 +01:00
Alessandro Ranellucci
33a4ec660d better handling of too-small and too-short models #929.
These changes handle small models better in the plater preview.
Extremely small thumbnails are preserved instead of culled,
allowing the model to be scaled up. The scale range is extended to
100000% to allow mm-scale objects expressed in meters to be opened
and scaled to mm.
Original coding by mesheldrake
2013-03-30 00:47:13 +01:00
Alessandro Ranellucci
7b7c9f6330 Launch even if config is corrupted. #1067 2013-03-30 00:30:21 +01:00
Alessandro Ranellucci
e563c62094 Replace SetValue with ChangeValue to avoid wxWidgets to fire useless events 2013-03-29 18:56:34 +01:00
Alessandro Ranellucci
d2b451d9a1 Merge branch 'master' into wipe 2013-03-26 16:28:01 +01:00
Alessandro Ranellucci
2f046799f2 Removed offset() method from Slic3r::Polygon because it only works with ccw polygons 2013-03-26 14:03:24 +01:00
Alessandro Ranellucci
4cb36fcbe2 Remove cooling checkbox from simple mode 2013-03-24 21:28:16 +01:00
Alessandro Ranellucci
6bc5de0b5d Allow custom ranges with layer_height = 0 2013-03-24 15:26:55 +01:00
Alessandro Ranellucci
34b192fde3 Merge pull request #1059 from cakeller98/Universal_File_Visibility
Added "known" as a valid model file type
2013-03-19 08:05:19 -07:00
Alessandro Ranellucci
813aa5b307 Allow drag and drop for OBJ files 2013-03-19 12:25:10 +01:00
Christopher Keller
8bbaafd830 Added "known" as a valid model file type
=> 'Known files (*.stl, *.obj, *.amf)|*.stl;*.STL;*.obj;*.OBJ;*.amf;*.AMF;*.xml;*.XML',

When dialog pops up, it can see ALL known file types instead of only stl.
2013-03-18 20:52:55 -07:00
Alessandro Ranellucci
ec5f0635f7 Add wipe in GUI 2013-03-18 21:20:32 +01:00
Alessandro Ranellucci
35bd5a3423 New --solid-infill-extrusion-width option 2013-03-17 00:02:31 +01:00
Alessandro Ranellucci
cf5adca928 New --resolution option to simplify input models 2013-03-16 19:58:34 +01:00
Alessandro Ranellucci
db2e76a0df New option to change perimeter order. #534 2013-03-16 18:56:49 +01:00
Alessandro Ranellucci
33b40eda18 Always fix self-intersecting polygons that Douglas-Peucker might return 2013-03-16 18:42:56 +01:00
Alessandro Ranellucci
5c1336d2de Clarify that min Z, max Z and layer height are supposed to be expressed in mm 2013-03-12 10:28:51 +01:00
Alessandro Ranellucci
a5e6340004 Workaround for HideRowLabels() missing in wxWidgets 2.8. #770 2013-03-11 20:00:12 +01:00
Alessandro Ranellucci
2942485a94 New option to make infill before perimeters. #1039 2013-03-10 18:15:44 +01:00
Alessandro Ranellucci
f670acb4b1 Slice a single object with multiple layer heights. :-) 2013-03-10 14:58:49 +01:00
Alessandro Ranellucci
d1acc511b3 Refactor ObjectDialog into a tab panel 2013-03-10 12:46:54 +01:00
Alessandro Ranellucci
6a0ba97f0e Move ObjectDialog to a separate file 2013-03-10 12:33:10 +01:00
Alessandro Ranellucci
e9c7460c11 New --bridge-acceleration option 2013-03-09 20:31:09 +01:00
Alessandro Ranellucci
460e169c67 New option to disable retraction on layer change 2013-03-09 20:05:43 +01:00
Alessandro Ranellucci
a2702082b2 Merge pull request #962 from scottp/issue_885b
Add defaults into Tooltips from #885
2013-03-09 07:48:20 -08:00
Alessandro Ranellucci
9247b3e9f4 New --no-plater and --gui-mode options. #604 2013-03-09 16:43:09 +01:00
Alessandro Ranellucci
af50272b3b Refactor simple mode definitions to dedicated SimpleTab classes 2013-03-09 16:27:18 +01:00
Alessandro Ranellucci
5477d66902 Advertise the expert mode in simple mode 2013-03-09 14:55:07 +01:00
Alessandro Ranellucci
46f35e39f6 Some more tweaks 2013-03-08 23:34:57 +01:00
Alessandro Ranellucci
0748e088a0 Reorder options in simple mode 2013-03-08 23:07:14 +01:00
Alessandro Ranellucci
84f4f098ca Fix cooling and load in simple-mode. #1001 2013-03-08 22:58:28 +01:00
Alessandro Ranellucci
b901e1f6c8 Merge branch 'master' into simple-mode 2013-03-08 22:28:13 +01:00
Alessandro Ranellucci
97e864699e New top-infill-extrusion-width option 2013-03-07 16:00:58 +01:00
Alessandro Ranellucci
7412d4a687 Bugfix: manifoldness error triggered with multi-volume AMF files. #1019 2013-02-24 18:17:08 +01:00
Alessandro Ranellucci
cac79c0575 New option to only infill where strictly needed for supporting ceilings 2013-02-09 23:36:32 +01:00
Alessandro Ranellucci
8efe46e58d New option to enforce support material on a given number of layers to improve adhesion of objects with poor footprint 2013-02-04 15:48:57 +01:00
Alessandro Ranellucci
9222526e03 Customizable number of interface layers for support material and raft 2013-02-03 17:23:50 +01:00
Scott Penrose
9d086f027a Add defaults into Tooltips from #885 2013-01-30 09:53:22 +11:00
Alessandro Ranellucci
177f1a9bf0 New raft_layers option. #123 2013-01-28 14:12:01 +01:00
Alessandro Ranellucci
61b164b539 Merge branch 'master' into avoid-crossing-perimeters
Conflicts:
	lib/Slic3r/GCode.pm
	lib/Slic3r/Print.pm
2013-01-26 21:45:17 +01:00
Alessandro Ranellucci
4c62c1b570 Support .gco extension too. #957 2013-01-26 21:40:20 +01:00
Alessandro Ranellucci
f555a1ecc2 Replace 'Less' with 'Fewer' in plater. #944 2013-01-23 19:16:57 +01:00
Alessandro Ranellucci
8001059390 Add Mike Sheldrake in the About window 2013-01-17 14:13:25 +01:00
Alessandro Ranellucci
48e00a4c40 Merge branch 'master' into avoid-crossing-perimeters
Conflicts:
	lib/Slic3r/GCode.pm
	lib/Slic3r/GUI/Plater.pm
	lib/Slic3r/Print.pm
	lib/Slic3r/SVG.pm
2013-01-12 19:00:18 +01:00
Alessandro Ranellucci
32fd58d531 Acceleration control. #185 2013-01-10 15:29:40 +01:00
Alessandro Ranellucci
7239ca18c1 Simple mode 2013-01-03 15:49:20 +01:00
Alessandro Ranellucci
cf4c090208 Added Preferences dialog 2013-01-02 20:30:48 +01:00
Alessandro Ranellucci
e59ed7efb7 New toolchange_gcode option. #547 2012-12-23 16:29:08 +01:00
Alessandro Ranellucci
25960a33e0 Put vibration limit back in GUI 2012-12-05 15:08:17 +01:00
Alessandro Ranellucci
b495e15d7f Fix plater slowness after the introduction of the vertical projection 2012-11-29 19:13:52 +01:00
Alessandro Ranellucci
116ab446e3 Show vertical projection instead of convex hull for objects with <= 2000 facets. #780 2012-11-24 00:13:04 +01:00
Alessandro Ranellucci
0f0992e39a Speed for support material. #813 2012-11-23 17:20:26 +01:00
Alessandro Ranellucci
e7b307df02 Expose gap_fill_speed in GUI 2012-11-23 17:09:59 +01:00
Alessandro Ranellucci
21a6219b62 Disable vibration limit. #785 2012-11-23 11:14:06 +01:00
Alessandro Ranellucci
e91320e031 Fix rotation for threaded perls 2012-11-19 18:31:41 +01:00
Alessandro Ranellucci
5678cd562c Fix preview after rotation in plater 2012-11-19 17:39:16 +01:00
Alessandro Ranellucci
96dd106f61 Initial work for limiting vibrations 2012-11-17 10:40:15 +01:00
Alessandro Ranellucci
8d557bee8c Bugfix: AMF export was not working anymore. #799 2012-11-16 22:41:54 +01:00
Alessandro Ranellucci
e9ae62a9d1 New --min-skirt-length option. #269 2012-10-29 11:17:57 +01:00
Alessandro Ranellucci
deea02b444 Descriptive textual feedback for cooling settings 2012-10-28 12:43:41 +01:00
Alessandro Ranellucci
d0bee4bf41 Fixed regression in Split. #766 2012-10-27 21:39:57 +02:00
Alessandro Ranellucci
bc9ff848dd Removed unused 'propgrid' import group from Wx. #764 2012-10-27 21:21:18 +02:00
Alessandro Ranellucci
667d88603e Reorder some options using the more compact layout 2012-10-25 12:37:02 +02:00
Alessandro Ranellucci
cee3864fc9 Independently set number of top/bottom solid layers. #676 2012-10-25 12:21:04 +02:00
Alessandro Ranellucci
bbd7765f40 Refactored the options group building to allow for more flexible layouts 2012-10-25 11:24:56 +02:00
Alessandro Ranellucci
392af5542b Show object information when double-clicking it in the plater 2012-10-24 22:44:08 +02:00
Alessandro Ranellucci
3c8ac435ad Remember last used filament presets when using multiple extruders too 2012-10-24 20:24:11 +02:00
Alessandro Ranellucci
1627268fd4 Merge branch 'master' into avoid-crossing-perimeters
Conflicts:
	lib/Slic3r/GCode.pm
2012-10-24 11:49:31 +02:00
Alessandro Ranellucci
28b56ae840 Force unfocusing of all input fields when saving a preset, otherwise the currently focused one might be ignored. #750 #624 2012-10-22 16:03:08 +02:00
Alessandro Ranellucci
c793a2657f Replace Math::ConvexHull with Math::ConvexHull::MonotoneChain. #722 2012-10-22 15:29:54 +02:00
Alessandro Ranellucci
33b1970b95 Incomplete commit broke the plater on threaded perls 2012-10-22 14:02:58 +02:00
Alessandro Ranellucci
4f1b56f004 Fix regression causing the plater to merge all materials into a single one, thus not producing multi-extrusion prints 2012-10-21 20:56:19 +02:00
Alessandro Ranellucci
f5f9574173 Merge pull request #722 from mesheldrake/remove-dups-before-hull
use remove_coinciding_points before convex_hull
2012-10-15 02:49:30 -07:00
Alessandro Ranellucci
6b4f038d17 Update copies number when decreasing parts. #747 2012-10-15 10:59:54 +02:00
Alessandro Ranellucci
1a6eaeaa91 Bugfix: split wasn't working properly under threaded perls 2012-10-01 18:12:14 +02:00
Alessandro Ranellucci
2c400ee2b8 Removed useless warning 2012-10-01 16:49:02 +02:00
Alessandro Ranellucci
ab7697ec1c New option to force a solid layer every given number of layers. #617 2012-09-28 15:46:29 +02:00
Mike Sheldrake
4b91496edd use remove_coinciding_points before convex_hull
convex_hull returns polygons with sharp concaves sometimes when
duplicate points are present
2012-09-27 06:47:38 -07:00
Alessandro Ranellucci
fd74577eae Fix typo in previous commit 2012-09-24 21:00:26 +02:00
Alessandro Ranellucci
1f4706f02f [print_preset] and others were erroneously renamed to [print] etc. #675 2012-09-23 17:40:34 +02:00
Alessandro Ranellucci
77625894ff New command to combine multiple STL files into a single multi-material AMF file 2012-09-23 14:48:58 +02:00
Alessandro Ranellucci
e696764af8 Assign extruders and flows to materials 2012-09-23 02:40:25 +02:00
Alessandro Ranellucci
02356fd613 Large refactoring to allow processing multimaterial files 2012-09-22 19:04:36 +02:00
Alessandro Ranellucci
35e449e891 Make new plater compatible with threaded perls 2012-09-21 17:45:54 +02:00
Alessandro Ranellucci
2f1ae3f112 Restore non-manifold warnings 2012-09-21 15:46:40 +02:00
Alessandro Ranellucci
c95cd5ac38 Merge branch 'master' into avoid-crossing-perimeters 2012-09-21 15:36:45 +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
757515ba17 New [print_preset], [filament_preset] and [printer_preset] variables. #675 2012-09-21 15:04:18 +02:00
Alessandro Ranellucci
e89f64e9d3 More unfinished work 2012-09-21 15:04:17 +02:00
Alessandro Ranellucci
cc8d8bd26f Merge branch 'master' into avoid-crossing-perimeters
Conflicts:
	README.markdown
	lib/Slic3r/Config.pm
	lib/Slic3r/GCode.pm
	lib/Slic3r/Print.pm
	slic3r.pl
2012-09-12 16:04:16 +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
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
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
a1ac866b84 Refactoring: turn x_length and y_length in size 2012-08-25 20:14:01 +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
d061534b83 Merge branch 'master' into avoid-crossing-perimeters
Conflicts:
	README.markdown
	lib/Slic3r/ExPolygon.pm
	slic3r.pl
2012-08-25 14:26:32 +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
0eadc5adba Manual rebase of the avoid_crossing_perimeters feature 2012-08-23 15:42:58 +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
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
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
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
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
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
d1b8f37dda Call print->config before print->expanded_output_filepath. #573 2012-08-01 16:06:03 +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
Sam Wong
4099c3a8cf #568: Show filament needed statistics in the GUI message box. 2012-07-30 01:24:51 +08: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
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
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
Henrik Brix Andersen
ab9ffe9c19 Expose --external-perimeter-speed in the GUI. #556 2012-07-23 09:43:59 +02:00
Henrik Brix Andersen
a5d683a9b9 Retire unused class variable 'fields'. 2012-07-22 15:23:42 +02:00
Henrik Brix Andersen
9486a629b3 Fix speling. 2012-07-22 15:06:56 +02:00
Alessandro Ranellucci
c7bc9bed46 Workaround for a perl 5.10 bug about leaked scalars. #503 2012-07-21 14:45:45 +02:00
Alessandro Ranellucci
e71472e5d7 Remove debugging statements 2012-07-20 14:41:27 +02:00
Henrik Brix Andersen
52fb02f29d Turn nozzle count printf into debugf statement 2012-07-19 23:31:47 +02:00
Henrik Brix Andersen
35e6420ff5 Make the configuration wizard work on the first extruder. 2012-07-19 22:56:38 +02:00
Alessandro Ranellucci
30a2213fd9 Some multi-extruder options in GUI 2012-07-18 20:44:36 +02:00
Henrik Brix Andersen
9137a6b41e Queue a repaint when changing options page, fixes repaint issue on wxMSW. 2012-07-18 19:19:07 +02:00
Alessandro Ranellucci
2495a77c0f Add to GUI the setting for support material extrusion width. Also, populate %Groups with new options 2012-07-18 18:15:18 +02:00
Alessandro Ranellucci
b209eab712 Bugfix: the delete button was deleting the wrong preset 2012-07-18 16:17:23 +02:00
Alessandro Ranellucci
f173096a6c Merge branch 'new-gui'
Conflicts:
	lib/Slic3r.pm
	lib/Slic3r/Config.pm
	lib/Slic3r/GUI/OptionsGroup.pm
	lib/Slic3r/GUI/SkeinPanel.pm
	lib/Slic3r/Print.pm
2012-07-18 15:48:04 +02:00
Alessandro Ranellucci
2d17a94a38 Prevent the left treectrl to grow if preset names are too long 2012-07-18 12:00:19 +02:00
Henrik Brix Andersen
c25a31ef98 Avoid SVG slicing interfering with repeating last quick slice. 2012-07-17 23:51:57 +02:00
Henrik Brix Andersen
bd16366d62 Default to "No" when prompting about discarding unsaved changes. 2012-07-17 23:24:21 +02:00
Henrik Brix Andersen
82cfc7c3d6 Check for unsaved presets before interactively loading an existing config file. 2012-07-17 23:16:58 +02:00
Henrik Brix Andersen
a6da019fc6 Adhere to various human interface guidelines. 2012-07-16 18:34:44 +02:00
Henrik Brix Andersen
fda21bd6f2 Only set $last_skein_dir from Plater, not $last_skein_file, to avoid interfering with Quick Slice. 2012-07-16 00:28:15 +02:00
Henrik Brix Andersen
b24e0370dd Remove unused argument. 2012-07-15 23:59:50 +02:00
Henrik Brix Andersen
da7a668c94 Remove confirmation dialog on plate slicing done, request user attention instead. #537 2012-07-15 23:57:31 +02:00
Henrik Brix Andersen
a2a35f47f6 Convert Slic3r::GUI::notify() from class method to instance method. 2012-07-15 23:36:18 +02:00
Henrik Brix Andersen
9f3031a069 Remove Quick Slice button, move update text to statusbar. 2012-07-15 23:06:07 +02:00
Henrik Brix Andersen
102aea4531 Sync message dialog title with SkeinPanel.pm changes. 2012-07-15 22:53:32 +02:00
Henrik Brix Andersen
c35b57fb0b Add spacer for correctly aligning top text under wxGTK. 2012-07-15 22:44:52 +02:00
Henrik Brix Andersen
314772b314 Improve message dialog texts a bit. 2012-07-15 22:25:04 +02:00
Henrik Brix Andersen
8042d5d701 Add borders to toolbar and list view. 2012-07-15 22:14:34 +02:00
Henrik Brix Andersen
0ab7e7ad7f Show icons above text in toolbar. 2012-07-15 20:11:49 +02:00
Henrik Brix Andersen
bd77c33919 Add sunken border to tree controls. 2012-07-15 20:05:57 +02:00
Alessandro Ranellucci
23fd8de1f5 Warn user if supplied preset name is not valid 2012-07-15 18:55:01 +02:00
Alessandro Ranellucci
b37a77ee63 Apply command line options to GUI 2012-07-15 18:37:00 +02:00
Alessandro Ranellucci
9210c708fc Compatibility with --load and new GUI 2012-07-15 17:55:58 +02:00
Henrik Brix Andersen
e228b834e2 Retire the 'important' flag for options now that we have a configuration wizard. 2012-07-15 16:37:59 +02:00