mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 07:34:03 -06:00
New option for rotating the lower part resulting from the cut so that the flat surface lies on the print bed
This commit is contained in:
parent
4f17c2b7d1
commit
8db4913b04
5 changed files with 59 additions and 10 deletions
|
@ -161,6 +161,21 @@ void TriangleMesh::translate(float x, float y, float z)
|
|||
stl_translate_relative(&(this->stl), x, y, z);
|
||||
}
|
||||
|
||||
void TriangleMesh::rotate_x(float angle)
|
||||
{
|
||||
stl_rotate_x(&(this->stl), angle);
|
||||
}
|
||||
|
||||
void TriangleMesh::rotate_y(float angle)
|
||||
{
|
||||
stl_rotate_y(&(this->stl), angle);
|
||||
}
|
||||
|
||||
void TriangleMesh::rotate_z(float angle)
|
||||
{
|
||||
stl_rotate_z(&(this->stl), angle);
|
||||
}
|
||||
|
||||
void TriangleMesh::align_to_origin()
|
||||
{
|
||||
this->translate(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue