mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 22:05:53 +08:00
Solve mini pillar widening by enforcing min radius on bed points
Use subtree rescue after all
This commit is contained in:
parent
ebb8f9bc80
commit
58acc893b3
@ -150,7 +150,7 @@ public:
|
|||||||
<< " " << j.pos.y() << " " << j.pos.z();
|
<< " " << j.pos.y() << " " << j.pos.z();
|
||||||
|
|
||||||
// Discard all the support points connecting to this branch.
|
// Discard all the support points connecting to this branch.
|
||||||
discard_subtree(j.id);
|
discard_subtree_rescure(j.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
const std::vector<size_t>& unroutable_pinheads() const
|
const std::vector<size_t>& unroutable_pinheads() const
|
||||||
@ -336,6 +336,9 @@ void create_branching_tree(SupportTreeBuilder &builder, const SupportableMesh &s
|
|||||||
float(props.ground_level()),
|
float(props.ground_level()),
|
||||||
props.sampling_radius());
|
props.sampling_radius());
|
||||||
|
|
||||||
|
for (auto &bp : bedpts)
|
||||||
|
bp.Rmin = sm.cfg.head_back_radius_mm;
|
||||||
|
|
||||||
branchingtree::PointCloud nodes{std::move(meshpts), std::move(bedpts),
|
branchingtree::PointCloud nodes{std::move(meshpts), std::move(bedpts),
|
||||||
std::move(leafs), props};
|
std::move(leafs), props};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user