mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-11 03:01:49 +08:00
Populate ExtrusionPath::height correctly in case of bridge
This commit is contained in:
parent
d781371d66
commit
cf4119e169
@ -368,7 +368,7 @@ sub _traverse_loops {
|
|||||||
role => EXTR_ROLE_OVERHANG_PERIMETER,
|
role => EXTR_ROLE_OVERHANG_PERIMETER,
|
||||||
mm3_per_mm => $self->_mm3_per_mm_overhang,
|
mm3_per_mm => $self->_mm3_per_mm_overhang,
|
||||||
width => $self->overhang_flow->width,
|
width => $self->overhang_flow->width,
|
||||||
height => $self->layer_height,
|
height => $self->overhang_flow->height,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,6 +32,7 @@ Flow::new_from_spacing(float spacing, float nozzle_diameter, float height, bool
|
|||||||
if (height <= 0 && !bridge) CONFESS("Invalid flow height supplied to new_from_spacing()");
|
if (height <= 0 && !bridge) CONFESS("Invalid flow height supplied to new_from_spacing()");
|
||||||
|
|
||||||
float w = Flow::_width_from_spacing(spacing, nozzle_diameter, height, bridge);
|
float w = Flow::_width_from_spacing(spacing, nozzle_diameter, height, bridge);
|
||||||
|
if (bridge) height = w;
|
||||||
return Flow(w, height, nozzle_diameter, bridge);
|
return Flow(w, height, nozzle_diameter, bridge);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user