inital phase of refactoring, segmentation should now build graph of connected sections
This commit is contained in:
parent
263e16ca92
commit
0a8f70c1ba
5 changed files with 620 additions and 17 deletions
src/libslic3r
|
@ -430,7 +430,7 @@ void PrintObject::generate_support_spots()
|
|||
Transform3f inv_transform = (obj_transform * model_transformation).inverse().cast<float>();
|
||||
TriangleSelectorWrapper selector { model_volume->mesh() };
|
||||
|
||||
for (const SupportSpotsGenerator::SupportPoint &support_point : issues.supports_nedded) {
|
||||
for (const SupportSpotsGenerator::SupportPoint &support_point : issues.support_points) {
|
||||
Vec3f point = Vec3f(inv_transform * support_point.position);
|
||||
Vec3f origin = Vec3f(
|
||||
inv_transform * Vec3f(support_point.position.x(), support_point.position.y(), 0.0f));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue