Commit Graph

890 Commits

Author SHA1 Message Date
Alessandro Ranellucci
ac2b6de62b Minor addition to OpenGL code to prevent darker models 2014-12-13 20:56:22 +01:00
Alessandro Ranellucci
16945dad70 💄 2014-12-13 20:47:59 +01:00
Alessandro Ranellucci
d1f58cbed5 Objects can be selected in 3D preview now. Double click and right click work as well 2014-12-13 20:41:03 +01:00
Alessandro Ranellucci
b0aa1260e2 Bugfix: wxComboBox left blank after menu item selection on MSW due to an undocumented wxWidgets issue. #2361 2014-12-13 15:40:42 +01:00
Alessandro Ranellucci
360dee862b Keep model objects aligned to Z = 0 in plater 2014-12-12 22:43:56 +01:00
Alessandro Ranellucci
b28fb2ef17 Bugfix: objects were not aligned to Z = 0 before exporting STL from plater. #2393 2014-12-12 22:43:56 +01:00
Alessandro Ranellucci
baf070a36d Bugfix: workaround for MSW wxWidgets not drawing the slider 2014-12-12 12:34:40 +01:00
Alessandro Ranellucci
829bd7378e Remove the Rotate... button from Windows as well, like for other operating systems 2014-12-10 17:34:59 +01:00
Alessandro Ranellucci
80c38b0113 Remember window size and position. #1253 #2251 2014-12-08 22:05:26 +01:00
Alessandro Ranellucci
2d243a39ff Bugfix: crash when deleting objects from plater with toolpaths preview open. #2389 2014-12-07 20:23:00 +01:00
Alessandro Ranellucci
95f7bcb9fe Removed Toolpaths Preview menu item. #2385 2014-12-01 21:06:21 +01:00
Alessandro Ranellucci
c9e896c669 Display validation errors in status bar when background processing couldn't generate toolpaths 2014-12-01 00:15:45 +01:00
Alessandro Ranellucci
04bcb410a9 Minor GUI improvements to toolpaths preview 2014-12-01 00:10:32 +01:00
Alessandro Ranellucci
98c67007d5 Finished bb103122065cddf8f8ea63f5e4fce954142c4d4c 2014-12-01 00:00:12 +01:00
Alessandro Ranellucci
076d82d8d6 Fixed regression causing the plater Split command not to remove objects from the model. #2380 2014-12-01 00:00:11 +01:00
Alessandro Ranellucci
80adf9e5d0 Open the settings dialog instead of the cut dialog when user double clicks on objects in plater 2014-12-01 00:00:11 +01:00
Alessandro Ranellucci
e8f242ee3f Move toolpaths preview to the plater dialog 2014-12-01 00:00:11 +01:00
Alessandro Ranellucci
7a7d00c8d6 Rename solid_fill_pattern to external_fill_pattern and clarify tooltip 2014-11-27 00:38:05 +01:00
Alessandro Ranellucci
ff9b53260d New experimental feature for pressure management. Credits to @llluis for the original implementation. #1203 #1677 #2018 2014-11-24 18:22:39 +01:00
Alessandro Ranellucci
399fc519e6 Leave the Spiral Vase checkbox always enabled but prompt user when incompatible options are set. This should be more user-friendly than blindly disabling the Spiral Vase checkbox. #2360 2014-11-22 22:52:12 +01:00
Alessandro Ranellucci
989ec5cf4d Fixes to UTF-8 handling in file paths 2014-11-22 21:55:45 +01:00
Alessandro Ranellucci
049859e5b1 Fixed minor regression in plater 2D canvas 2014-11-22 19:42:35 +01:00
Alessandro Ranellucci
33fe53fd7c Ported three PrintObject methods to XS 2014-11-13 00:34:56 +01:00
Alessandro Ranellucci
f8986d0ef5 Restore correct behavior for autoarrange after recent commits 2014-11-13 00:23:31 +01:00
Alessandro Ranellucci
875035c09e Minor improvement to plater: select/drag uppermost object when user clicks on overlapping objects 2014-11-13 00:16:41 +01:00
Alessandro Ranellucci
334086d605 Bugfix: skirt and brim were not recalculated when objects where just moved in plater 2014-11-12 23:28:42 +01:00
Alessandro Ranellucci
9a4e8f39af Refactoring: move split logic in a single place (ModelObject class) 2014-11-12 22:36:03 +01:00
Alessandro Ranellucci
b8ef6c6c26 Bugfix: choice fields were not populated correctly in object and part settings 2014-11-08 15:42:23 +01:00
Alessandro Ranellucci
0a351fe47d Fix rendering issue of slider controls on Linux 2014-11-08 14:47:05 +01:00
Alessandro Ranellucci
c1d2c4e457 Bugfix: Z depth issues in 3D preview on Linux. #2197 2014-11-08 14:37:37 +01:00
Alessandro Ranellucci
24d67c42c6 Bugfix: configuration wizard was broken. #2210 2014-09-23 20:00:51 +02:00
Alessandro Ranellucci
321b70115b Bugfix: changes in extruder count in GUI were not propagating to the rest of the GUI 2014-09-21 15:29:52 +02:00
Alessandro Ranellucci
d8bb0bff7f Bugfix: reprocess brim and skirt after changing number of copies 2014-09-21 10:56:51 +02:00
Alessandro Ranellucci
9daadd1fb6 Removed debugging line 2014-09-21 10:53:00 +02:00
Alessandro Ranellucci
73b3c06361 Ported more things to XS 2014-09-21 10:51:36 +02:00
Alessandro Ranellucci
678112b926 Bugfix: spiral vase checkbox couldn't be disabled under some circumstances 2014-08-08 17:18:41 +02:00
Alessandro Ranellucci
f260373336 Bugfix: GUI options weren't enabled/disabled upon preset change 2014-08-08 01:40:34 +02:00
Alessandro Ranellucci
380dd8adfc Ported some methods to XS 2014-08-03 18:41:09 +02:00
Alessandro Ranellucci
3e2799a4ee Bugfix: unexpected result when cutting a scaled object 2014-08-03 10:51:01 +02:00
Alessandro Ranellucci
f462af20f9 Visual preview for bed shape dialog 2014-08-03 00:20:55 +02:00
Alessandro Ranellucci
9f7734abeb Prevent warnings when zooming on uninitialized 3D canvas 2014-07-26 17:15:47 +02:00
Alessandro Ranellucci
06d700989f Allow configuration of G-code origin for rectangular bed shape 2014-07-25 00:13:12 +02:00
Alessandro Ranellucci
7aaf27c0c7 Put skirt outside brim to avoid conflicts. #2157 2014-07-24 23:43:19 +02:00
Alessandro Ranellucci
86bad17abb Display skirt and brim in toolpaths preview. Also take support material margin into account when sizing the window. #2169 2014-07-24 18:32:07 +02:00
Alessandro Ranellucci
f67b863e64 Fixed minor regression in cut dialog 2014-07-23 13:06:22 +02:00
Alessandro Ranellucci
16a3d29a1d Correct Z positioning of multiple objects in 3D plater 2014-07-16 17:06:58 +02:00
Alessandro Ranellucci
983cf09ee5 Display bed shape in 3D plater 2014-07-15 21:58:03 +02:00
Alessandro Ranellucci
aa723db39b Fixed recursion in background processing 2014-07-15 19:13:38 +02:00
Alessandro Ranellucci
28f9278963 Minor fixes to 3D preview 2014-07-14 11:58:00 +02:00
Alessandro Ranellucci
4617188790 Round print center coordinates to integer in 2D plater canvas 2014-07-13 12:36:37 +02:00
Alessandro Ranellucci
da4d6cbabb 3D preview of plater 2014-07-13 12:10:34 +02:00
Alessandro Ranellucci
670ffcf4be Show section lines in cut preview 2014-07-12 17:35:17 +02:00
Alessandro Ranellucci
a34c7c76c4 Nicer 3D colors and lighting 2014-07-12 17:06:42 +02:00
Alessandro Ranellucci
212558acd4 Typo 2014-07-12 12:16:24 +02:00
Alessandro Ranellucci
edc7fd2915 Fix pausing when background process is scheduled but wasn't started yet 2014-07-12 11:52:19 +02:00
Alessandro Ranellucci
b8a629f0b6 Select last appended part in object parts panel 2014-07-12 11:46:03 +02:00
Alessandro Ranellucci
f428888dd9 Fixed deadlocks in background processing 2014-07-12 11:41:18 +02:00
Alessandro Ranellucci
6a91b2fa52 Removed the "Combine STL files into multi-material AMF file" command since it's not needed anymore thanks to the new object editor dialog 2014-07-12 11:22:27 +02:00
Alessandro Ranellucci
aacc01a56f Store object and volume names in the new 'name' property instead of relying on material id 2014-07-12 11:20:57 +02:00
Alessandro Ranellucci
f82a8475a1 Use AMF object and volume metadata for handling per-object and per-volume settings 2014-07-11 20:09:01 +02:00
Alessandro Ranellucci
2ca0d4627a Refresh 2D plater canvas when window is resized (did not update on GTK) 2014-07-04 12:13:39 +02:00
Alessandro Ranellucci
b926079fd5 Enlarge the Z slider in the cut dialog 2014-07-04 12:04:42 +02:00
Alessandro Ranellucci
bd03747dc1 Added button for toolpaths preview 2014-07-04 10:32:32 +02:00
Alessandro Ranellucci
f0a57a83fd Proper handling of interlaced layers in toolpaths preview 2014-07-04 01:04:07 +02:00
Alessandro Ranellucci
2632b2b30e Include support material in toolpaths preview 2014-07-04 01:04:07 +02:00
Alessandro Ranellucci
16281cc0c3 Fix toolpaths preview when objects have distinct layer heights 2014-07-04 01:04:07 +02:00
Alessandro Ranellucci
bfa1e04991 Don't use wxStaticBox objects as parents. #2150 2014-07-03 17:12:47 +02:00
Alessandro Ranellucci
907de1011f Toolpaths preview 2014-07-03 09:24:19 +02:00
Alessandro Ranellucci
d8b1eff62f Enable min_fan_speed and disable_fan_first_layers when fan_always_on is checked 2014-07-01 21:58:57 +02:00
Alessandro Ranellucci
d9dc2fda00 Fixed regression causing variable layer heights to be ignored. #2136
Conflicts:

	xs/xsp/my.map
2014-07-01 19:49:15 +02:00
Alessandro Ranellucci
65dbf75a54 Fixed background processing with multiple worker threads 2014-07-01 19:00:23 +02:00
Alessandro Ranellucci
710568b989 Initialize controls status when loading cut window 2014-07-01 18:22:19 +02:00
Alessandro Ranellucci
fd4ab04d76 Minor adjustment in tooltip 2014-07-01 18:19:13 +02:00
Alessandro Ranellucci
a06fad9e13 Enable/disable GUI controls according to the others in order to guide the user through option dependency 2014-07-01 18:18:23 +02:00
Alessandro Ranellucci
04b67f0cb0 Refactored OptionsGroup class for cleaner OOP model and cleaner event model 2014-07-01 16:42:12 +02:00
Alessandro Ranellucci
cc4a5412ae Fix regression in Quick Slice and Slice to SVG 2014-06-27 17:21:41 +02:00
Alessandro Ranellucci
adf3d615bd Fix Print preset being dirty at load time 2014-06-25 11:45:39 +02:00
Alessandro Ranellucci
b9e8fbacb7 Put the Default Extruder option in a less confusing position 2014-06-19 20:07:16 +02:00
Alessandro Ranellucci
95c121f4c7 Minor improvement, reuse context 2014-06-19 10:29:03 +02:00
Alessandro Ranellucci
89b2fbbae0 Bugfix: prevent the "bad drawable" error when showing the OpenGL canvas. #2015 #2099 2014-06-19 10:28:14 +02:00
Alessandro Ranellucci
41de95fd27 Fix the Change Scale toolbar button 2014-06-19 10:28:14 +02:00
Alessandro Ranellucci
3173e11e1f Bugfix: object steps were incorrectly invalidated. #2102 2014-06-17 20:33:29 +02:00
Alessandro Ranellucci
ba55592bdf Added non-uniform scaling commands to the plater 2014-06-17 00:50:44 +02:00
Alessandro Ranellucci
afb7e675b8 Set preset dirty after setting bed shape 2014-06-17 00:30:44 +02:00
Alessandro Ranellucci
abf38d4027 Add support for custom bed shapes 2014-06-17 00:27:22 +02:00
Alessandro Ranellucci
9053cdca5d Fix harmless typo 2014-06-17 00:02:43 +02:00
Alessandro Ranellucci
928335f186 Removed print_center option (but left --print-center from CLI) 2014-06-16 23:58:45 +02:00
Alessandro Ranellucci
4d8ecccc5e Add support for circular bed 2014-06-16 23:36:31 +02:00
Alessandro Ranellucci
7cc0bce97d Merge branch 'bedshape' 2014-06-16 22:57:04 +02:00
Alessandro Ranellucci
d6d796fdd4 Finished implementing bed shape configuration within wizard 2014-06-16 22:45:13 +02:00
Alessandro Ranellucci
db031a6210 Incomplete work for adapting wizard to bed_shape 2014-06-16 20:11:52 +02:00
Alessandro Ranellucci
998a4225de Finished implementation of bed_shape in plater 2014-06-16 15:18:39 +02:00
Alessandro Ranellucci
7a20c4d52a More incomplete work for using bed_shape in plater 2014-06-16 14:05:22 +02:00
Alessandro Ranellucci
f4e4640c73 Liquid resizing of plater 2014-06-16 02:00:13 +02:00
Alessandro Ranellucci
4fe2128fc4 Initial work for custom bed shape 2014-06-16 01:49:49 +02:00
Mark Hindess
d961970828 Add missing use for dirname. 2014-06-14 22:54:57 +01:00
Alessandro Ranellucci
57a9486692 Apply transform to meshes before displaying the 3D preview canvas 2014-06-14 22:51:57 +02:00
Alessandro Ranellucci
707dd8db86 Prevent crash when trying to export G-code from menu and there are no objects 2014-06-14 22:40:37 +02:00
Alessandro Ranellucci
87383250de Fix regression in cut 2014-06-14 22:36:49 +02:00
Alessandro Ranellucci
182c5eb809 Show contextual menu when right-clicking on a plater object 2014-06-14 21:36:28 +02:00
Alessandro Ranellucci
e9910a2c0b XYZ mirroring from plater 2014-06-14 21:14:33 +02:00
Alessandro Ranellucci
ec7bb40da9 Rotation around X and Y axes from plater 2014-06-14 20:52:21 +02:00
Alessandro Ranellucci
51cf78534c Stop background process when removing objects from the plater 2014-06-14 20:26:53 +02:00
Alessandro Ranellucci
301771e275 Refactored menu creation 2014-06-14 20:26:46 +02:00
Alessandro Ranellucci
d5f6804386 Fixed window size with --no-plater 2014-06-14 20:03:57 +02:00
Alessandro Ranellucci
3d8c8fa46e Import wxTheApp 2014-06-14 19:59:59 +02:00
Alessandro Ranellucci
ddac2d1570 Merged SkeinPanel into MainFrame 2014-06-14 19:54:18 +02:00
Alessandro Ranellucci
93b9116565 Move wxFrame definition to a new Slic3r::GUI::MainFrame class 2014-06-14 19:11:04 +02:00
Alessandro Ranellucci
de6291d8f2 New Object menu with shortcuts to all plater operations 2014-06-14 18:58:56 +02:00
Alessandro Ranellucci
829bfeabe8 Suspend background processes while writing to shared data structures 2014-06-13 23:27:52 +02:00
Alessandro Ranellucci
a1bcbea816 Use async timer everywhere 2014-06-13 20:36:45 +02:00
Alessandro Ranellucci
4d76d05bbb Refactoring: better API for Print/Object steps with explicit dependencies 2014-06-13 20:05:18 +02:00
Alessandro Ranellucci
d896ad090b Fixed concurrency issues 2014-06-13 19:23:51 +02:00
Alessandro Ranellucci
a35ab2f4ee Added an option for enabling/disabling background processing 2014-06-13 15:54:13 +02:00
Alessandro Ranellucci
a0674714b1 More work for background processing 2014-06-13 14:27:55 +02:00
Alessandro Ranellucci
d9e7a50a6e Partial work for background processing 2014-06-13 11:19:53 +02:00
Alessandro Ranellucci
3f6360ee8f Finish porting Print classes to XS 2014-06-10 16:01:57 +02:00
Alessandro Ranellucci
ba8148f4ad Merge branch 'printcpp' of github.com:sapir/Slic3r into sapir-printcpp
Conflicts:
	lib/Slic3r/GCode.pm
	lib/Slic3r/Print.pm
	lib/Slic3r/Print/Object.pm
	lib/Slic3r/Print/Region.pm
2014-06-10 14:46:40 +02:00
Alessandro Ranellucci
e3e69251cb New XY Size Compensation option. #581 #56 2014-06-10 13:28:57 +02:00
Alessandro Ranellucci
3599bd0bae Distinct extrusion width for external perimeters 2014-06-09 21:22:15 +02:00
Alessandro Ranellucci
defe0a4279 Move 2D canvas to a distinct class for better isolation 2014-05-28 12:29:43 +02:00
Alessandro Ranellucci
e62672f787 Fix regression in Split from GUI. Might be related to #1998 2014-05-26 13:10:58 +02:00
Y. Sapir
8da0bded1d Move Print object storage to C++. (along with its subobjects) 2014-05-24 23:50:29 +03:00
Alessandro Ranellucci
88a2e5c791 Typo seal -> seam :-) 2014-05-24 22:10:28 +02:00
Alessandro Ranellucci
a3bd1b5302 New seal_position option that replaces randomize_start, start_perimeters_at_concave_points and start_perimeters_at_non_overhang. The two latter options are now always on by default. A new "Aligned" seal position value has been added, that forces starting points to be aligned when not randomized. #1741 #925 2014-05-22 19:34:49 +02:00
Alessandro Ranellucci
8ca352eb62 Separate speed option for support material interface. #2009 2014-05-21 15:21:20 +02:00
Alessandro Ranellucci
a8b6e32767 Gracefully handle loading config files having empty strings for multi-value options (like wipe). #2003 2014-05-21 11:38:42 +02:00
Alessandro Ranellucci
85b0a4376a Use last extruder's settings when adding new ones. #1997 2014-05-20 23:37:17 +02:00
Alessandro Ranellucci
0ba685f556 Fix regression causing config validation to be ignored when using the Export G-code button in plater. #2046 2014-05-20 23:29:43 +02:00
Alessandro Ranellucci
3f29a9292a Remove unused method SkeinPanel::init_print() 2014-05-18 18:47:16 +02:00
Alessandro Ranellucci
ad99b2a0fd Fixed one more regression introduced with Model refactoring. Includes regression test 2014-05-15 16:37:18 +02:00
Alessandro Ranellucci
baefefc50d One method call not changed after Model refactoring 2014-05-12 22:42:50 +02:00
Alessandro Ranellucci
27c73f5983 Some fixes after the recent Model refactoring 2014-05-10 16:59:17 +02:00
Alessandro Ranellucci
7ba08c90cf Refactoring to Model API for making it stricter and safer 2014-05-09 14:24:35 +02:00
Alessandro Ranellucci
093d1cbe2f Don't transfer ownership of Model to Print::Object 2014-05-07 01:11:49 +02:00
Alessandro Ranellucci
13af16ea24 Use Pointf for origin_translation and pass const refs whenever possible 2014-05-07 00:58:29 +02:00
Y. Sapir
05b2993769 Translate Model class' storage to C++.
Some code copied from xs-model branch.

Also:
* Generate ::Ref classes programatically.
* Add separate __REGISTER_CLASS macro
    (for use where forward declaration won't work, i.e. typedefs)
2014-05-05 16:30:19 +03:00
Alessandro Ranellucci
fc3a73afe8 Make OpenGL::Array thread-safe, thus fixing the crash after the cut dialog is closed in threaded perl 2014-05-02 13:13:13 +02:00
Alessandro Ranellucci
ed1c6d1aaa Removed debugging line 2014-04-29 23:17:01 +02:00
Petr Ledvina
78a08e0665 Commented out test (breakpoint) line 2014-04-29 22:55:10 +02:00
Alessandro Ranellucci
a4b6075600 Fixed regression and ambiguity about multiple-value placeholders like [first_layer_temperature_1]. Includes several unit tests covering regression. #1899 2014-04-29 17:06:31 +02:00
Alessandro Ranellucci
0b0ec7be37 Fixed regression causing bad loading of multi-extruder values in GUI. #1984 2014-04-28 22:31:29 +02:00
Alessandro Ranellucci
2738a304e8 Update credits. Mention Gary Hodgson, Petr Ledvinap, Y. Sapir 2014-04-27 20:04:02 +02:00
Alessandro Ranellucci
ce9cf4d964 Don't put supports under bridges and potential bridges 2014-04-26 17:19:50 +02:00
Alessandro Ranellucci
2a2ba15665 Use a slider for the cutting GUI 2014-04-25 18:36:08 +02:00
Alessandro Ranellucci
8db4913b04 New option for rotating the lower part resulting from the cut so that the flat surface lies on the print bed 2014-04-25 17:50:03 +02:00
Alessandro Ranellucci
4f17c2b7d1 First working implementation of a GUI for cutting 2014-04-25 17:14:39 +02:00
Alessandro Ranellucci
882a98ed44 Initial work for a GUI for the cut feature 2014-04-25 14:54:08 +02:00
Alessandro Ranellucci
5d10ef514f Workaround wxWidgets not allowing SetValue() inside a EVT_COMBOBOX handler on Windows. #1865 2014-04-19 18:42:52 +02:00
Alessandro Ranellucci
a49e786b04 Handle EVT_TEXT on wxSpinCtrl too 2014-04-19 18:29:40 +02:00