Alessandro Ranellucci
5eade0f9e1
Don't validate the number of layers for infill combination, just limit it automatically. #993
2013-02-22 16:24:24 +01:00
Alessandro Ranellucci
91bcfc8a74
Remove $Slic3r::flow and $Slic3r::first_layer_flow
2013-02-22 16:08:11 +01:00
Alessandro Ranellucci
b9c84490b8
Get rid of most calls to $Slic3r::flow
2013-02-19 12:37:26 +01:00
Alessandro Ranellucci
6dc62d3cf2
Disable extra perimeters if fill density is zero as they wouldn't be supported by anything and would just float inside the object. infill_only_where_needed should be the method of choice for hollow objects
2013-02-19 12:37:26 +01:00
Mike Sheldrake
4d6f8a4fd4
added file combineinfill.t
2013-02-18 12:38:24 -08:00
Mike Sheldrake
c2f04f2861
avoid overlap of single layer and multilayer fill
...
A single-layer rectilinear or honeycomb fill under a low slope
wall/ceiling or extra perimeter will stick out from under the
overhang, because those fills get extended beyond their fill_surface
boundaries to purposely overlap perimeters. This causes interference
with multil-layer fills. This commit clips the single layer fill
boundaries a bit more where they interface with multi-layer fill
boundaries, to avoid overlap.
2013-02-18 07:26:19 -08:00
Mike Sheldrake
9a86edc70c
account for extrusion width when clearing layers for combined infill
...
Otherwise you get extraneous fill up against sloped walls in regions
of layers that should not have fill, like in #834 .
2013-02-16 07:53:47 -08:00
Mike Sheldrake
f46226b32f
regression test for combined infill #834
...
Guards against issue of slightly off-vertical walls triggering
extra infill on layers that should be empty when combining infill.
2013-02-16 06:51:24 -08:00
Alessandro Ranellucci
c9b506fa02
New simpler and more robust implementation of infill every 'n' layers
2013-02-10 12:40:43 +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
cf8cfc1380
Bugfix: angle threshold was considered even when enforcing support
2013-02-09 21:49:00 +01:00
Robert Giseburt
6c12bd32ad
Fix for Replicator 1 not finishing builds.
...
If the progress reaches 100% before last layer, the firmware erroneously stops reading the file.
2013-02-06 22:32:37 -06:00
Alessandro Ranellucci
26a3cd5542
Refactor chained_path(), add chained_path_items() and chained_path_points()
2013-02-06 12:03:53 +01:00
Alessandro Ranellucci
e593a30fc7
Skip support material for one-layer objects
2013-02-06 10:40:08 +01:00
Alessandro Ranellucci
e7139c514d
Rename shortest_path() in tests too. #980
2013-02-06 10:21:23 +01:00
Alessandro Ranellucci
4f91bed904
Optimize cycling in get_layer_range()
2013-02-05 21:59:18 +01:00
Alessandro Ranellucci
73a661e6c1
shortest_path() in MotionPlanner was actually correctly named shortest_path()
2013-02-05 19:41:56 +01:00
Alessandro Ranellucci
090e3b1fe3
Rename shortest_path to chained_path, which reflects its algorithm more correctly
2013-02-05 17:27:45 +01:00
Alessandro Ranellucci
11637d527a
Bugfix: avoid-crossing-perimeters was failing on layers only containing single walls. #978
2013-02-04 19:33:30 +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
c8100ed099
Disable randomize starting points by default
2013-02-04 15:05:56 +01:00
Alessandro Ranellucci
7d08796b0a
Remove sporadic duplicate useless lines. #772
2013-02-04 14:27:23 +01:00
Alessandro Ranellucci
3794d51cc7
Add unit test for polyline_lines
2013-02-04 14:21:59 +01:00
Alessandro Ranellucci
9222526e03
Customizable number of interface layers for support material and raft
2013-02-03 17:23:50 +01:00
Alessandro Ranellucci
acada05068
Merge branch 'raft'
2013-02-02 16:17:05 +01:00
Alessandro Ranellucci
c7b4d99d7e
Generate raft automatically even when support material is disabled
2013-02-02 16:16:43 +01:00
Alessandro Ranellucci
02c0f3658f
Use 50% density for support base flange
2013-02-02 15:37:09 +01:00
Alessandro Ranellucci
d3727a1699
Add ability to have cross-hatched rectilinear support material. #509
2013-02-02 00:14:45 +01:00
Alessandro Ranellucci
547dfb857d
Workaround for Boost clipping not being idempotent and causing lack of support material
2013-02-01 23:45:46 +01:00
Alessandro Ranellucci
eae1e7adc2
Make a solid base below support material on first layer
2013-02-01 22:13:12 +01:00
Alessandro Ranellucci
862900d9c1
Scale test coordinates to avoid truncation issues
2013-01-31 16:05:51 +01:00
Alessandro Ranellucci
1de0169910
Multithreaded perimeter generation. #154
2013-01-31 15:44:55 +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
a016a06fa6
Merge branch 'avoid-crossing-perimeters'
...
Conflicts:
lib/Slic3r/GCode.pm
2013-01-28 10:43:58 +01:00
Alessandro Ranellucci
e8cb1f4528
Slight addition to avoid_crossing_perimeters tooltip
2013-01-28 10:42:24 +01:00
Alessandro Ranellucci
4d70748723
Make tests happy about the new Boost::Geometry::Utils working with integers
2013-01-28 00:40:08 +01:00
Alessandro Ranellucci
721b61e798
Require Boost::Geometry::Utils 0.06
2013-01-28 00:34:09 +01:00
Alessandro Ranellucci
2963e54d21
Use the faster polygon_multi_linestring_intersection()
2013-01-28 00:32:19 +01:00
Alessandro Ranellucci
ae201c8f41
Optimization: avoid calculating square roots if not needed
2013-01-28 00:18:55 +01:00
Alessandro Ranellucci
6cb891f2db
Use Boost::Geometry::Utils for Douglas-Peucker
2013-01-28 00:09:19 +01:00
Alessandro Ranellucci
4c8c725eec
Add a wkt() method to ExPolygon
2013-01-28 00:02:34 +01:00
Alessandro Ranellucci
ddaeaa7591
Fix last_pos shifting and add unit test
2013-01-27 13:08:13 +01:00
Alessandro Ranellucci
50526dea5a
Fix last_pos shifting and add unit test
2013-01-27 13:06:45 +01:00
Alessandro Ranellucci
ad48fdc7f9
Fix external motionplanner too
2013-01-27 12:48:16 +01:00
Alessandro Ranellucci
f1230312e3
Fixes for merge issues
2013-01-26 23:55:47 +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
Mike Sheldrake
bc61656057
harmless misplaced semicolon
2013-01-26 09:31:28 -08:00
Mike Sheldrake
599d76b70b
avoid DBus related crash on Ubuntu #954
...
An undocumented feature of Net::DBus->session() is that it returns
the same connection object it creates the first time it's called for
all subsequent calls. Somehow this exposes us to a bug where unref()
is called on that object too many times, causing a segfault.
Undefining the cached object after we've used it once avoids this.
2013-01-25 12:29:44 -08:00