UNFINISHED!

refactoring of algorithm to bottom up propagation of support islands
Added CentroidAccumulators for balance issues checking
This commit is contained in:
PavelMikus 2022-04-26 17:13:46 +02:00
parent f0bdf2760c
commit d9bd1080da
3 changed files with 192 additions and 55 deletions
src/libslic3r

View file

@ -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);