mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-12 03:42:25 +00:00
Fixed convex hull of sla supports
This commit is contained in:
1 parent
d6a203613d
commit
02a22ba991
1 file changed
-1
@@ -696,7 +696,6 @@ void GLVolumeCollection::load_object_auxiliary(
|
|||||||
mesh.transform(mesh_trafo_inv);
|
mesh.transform(mesh_trafo_inv);
|
||||||
// Convex hull is required for out of print bed detection.
|
// Convex hull is required for out of print bed detection.
|
||||||
TriangleMesh convex_hull = mesh.convex_hull_3d();
|
TriangleMesh convex_hull = mesh.convex_hull_3d();
|
||||||
convex_hull.transform(mesh_trafo_inv);
|
|
||||||
for (const std::pair<size_t, size_t> &instance_idx : instances) {
|
for (const std::pair<size_t, size_t> &instance_idx : instances) {
|
||||||
const ModelInstance &model_instance = *print_object->model_object()->instances[instance_idx.first];
|
const ModelInstance &model_instance = *print_object->model_object()->instances[instance_idx.first];
|
||||||
const SLAPrintObject::Instance &print_instance = print_object->instances()[instance_idx.second];
|
const SLAPrintObject::Instance &print_instance = print_object->instances()[instance_idx.second];
|
||||||
|
|||||||
Reference in new issue
Block a user