Refactored version without voxel grid, init commit

This commit is contained in:
PavelMikus 2022-06-17 12:11:12 +02:00
parent 51d738c564
commit 30f072457f
3 changed files with 517 additions and 2 deletions
src/libslic3r

View file

@ -431,7 +431,7 @@ void PrintObject::find_supportable_issues()
TriangleSelectorWrapper selector { model_volume->mesh() };
for (const SupportableIssues::SupportPoint &support_point : issues.supports_nedded) {
selector.enforce_spot(Vec3f(inv_transform.cast<float>() * support_point.position), 2.0f);
selector.enforce_spot(Vec3f(inv_transform.cast<float>() * support_point.position), 0.5f);
}
model_volume->supported_facets.set(selector.selector);