mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user