Commit Graph

2567 Commits

Author SHA1 Message Date
Alessandro Ranellucci
b6bd527bdc Apply bridge flow and speed to first layer as well, when we have raft layers. This behavior is more consistent when all the other bottom surfaces lying on the void (thus on support material). #2301 2014-11-07 17:17:20 +01:00
Alessandro Ranellucci
f07c4ecadb Typo. #2339 2014-11-07 14:25:07 +01:00
Alessandro Ranellucci
fb2d84b5d3 Bugfix: double G10 and G11 commands were issued. #2320 2014-11-07 00:26:39 +01:00
Alessandro Ranellucci
9372abb51e Fixed regression in min_skirt_length. Includes regression test. #2337 2014-11-06 21:11:59 +01:00
Alessandro Ranellucci
06385221a3 Make .ini parser more tolerant to whitespace 2014-11-06 21:08:55 +01:00
Alessandro Ranellucci
30b0869595 Bugfix: crash when slicing one layer objects with sailfish G-code flavor. Includes regression test. #2335 2014-11-06 21:06:09 +01:00
Alessandro Ranellucci
11bd1e68e2 Fixed some regressions in retracts and wipe. Includes regression test 2014-11-05 01:16:26 +01:00
Alessandro Ranellucci
268de5c8e5 More refactoring to GCode.pm: make writer() public and fix usage of Slic3r::GCode without a Slic3r::Layer object 2014-10-28 21:47:09 +01:00
Alessandro Ranellucci
a38ec14cb1 Some minor refactoring and cleaning to the travel_to() method and new init_external_mp() method 2014-10-27 10:34:51 +01:00
Alessandro Ranellucci
ed17c22889 Minor cleanup of imported symbols 2014-10-25 11:15:12 +02:00
Alessandro Ranellucci
e29569a2cd Minor cleanup and refactoring in Slic3r::GCode 2014-10-25 11:00:08 +02:00
Alessandro Ranellucci
36c1a9d20c Renamed shift_x and shift_y into origin 2014-10-25 10:56:21 +02:00
Alessandro Ranellucci
7f57f007cd Refactoring: moved Slic3r::GCode::Base to Slic3r::GCode::Writer 2014-10-25 10:42:07 +02:00
Alessandro Ranellucci
c2e710d092 Removed --g0 2014-10-21 21:41:11 +02:00
Alessandro Ranellucci
71ec90a1dd Finish porting the Extruder class to libslic3r 2014-10-21 20:36:52 +02:00
Alessandro Ranellucci
f82e92f498 Merge branch 'gcode-refactoring' 2014-10-21 20:20:28 +02:00
Alessandro Ranellucci
167df0ab87 Refactoring: moved most of the low-level G-code to the Slic3r::GCode::Base class. Cleanup of the retraction and wipe logic. 2014-10-21 20:16:45 +02:00
Alessandro Ranellucci
33edda0a69 Moved Slic3r::GCode::Base to its own file 2014-10-18 17:59:52 +02:00
Alessandro Ranellucci
f8967418b9 Refactoring: moved the ooze prevention logic into a separate class with hooks 2014-10-18 17:58:14 +02:00
Alessandro Ranellucci
e521475b7e Refactoring: moved some low-level G-code generation methods to the new Slic3r::GCode::Base class 2014-10-18 17:41:21 +02:00
Alessandro Ranellucci
e5aed3a63e Bump version number 2014-10-18 00:47:01 +02:00
Alessandro Ranellucci
39b41fda12 Bugfix: because of a typo, bridge acceleration wasn't applied anymore. #2296 2014-10-15 00:23:58 +02: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
16b6cdcd6e Fix failing tests 2014-09-21 14:53:33 +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
5a96bad8c2 Ported some more methods to C++ 2014-08-08 21:48:59 +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
43b1aabb60 Fix truncated octahedrons. #1646 2014-08-08 14:16:41 +02:00
Alessandro Ranellucci
45fc748011 Fix truncated octahedrons. #1646 2014-08-08 13:28:24 +02:00
Alessandro Ranellucci
3920a7e8b6 Apply G92 E0 after G11. #2201 2014-08-08 03:23:34 +02:00
Alessandro Ranellucci
956dd319e0 Bugfix: wrong collision check in concentric infill. #2194 2014-08-08 03:16:19 +02:00
Alessandro Ranellucci
2d0b27abed Bugfix: 3D honeycomb infill wasn't correctly aligned among skewed layers. #2194 2014-08-08 03:13:45 +02:00
Alessandro Ranellucci
d5eb6b7be0 Use bridge flow for 3D honeycomb 2014-08-08 02:59:05 +02:00
Alessandro Ranellucci
66b57a84de Move away from truncated octahedrons 2014-08-08 02:53:56 +02:00
Alessandro Ranellucci
703ca8b413 Bugfix: 3D honeycomb didn't honor Infill every layers. #2194 2014-08-08 02:33:18 +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
c0a6b1a9cc Bugfix: enabling/disabling support material didn't cause skirt to be recalculated 2014-08-08 01:37:39 +02:00
Alessandro Ranellucci
2449b22f76 Releasing 1.2.0 2014-08-04 12:43:18 +02:00
Alessandro Ranellucci
1fa99b8d3e Typo 2014-08-04 11:47:15 +02:00
Alessandro Ranellucci
b10917806a Ported some Model methods to XS 2014-08-03 20:33:16 +02:00
Alessandro Ranellucci
7ff13c063f Port PrintRegion::flow() and LayerRegion.flow() to XS 2014-08-03 19:17:23 +02:00
Alessandro Ranellucci
380dd8adfc Ported some methods to XS 2014-08-03 18:41:09 +02:00
Alessandro Ranellucci
1813a309a7 Cleanup duplicated M204 commands. #2183 2014-08-03 16:31:20 +02:00
Alessandro Ranellucci
e897fbbd51 Only consider used extruders when limiting layer height. #2175 2014-08-03 11:49:00 +02:00
Alessandro Ranellucci
6f3bd72aeb Fix crash when exporting SVG with support material. #2188 2014-08-03 11:35:18 +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
3ff613d166 Merge branch 'acp-voronoi'
Conflicts:
	xs/xsp/my.map
2014-07-26 22:38:35 +02:00
Alessandro Ranellucci
9f7734abeb Prevent warnings when zooming on uninitialized 3D canvas 2014-07-26 17:15:47 +02:00
Alessandro Ranellucci
53f2d6bb4b New 3D Honeycomb infill pattern (credits: David Eccles (gringer)). #1646 2014-07-26 17:07:43 +02:00
Alessandro Ranellucci
d508be5ae8 Refactoring: moved direction-specific methods to new role class Slic3r::Fill::WithDirection 2014-07-26 16:28:38 +02:00
Alessandro Ranellucci
d68192749f Bugfix: seam_position = aligned/nearest didn't work correctly for hi-res models. #2156
Conflicts:

	lib/Slic3r/GCode.pm
2014-07-25 12:04:33 +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
79d55efa0e Relax collision checks when Detect thin walls is disabled 2014-07-23 15:18:57 +02:00
Alessandro Ranellucci
f67b863e64 Fixed minor regression in cut dialog 2014-07-23 13:06:22 +02:00
Alessandro Ranellucci
71209711b3 Bugfix: ignore only_retract_when_crossing_perimeters when fill_density = 0 2014-07-23 00:57:31 +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
d9f5fdae72 Bugfix: make_perimeters() was not truly idempotent because prepare_infill() split ->slices into typed surfaces 2014-07-15 19:07: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
bcc8e356b2 Merge perimeters of adjacent regions having the same perimeter settings 2014-07-12 15:28:21 +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
f590bbb430 Fix crash with modifier meshes not spanning the entire height of solid meshes 2014-07-12 10:38:19 +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
4d67f902b6 Fixed parsing of AMF material metadata 2014-07-11 19:48:03 +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
07f8fb1264 Prevent concurrency issues by blocking until background threads are killed 2014-07-04 12:12:15 +02:00
Alessandro Ranellucci
b926079fd5 Enlarge the Z slider in the cut dialog 2014-07-04 12:04:42 +02:00
Alessandro Ranellucci
d416766d90 Fix scaled model objects causing a test to fail 2014-07-04 10:45:29 +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
ba37a8fb79 Handle legacy configs 2014-06-16 22:56:28 +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
1b625753ab Fix tests 2014-06-14 00:06:49 +02:00
Alessandro Ranellucci
e24b3a8916 Merge branch 'call_get_layer' of github.com:sapir/Slic3r into sapir-call_get_layer
Conflicts:
	lib/Slic3r/Print.pm
2014-06-14 00:05:24 +02:00
Y. Sapir
a837e26f51 Translate PlaceholderParser::apply_config to C++. 2014-06-14 00:01:52 +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
08047c11eb Minor fixes to make_skirt and make_brim 2014-06-13 20:18:34 +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
Y. Sapir
a168973bea Call get_layer instead of layers->[] (more efficient now that layers() recreates the array). 2014-06-13 18:46:14 +03:00
Alessandro Ranellucci
b9de65e174 Removed warning 2014-06-13 16:18:00 +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
97231327e0 Have Print::apply_config() return true if any step was invalidated 2014-06-12 09:29:26 +02:00
Alessandro Ranellucci
5e80d7a388 Readd use strict and use warnings 2014-06-12 09:23:10 +02:00
Alessandro Ranellucci
6194cbf530 Refactoring: new method in Flow for calculating spacing between extrusions having different width 2014-06-12 09:17:37 +02:00
Alessandro Ranellucci
8ee11b3239 Refactoring: keep height in Flow object and calculate spacing on demand 2014-06-12 01:00:13 +02:00
Alessandro Ranellucci
89ff1a50b2 Removed debugging line 2014-06-11 22:20:59 +02:00