Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Turri <enricoturri@seznam.cz>2018-08-15 13:50:06 +0300
committerEnrico Turri <enricoturri@seznam.cz>2018-08-15 13:50:06 +0300
commit4d98d321996de6e6d036403c319b6ef044144dcd (patch)
treec46a910b2e397fc239e89fb18599a8e2234fdb21 /xs/src/libslic3r/Format/AMF.cpp
parent211790f8c35a7f950fddb95839a7b1009470a6ac (diff)
Use of bounding box of rotated 3D convex hull for out of print volume detection
Diffstat (limited to 'xs/src/libslic3r/Format/AMF.cpp')
-rw-r--r--xs/src/libslic3r/Format/AMF.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/xs/src/libslic3r/Format/AMF.cpp b/xs/src/libslic3r/Format/AMF.cpp
index 600aa6cd9..886bbae97 100644
--- a/xs/src/libslic3r/Format/AMF.cpp
+++ b/xs/src/libslic3r/Format/AMF.cpp
@@ -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;