Use of bounding box of rotated 3D convex hull for out of print volume detection
This commit is contained in:
@@ -1491,6 +1491,7 @@ namespace Slic3r {
|
||||
|
||||
stl_get_size(&stl);
|
||||
volume->mesh.repair();
|
||||
volume->calculate_convex_hull();
|
||||
|
||||
// apply volume's name and config data
|
||||
for (const Metadata& metadata : volume_data.metadata)
|
||||
|
||||
@@ -406,6 +406,7 @@ void AMFParserContext::endElement(const char * /* name */)
|
||||
}
|
||||
stl_get_size(&stl);
|
||||
m_volume->mesh.repair();
|
||||
m_volume->calculate_convex_hull();
|
||||
m_volume_facets.clear();
|
||||
m_volume = nullptr;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user