Hollowing: merge meshes of holes with igl (intersecting holes)

This commit is contained in:
Lukas Matena 2020-02-04 13:02:58 +01:00
parent 58b5e75a9c
commit 808cf2e38a

View File

@ -143,7 +143,7 @@ void SLAPrint::Steps::drill_holes(SLAPrintObject &po)
holes_mesh.merge(sla::to_triangle_mesh(holept.to_mesh()));
holes_mesh.require_shared_vertices();
MeshBoolean::cgal::self_union(holes_mesh); //FIXME-fix and use the cgal version
MeshBoolean::self_union(holes_mesh);
try {
MeshBoolean::cgal::minus(hollowed_mesh, holes_mesh);