mirror of https://github.com/vitalif/Slic3r
Previous commit about bridge spacing was incomplete
parent
a81377d684
commit
86f5cb8654
|
@ -152,6 +152,7 @@ sub make_fill {
|
||||||
$surface,
|
$surface,
|
||||||
density => $density,
|
density => $density,
|
||||||
flow_spacing => $flow_spacing,
|
flow_spacing => $flow_spacing,
|
||||||
|
dont_adjust => $is_bridge,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
my $params = shift @paths;
|
my $params = shift @paths;
|
||||||
|
|
|
@ -19,7 +19,7 @@ sub fill_surface {
|
||||||
my $distance = $min_spacing / $params{density};
|
my $distance = $min_spacing / $params{density};
|
||||||
|
|
||||||
my $flow_spacing = $params{flow_spacing};
|
my $flow_spacing = $params{flow_spacing};
|
||||||
if ($params{density} == 1) {
|
if ($params{density} == 1 && !$params{dont_adjust) {
|
||||||
$distance = $self->adjust_solid_spacing(
|
$distance = $self->adjust_solid_spacing(
|
||||||
width => $bounding_box->[X2] - $bounding_box->[X1],
|
width => $bounding_box->[X2] - $bounding_box->[X1],
|
||||||
distance => $distance,
|
distance => $distance,
|
||||||
|
|
|
@ -23,7 +23,7 @@ sub fill_surface {
|
||||||
my $line_oscillation = $distance_between_lines - $min_spacing;
|
my $line_oscillation = $distance_between_lines - $min_spacing;
|
||||||
|
|
||||||
my $flow_spacing = $params{flow_spacing};
|
my $flow_spacing = $params{flow_spacing};
|
||||||
if ($params{density} == 1) {
|
if ($params{density} == 1 && !$params{dont_adjust}) {
|
||||||
$distance_between_lines = $self->adjust_solid_spacing(
|
$distance_between_lines = $self->adjust_solid_spacing(
|
||||||
width => $bounding_box->[X2] - $bounding_box->[X1],
|
width => $bounding_box->[X2] - $bounding_box->[X1],
|
||||||
distance => $distance_between_lines,
|
distance => $distance_between_lines,
|
||||||
|
|
Loading…
Reference in New Issue