mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 01:37:53 -06:00
3mf Importer - 1st installment
This commit is contained in:
parent
893201d3d9
commit
475f892413
10 changed files with 1058 additions and 7 deletions
|
@ -375,6 +375,15 @@ void TriangleMesh::mirror_z()
|
|||
this->mirror(Z);
|
||||
}
|
||||
|
||||
void TriangleMesh::transform(const float* matrix3x4)
|
||||
{
|
||||
if (matrix3x4 == nullptr)
|
||||
return;
|
||||
|
||||
stl_transform(&stl, const_cast<float*>(matrix3x4));
|
||||
stl_invalidate_shared_vertices(&stl);
|
||||
}
|
||||
|
||||
void TriangleMesh::align_to_origin()
|
||||
{
|
||||
this->translate(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue