Alessandro Ranellucci
2abf2be781
New testing framework
2012-11-21 20:41:14 +01:00
Alessandro Ranellucci
8ae96a8868
Only apply vibration limit to gaps fill while it's not very mature to work with long segments
2012-11-21 19:27:38 +01:00
Alessandro Ranellucci
fc399d60e2
Raise the miter limit to avoid squaring corners too easily. #801
2012-11-20 17:43:20 +01:00
Alessandro Ranellucci
cd892fdce8
Connect zigzag gaps fill paths to benefit from simplification
2012-11-19 18:57:42 +01:00
Alessandro Ranellucci
e91320e031
Fix rotation for threaded perls
2012-11-19 18:31:41 +01:00
Alessandro Ranellucci
124a1fd84e
Raise default frequency limit to 25Hz
2012-11-19 18:03:49 +01:00
Alessandro Ranellucci
de8a845d81
Disable retraction for support material
2012-11-19 18:03:20 +01:00
Alessandro Ranellucci
5678cd562c
Fix preview after rotation in plater
2012-11-19 17:39:16 +01:00
Alessandro Ranellucci
99c942b5ea
Merge branch 'vibration-limit'
2012-11-19 15:54:50 +01:00
Alessandro Ranellucci
3c7321ab80
Bugfix: some retractions between objects/copies were skipped. #786
2012-11-19 15:34:52 +01:00
Alessandro Ranellucci
300734db38
Emit M106 S0 instead of M107 for Teacup
2012-11-19 15:30:55 +01:00
Alessandro Ranellucci
183736dd9a
Infill flow for bottom layer was calculated incorrectly when first_layer_height != layer_height
2012-11-19 12:37:05 +01:00
Alessandro Ranellucci
de0640603a
Append full config when --gcode-comments is enabled
2012-11-18 19:53:52 +01:00
Alessandro Ranellucci
a66e8e547d
Apply Douglas-Peucker to all paths before generating G-code
2012-11-18 18:00:33 +01:00
Alessandro Ranellucci
e119cee66c
Don't emit warnings on unknown options
2012-11-18 17:42:52 +01:00
Alessandro Ranellucci
c99ff0cfe2
Apply Douglas-Peucker to all paths before generating G-code
2012-11-18 17:38:08 +01:00
Alessandro Ranellucci
08700aa942
Keep bridge flow unchanged even with the new overlapping spacing
2012-11-18 15:44:47 +01:00
Alessandro Ranellucci
427e3c1720
Keep bridge flow unchanged even with the new overlapping spacing
2012-11-18 15:42:59 +01:00
Alessandro Ranellucci
7a87a76391
Refactor frequency limit to avoid processing G-code
2012-11-18 15:28:13 +01:00
Alessandro Ranellucci
008633f013
Working implementation of frequency limit
2012-11-18 12:23:11 +01:00
Alessandro Ranellucci
f3164594eb
More incomplete work
2012-11-18 11:33:53 +01:00
Alessandro Ranellucci
72007c4f6a
Rewrite frequency limiting code
2012-11-17 18:07:13 +01:00
Alessandro Ranellucci
600e951fd8
Completed vibration limit
2012-11-17 12:08:19 +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
7310cec087
Remove one more unused line
2012-11-16 22:09:32 +01:00
Alessandro Ranellucci
ed50aefa71
Remove unused code
2012-11-16 22:08:14 +01:00
Alessandro Ranellucci
ac5be309e3
Do not call merge_continuous_lines() anymore
2012-11-16 19:20:46 +01:00
Alessandro Ranellucci
aff0898f35
Typo
2012-11-16 18:24:09 +01:00
Alessandro Ranellucci
86f5cb8654
Previous commit about bridge spacing was incomplete
2012-11-16 18:10:09 +01:00
Alessandro Ranellucci
a81377d684
Apply overlap factor to bridges too
2012-11-16 13:18:06 +01:00
Alessandro Ranellucci
1c2bc94d5a
Bugfix: only_retract_when_crossing_perimeters might cause some missed retractions when printing multiple copies of the same object. #786
2012-11-16 12:39:55 +01:00
Alessandro Ranellucci
a1a12ffe8e
Allow setting top-solid-layers and bottom-solid-layers to 0 independently
2012-11-16 12:37:47 +01:00
Alessandro Ranellucci
06b475a4ed
Clone last_pos before storing it otherwise it will be translated. #786
2012-11-16 11:05:45 +01:00
Alessandro Ranellucci
b625c3b2b2
Simplify gaps fills to avoid some shaking
2012-11-16 10:47:42 +01:00
Alessandro Ranellucci
a5a0f32e19
Expose all SLIC3R_* environment variables as placeholders. #781
2012-11-16 10:07:30 +01:00
Alessandro Ranellucci
580e36eb25
Raise offset scale factor back to 100000 now that Clipper was updated
2012-11-15 10:09:29 +01:00
Alessandro Ranellucci
d3629a3a44
Require Math::Clipper 1.15. #779
2012-11-13 11:53:02 +01:00
Alessandro Ranellucci
93bb2c1056
Bugfix: fatal error when using brim and no skirt. #784
2012-11-07 23:06:32 +01:00
Alessandro Ranellucci
2e3110d2e4
Possible (or at least partial) workaround for the current Clipper segfault. #779
2012-11-07 15:23:01 +01:00
Alessandro Ranellucci
2ef90562ce
Fixed regression causing first two layers to be infilled with parallel lines
2012-11-06 22:16:01 +01:00
Alessandro Ranellucci
e21c806ee9
New wkt() method for debugging
2012-11-06 20:31:50 +01:00
Alessandro Ranellucci
1db614a5a9
Revert "Use G92 to apply Z offset. #486 " #778
2012-11-06 20:04:44 +01:00
Alessandro Ranellucci
ab2b31672f
Fixed regression causing a long string between copies
2012-11-06 19:54:21 +01:00
Alessandro Ranellucci
0bff8ad576
Bugfix: some multimaterial files generated a fatal error
2012-11-05 15:59:31 +01:00
Alessandro Ranellucci
0a912c6316
Only apply min_skirt_length on bottom layer
2012-11-05 14:26:55 +01:00
Alessandro Ranellucci
68e1edab80
Require Math::Clipper 1.14 and increase scale factor for offset(). #720
2012-11-05 00:17:46 +01:00
Mark Hindess
705d6b3179
Quick fix for support material.
2012-11-02 22:39:08 +00:00
Alessandro Ranellucci
d67c07bd47
Fix typo causing incomplete honeycomb infill after recent refactoring
2012-11-01 18:32:35 +01:00
Alessandro Ranellucci
93a8391e18
Alternate gaps fill direction
2012-11-01 11:53:18 +01:00
Alessandro Ranellucci
37c0b45187
Detect gaps even after the desired number of perimeters has been generated
2012-11-01 11:51:52 +01:00
Alessandro Ranellucci
cb4ede7f9e
Do not pass the Print object to SVG::output anymore
2012-11-01 11:34:53 +01:00
Alessandro Ranellucci
554d10c854
Only put ExtrusionPath objects in ExtrusionPath::Collection (no ExtrusionLoop objects)
2012-10-31 19:08:29 +01:00
Alessandro Ranellucci
d4ccd39ad3
Minor code cleanup
2012-10-30 15:53:01 +01:00
Alessandro Ranellucci
92ab53868e
Remove unused methods
2012-10-30 15:49:11 +01:00
Alessandro Ranellucci
44d91774a6
Get rid of useless Slic3r::Fill instances
2012-10-30 15:38:17 +01:00
Alessandro Ranellucci
cec7bf815c
Get rid of the ExtrusionLoop objects in concentric filler
2012-10-30 15:29:13 +01:00
Alessandro Ranellucci
20e73face2
Get rid of max_print_dimension in filler objects
2012-10-30 15:09:54 +01:00
Alessandro Ranellucci
6c97e588b1
Don't require the print object in filler objects
2012-10-30 14:34:41 +01:00
Alessandro Ranellucci
5943114574
Only take layer_id instead of layer in filler objects
2012-10-30 14:25:48 +01:00
Alessandro Ranellucci
61047f0df5
Define perimeter/infill overlap over spacing instead of width and increase it slightly to compensate
2012-10-30 14:21:59 +01:00
Alessandro Ranellucci
610862a97f
Use the actual flow spacing for clipping concentric loops
2012-10-30 14:17:30 +01:00
Alessandro Ranellucci
0a5016a509
Cleaner usage of the PI constant
2012-10-30 14:15:48 +01:00
Alessandro Ranellucci
25d88bddff
Remove the change_layer method
2012-10-30 14:11:32 +01:00
Alessandro Ranellucci
52ed2c6ea4
Make flow_spacing required for ExtrusionLoop objects too
2012-10-30 14:07:50 +01:00
Alessandro Ranellucci
be7e211bb6
Make flow_spacing required for ExtrusionPath objects
2012-10-30 14:07:01 +01:00
Alessandro Ranellucci
37637c34f5
Refactor shortest_path
2012-10-30 13:59:33 +01:00
Alessandro Ranellucci
4c6fe0b3d4
Fixed regression preventing lift to work correctly
2012-10-30 10:45:55 +01:00
Alessandro Ranellucci
887634e1e2
Use G92 to apply Z offset. #486
2012-10-29 19:54:04 +01:00
Alessandro Ranellucci
709cbc1c15
Fixed regression causing support material generation to fail under threaded perls
2012-10-29 19:38:40 +01:00
Alessandro Ranellucci
df4dcf0534
Move by 30° instead of 45° when completing an external loop. #186
2012-10-29 11:21:41 +01:00
Alessandro Ranellucci
9b94a661d9
Fixed regression causing too much clipping at the endpoints of loops
2012-10-29 11:20:27 +01:00
Alessandro Ranellucci
e9ae62a9d1
New --min-skirt-length option. #269
2012-10-29 11:17:57 +01:00
Alessandro Ranellucci
c25e54a830
Expose perimeter/infill/support material extrusion widths in G-code comments
2012-10-29 00:31:25 +01:00
Alessandro Ranellucci
f2389682b6
Factor out some hard-coded settings
2012-10-29 00:23:33 +01:00
Alessandro Ranellucci
1ecadc10fb
Fixed regression causing one perimeter to be generated even when perimeters where set to 0. #759
2012-10-28 19:27:54 +01:00
Alessandro Ranellucci
8da4151c6d
Fix regression causing skirt to be printed at Z = 0 after a recent commit
2012-10-28 19:24:24 +01:00
Alessandro Ranellucci
c57e94c065
Experimental feature: make a little move inwards by 45° after finishing the external perimeter and before retracting. #186
2012-10-28 19:15:34 +01:00
Alessandro Ranellucci
ecd054a57c
Don't emit T0 at the beginning of the file, so that it's generated automatically just right before starting the print
2012-10-28 17:29:01 +01:00
Alessandro Ranellucci
935173047a
Allow [print_center_X] and [print_center_Y] syntax for all coordinates settings (including bed_center etc.) and [temperature_0], [temperature_1] etc. for all index-based settings
2012-10-28 17:23:35 +01:00
Alessandro Ranellucci
ccb49a8439
Do a slightly thinner interface layer at the top of support material structures by taking into account the diameter of bridge extrudates (nophead's idea)
2012-10-28 16:59:20 +01:00
Alessandro Ranellucci
b5bd216f5c
Do not combine infill for bottom layer
2012-10-28 14:23:47 +01:00
Alessandro Ranellucci
f35cdef2aa
Renamed ExtrusionPath->depth_layers to height
2012-10-28 14:22:51 +01:00
Alessandro Ranellucci
2796041a6c
Bugfix: --top-solid-layers was ignored. #769
2012-10-28 12:52:53 +01:00
Alessandro Ranellucci
deea02b444
Descriptive textual feedback for cooling settings
2012-10-28 12:43:41 +01:00
Alessandro Ranellucci
f9b6caaecb
Bugfix, last commit was incomplete
2012-10-28 12:22:30 +01:00
Alessandro Ranellucci
a0fe93e8cf
Bugfix: sometimes first layer extrusion width was not applied
2012-10-28 10:28:40 +01:00
Alessandro Ranellucci
49916b6178
Revert 2bcac88683
by setting the scale factor manually to 1. #720
2012-10-27 22:09:22 +02: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
f9e20db156
Update t/dynamic.t
2012-10-27 21:20:32 +02:00
Alessandro Ranellucci
b0f24a2666
Bugfix: unnecessary tool changes were generated when using the same tool for subsequent parts
2012-10-25 18:49:59 +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
31c2e50fc6
Bugfix: bed temperature wasn't being set after the first layer when first layer bed temperature was set to zero. #760
2012-10-24 22:57:19 +02:00
Alessandro Ranellucci
50f6909475
Don't apply slowdown factor to bridges. #640
2012-10-24 22:55:03 +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
304676b6aa
Use XML::SAX::ExpatXS if available
2012-10-24 20:36:32 +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
355031fe2f
Remove unnecessary retractions
2012-10-24 19:38:18 +02:00
Alessandro Ranellucci
44016b38c5
Distribute skirt loops across all extruders
2012-10-24 19:13:40 +02:00
Alessandro Ranellucci
f0d2b0e5ea
Avoid overlapping regions (thanks Mike Sheldrake!). #726
2012-10-24 16:46:40 +02:00
Alessandro Ranellucci
1c50c8a401
Merge branch 'dynamic-flow'
2012-10-24 16:19:13 +02:00
Alessandro Ranellucci
6beaf5e597
New faster algorithm for filling gaps, while we work on a new medial axis implementation
2012-10-24 16:17:09 +02:00
Alessandro Ranellucci
1445820673
External perimeter first on bottom layer when brim is enabled. #761
2012-10-24 12:04:44 +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
19e77a28a1
Merge branch 'master' into dynamic-flow
2012-10-24 10:55:57 +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
68c3a0dd61
Make arcs.t happy. #721
2012-10-22 14:08:27 +02:00
Alessandro Ranellucci
33b1970b95
Incomplete commit broke the plater on threaded perls
2012-10-22 14:02:58 +02:00
Alessandro Ranellucci
0990a9418c
Bugfix: honeycomb infill was overlapping too much with perimeters. #732
2012-10-22 13:38:37 +02:00
Alessandro Ranellucci
3c7785aaf3
Useless extra perimeters were generated sometimes. #444 #732
2012-10-22 13:21:11 +02:00
Alessandro Ranellucci
76f75db055
Always specify tool number in M104/M109 when printing with multiple extruders
2012-10-21 21:44:06 +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
149d9e737b
Merge pull request #721 from mesheldrake/parallel-degrees-limit
...
parallel_degrees_limit decreased, 3 to 0.1, #704
2012-10-15 02:48:16 -07:00
Alessandro Ranellucci
50161497f3
Merge pull request #720 from mesheldrake/increase-offset-scale
...
Increase scale factor for Clipper::offset
2012-10-15 02:47:16 -07:00
Alessandro Ranellucci
6b4f038d17
Update copies number when decreasing parts. #747
2012-10-15 10:59:54 +02:00
Alessandro Ranellucci
769134bb6f
Fixed regression causing skirt ignoring the first layer extrusion width override. #728
2012-10-15 10:57:15 +02:00
Alessandro Ranellucci
8ac367bfa7
If brim overlaps with skirt, make brim around skirt too instead of just ignoring skirt on first layer
2012-10-14 22:10:49 +02:00
Alessandro Ranellucci
b92642459f
Merge branch 'master' into dynamic-flow
...
Conflicts:
lib/Slic3r/Flow.pm
lib/Slic3r/Layer.pm
2012-10-04 15:23:19 +02:00
Alessandro Ranellucci
d1e0bcf113
Bugfix: tool numbers written in G-code were wrong
2012-10-01 18:22:35 +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
86e3508402
Add menu item pointing to documentation
2012-09-28 16:58:03 +02:00
Alessandro Ranellucci
22b312395a
Fix SVG/DLP support material. #673
2012-09-28 16:32:53 +02:00
Alessandro Ranellucci
c68862582c
Fix fatal error on empty layers caused by recent large refactorings
2012-09-28 15:48:32 +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
Alessandro Ranellucci
f50b0040ef
Bugfix: the grow() method wasn't working properly, causing bad brim/support material interface. #639
2012-09-28 15:27:33 +02:00
Alessandro Ranellucci
9ee9b54c73
Output an error if user tries to use 100% density with a non-solid fill pattern. #691
2012-09-28 14:13:06 +02:00
Alessandro Ranellucci
a49b045ce4
Do not call srand for each layer, to get better randomization of starting points. #694
2012-09-28 14:01:59 +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
Mike Sheldrake
5ee68aa916
$parallel_degrees_limit decreased, 3 to 0.1, #704
...
Geometry::lines_parallel() test used for collapsing adjacent colinear
lines was too loose in testing for colinearity, because of this constant
setting. Gradualy curving and high-res outer perimiters would
over-simplify into straight lines.
2012-09-27 06:14:54 -07:00
Mike Sheldrake
2bcac88683
Increase scale factor for Clipper::offset
...
A default scale of 1 was being calculated most of the time. That's too
low to avoid artifacts from offsetting concave curves. Setting scale to
a default of 100000 eliminates artifacts in the test cases in issues
#700 , #702 and #703 . There is a risk of large point proliferation with
this scale in combination with the JT_ROUND option, but in the four
places where that option is used, scale is already explicitly set to a
safer low value.
2012-09-27 05:50:54 -07:00
Alessandro Ranellucci
fd74577eae
Fix typo in previous commit
2012-09-24 21:00:26 +02:00
Alessandro Ranellucci
d8c192ae05
Fix fatal error caused by recent refactorings
2012-09-23 18:07:44 +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
bbe0a45b58
Optimization: cache scaled flow width and spacing
2012-09-23 03:03:08 +02:00
Alessandro Ranellucci
ec0d3987db
Rename materials to regions
2012-09-23 02:52:31 +02:00
Alessandro Ranellucci
e696764af8
Assign extruders and flows to materials
2012-09-23 02:40:25 +02:00
Alessandro Ranellucci
e2ab340edb
Fix positioning and other things
2012-09-22 21:03:57 +02:00
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
91e9f651b5
Bugfix: --avoid-crossing-perimeters was crashing when processing empty layers
2012-09-22 15:51:18 +02:00