mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-05 13:04:03 -06:00
Detection of optimal infill direction for bridges. Includes many fixes and improvements.
This commit is contained in:
parent
1cb515a8e5
commit
743f2abcf2
18 changed files with 445 additions and 68 deletions
|
@ -21,7 +21,7 @@ sub fill_surface {
|
|||
my $polygons = [ $surface->p ];
|
||||
|
||||
# rotate polygons so that we can work with vertical lines here
|
||||
my $rotate_vector = $self->infill_direction($polygons);
|
||||
my $rotate_vector = $self->infill_direction($surface);
|
||||
$self->rotate_points($polygons, $rotate_vector);
|
||||
|
||||
my $distance_between_lines = $Slic3r::flow_width / $Slic3r::resolution / $params{density};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue