UNFINISHED!
refactoring of algorithm to bottom up propagation of support islands Added CentroidAccumulators for balance issues checking
This commit is contained in:
parent
f0bdf2760c
commit
d9bd1080da
3 changed files with 192 additions and 55 deletions
src/libslic3r
|
@ -429,8 +429,8 @@ void PrintObject::find_supportable_issues()
|
|||
Transform3d inv_transform = (obj_transform * model_transformation).inverse();
|
||||
TriangleSelectorWrapper selector { model_volume->mesh() };
|
||||
|
||||
for (const Vec3f &support_point : issues.supports_nedded) {
|
||||
selector.enforce_spot(Vec3f(inv_transform.cast<float>() * support_point), 0.3f);
|
||||
for (const SupportableIssues::SupportPoint &support_point : issues.supports_nedded) {
|
||||
selector.enforce_spot(Vec3f(inv_transform.cast<float>() * support_point.position), 0.3f);
|
||||
}
|
||||
|
||||
model_volume->supported_facets.set(selector.selector);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue