mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 12:29:00 +08:00
Prefer starting points that are NOT in overhangs
This commit is contained in:
parent
d074b98aba
commit
df4612a209
@ -156,7 +156,7 @@ sub extrude_loop {
|
||||
# find candidate starting points
|
||||
# start looking for concave vertices not being overhangs
|
||||
my @concave = $loop->polygon->concave_points;
|
||||
my @candidates = grep Boost::Geometry::Utils::point_covered_by_multi_polygon($_, $self->_layer_overhangs),
|
||||
my @candidates = grep !Boost::Geometry::Utils::point_covered_by_multi_polygon($_, $self->_layer_overhangs),
|
||||
@concave;
|
||||
if (!@candidates) {
|
||||
# if none, look for any concave vertex
|
||||
|
Loading…
x
Reference in New Issue
Block a user