mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-31 09:02:53 +00:00
Detection of optimal infill direction for bridges. Includes many fixes and improvements.
This commit is contained in:
@@ -16,7 +16,7 @@ sub fill_surface {
|
||||
|
||||
# rotate polygons so that we can work with vertical lines here
|
||||
my $polygons = [ $surface->p ];
|
||||
my $rotate_vector = $self->infill_direction($polygons);
|
||||
my $rotate_vector = $self->infill_direction($surface);
|
||||
$self->rotate_points($polygons, $rotate_vector);
|
||||
|
||||
my $bounding_box = [ Slic3r::Geometry::bounding_box(map @$_, $polygons) ];
|
||||
|
||||
Reference in New Issue
Block a user