diff options
author | bubnikv <bubnikv@gmail.com> | 2016-11-18 01:22:59 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2016-11-18 01:22:59 +0300 |
commit | 79f5a16536150bf045a1327f5ab5c3c9d58f4390 (patch) | |
tree | 0387728813a0180bd5eec1686b9a7362f2670a98 /t | |
parent | 2085a482c76d88bfbb7ed8b5c598ff9f7ed8788f (diff) |
Reverted the perimeter generator to not save the perimeter areas.
These could be calculated from the fill areas if needed.
On the other side, the non-classified (non-split) fill areas are stored
now for use in the "ensure vertical wall thickness" feature,
also the non-split fill areas are re-used when recalculating the infills.
This is safer than trying to stitch the fill region together from the
classified fragments.
Modified the "ensure vertical wall thickness" feature to use the non-split
fill areas instead of perimeter areas for the calculation
of non-supported regions. This is cheaper as the fill areas contain
roughly half the edges.
Diffstat (limited to 't')
-rw-r--r-- | t/perimeters.t | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/t/perimeters.t b/t/perimeters.t index 8e815b215..47b844887 100644 --- a/t/perimeters.t +++ b/t/perimeters.t @@ -34,7 +34,7 @@ use Slic3r::Test; expolygon => $_, )) for @$expolygons; - my ($region_config, $object_config, $print_config, $loops, $gap_fill, $perimeter_surfaces, $fill_surfaces); + my ($region_config, $object_config, $print_config, $loops, $gap_fill, $fill_surfaces); my $g = Slic3r::Layer::PerimeterGenerator->new( # input: $slices, @@ -47,7 +47,6 @@ use Slic3r::Test; # output: ($loops = Slic3r::ExtrusionPath::Collection->new), ($gap_fill = Slic3r::ExtrusionPath::Collection->new), - ($perimeter_surfaces = Slic3r::Surface::Collection->new), ($fill_surfaces = Slic3r::Surface::Collection->new), ); $g->config->apply_dynamic($config); |