mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 07:03:59 -06:00
Refactoring: keep height in Flow object and calculate spacing on demand
This commit is contained in:
parent
9bff6ccde7
commit
8ee11b3239
7 changed files with 86 additions and 73 deletions
|
@ -704,7 +704,7 @@ sub make_skirt {
|
|||
bridge_flow_ratio => 0,
|
||||
);
|
||||
my $spacing = $flow->spacing;
|
||||
my $mm3_per_mm = $flow->mm3_per_mm($first_layer_height);
|
||||
my $mm3_per_mm = $flow->mm3_per_mm;
|
||||
|
||||
my @extruders_e_per_mm = ();
|
||||
my $extruder_idx = 0;
|
||||
|
@ -763,7 +763,7 @@ sub make_brim {
|
|||
layer_height => $first_layer_height,
|
||||
bridge_flow_ratio => 0,
|
||||
);
|
||||
my $mm3_per_mm = $flow->mm3_per_mm($first_layer_height);
|
||||
my $mm3_per_mm = $flow->mm3_per_mm;
|
||||
|
||||
my $grow_distance = $flow->scaled_width / 2;
|
||||
my @islands = (); # array of polygons
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue