mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 01:37:53 -06:00
Bugfix: extrusion width setting for support material was only affecting the path spacing but not the actual flow. #666
This commit is contained in:
parent
36796645cb
commit
bb5f00cf0c
5 changed files with 6 additions and 5 deletions
|
@ -18,7 +18,7 @@ sub fill_surface {
|
|||
my $min_spacing = scale $params{flow_spacing};
|
||||
my $distance = $min_spacing / $params{density};
|
||||
|
||||
my $flow_spacing;
|
||||
my $flow_spacing = $params{flow_spacing};
|
||||
if ($params{density} == 1) {
|
||||
$distance = $self->adjust_solid_spacing(
|
||||
width => $bounding_box->[X2] - $bounding_box->[X1],
|
||||
|
|
|
@ -94,7 +94,8 @@ sub fill_surface {
|
|||
paths => [ map Slic3r::ExtrusionPath->pack(polyline => $_, role => -1), @paths ],
|
||||
);
|
||||
|
||||
return {}, map $_->polyline, $collection->shortest_path;
|
||||
return { flow_spacing => $params{flow_spacing} },
|
||||
map $_->polyline, $collection->shortest_path;
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
|
@ -60,7 +60,7 @@ sub fill_surface {
|
|||
# paths must be rotated back
|
||||
$self->rotate_points_back(\@paths, $rotate_vector);
|
||||
|
||||
return {}, @paths;
|
||||
return { flow_spacing => $params{flow_spacing} }, @paths;
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
|
@ -22,7 +22,7 @@ sub fill_surface {
|
|||
my $distance_between_lines = $min_spacing / $params{density};
|
||||
my $line_oscillation = $distance_between_lines - $min_spacing;
|
||||
|
||||
my $flow_spacing;
|
||||
my $flow_spacing = $params{flow_spacing};
|
||||
if ($params{density} == 1) {
|
||||
$distance_between_lines = $self->adjust_solid_spacing(
|
||||
width => $bounding_box->[X2] - $bounding_box->[X1],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue