mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 07:03:59 -06:00
More work for refactoring Flow/Extruder
This commit is contained in:
parent
8ed738d3f7
commit
a2cbb261cb
10 changed files with 48 additions and 21 deletions
|
@ -17,7 +17,7 @@ sub fill_surface {
|
|||
my $rotate_vector = $self->infill_direction($surface);
|
||||
$self->rotate_points($expolygon, $rotate_vector);
|
||||
|
||||
my $flow = $params{flow};
|
||||
my $flow = $params{flow} or die "No flow supplied to fill_surface()";
|
||||
my $min_spacing = $flow->scaled_spacing;
|
||||
my $line_spacing = $min_spacing / $params{density};
|
||||
my $line_oscillation = $line_spacing - $min_spacing;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue