mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-13 05:19:06 +08:00
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
This commit is contained in:
commit
0ce730e79a
@ -4916,7 +4916,6 @@ void Plater::export_stl(bool extended, bool selection_only)
|
|||||||
supports_mesh = object->get_mesh(slaposSupportTree);
|
supports_mesh = object->get_mesh(slaposSupportTree);
|
||||||
supports_mesh.transform(mesh_trafo_inv);
|
supports_mesh.transform(mesh_trafo_inv);
|
||||||
}
|
}
|
||||||
|
|
||||||
const std::vector<SLAPrintObject::Instance>& obj_instances = object->instances();
|
const std::vector<SLAPrintObject::Instance>& obj_instances = object->instances();
|
||||||
for (const SLAPrintObject::Instance& obj_instance : obj_instances)
|
for (const SLAPrintObject::Instance& obj_instance : obj_instances)
|
||||||
{
|
{
|
||||||
@ -4948,7 +4947,7 @@ void Plater::export_stl(bool extended, bool selection_only)
|
|||||||
}
|
}
|
||||||
|
|
||||||
TriangleMesh inst_object_mesh = object->get_mesh_to_print();
|
TriangleMesh inst_object_mesh = object->get_mesh_to_print();
|
||||||
inst_object_mesh.translate(0.f, 0.f, -object->get_elevation());
|
inst_object_mesh.transform(mesh_trafo_inv);
|
||||||
inst_object_mesh.transform(inst_transform, is_left_handed);
|
inst_object_mesh.transform(inst_transform, is_left_handed);
|
||||||
|
|
||||||
mesh.merge(inst_object_mesh);
|
mesh.merge(inst_object_mesh);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user