mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-26 10:14:26 +08:00
Minor fix to BridgeDetector
This commit is contained in:
parent
21ea100d0e
commit
a0dda36df0
@ -496,7 +496,8 @@ sub process_external_surfaces {
|
|||||||
$angle = $bridge_detector->angle;
|
$angle = $bridge_detector->angle;
|
||||||
|
|
||||||
if (defined $angle && $self->object->config->support_material) {
|
if (defined $angle && $self->object->config->support_material) {
|
||||||
$self->bridged->append($_) for @{ $bridge_detector->coverage_by_angle($angle) };
|
$self->bridged->append(Slic3r::ExPolygon->new($_))
|
||||||
|
for @{ $bridge_detector->coverage_by_angle($angle) };
|
||||||
$self->unsupported_bridge_edges->append($_) for @{ $bridge_detector->unsupported_edges };
|
$self->unsupported_bridge_edges->append($_) for @{ $bridge_detector->unsupported_edges };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -40,6 +40,7 @@ class LayerRegion
|
|||||||
|
|
||||||
// collection of expolygons representing the bridged areas (thus not
|
// collection of expolygons representing the bridged areas (thus not
|
||||||
// needing support material)
|
// needing support material)
|
||||||
|
// (this could be just a Polygons object)
|
||||||
ExPolygonCollection bridged;
|
ExPolygonCollection bridged;
|
||||||
|
|
||||||
// collection of polylines representing the unsupported bridge edges
|
// collection of polylines representing the unsupported bridge edges
|
||||||
|
Loading…
x
Reference in New Issue
Block a user