mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 02:45:53 +08:00
Oops, moved it to a different class by mistake.
This commit is contained in:
parent
1e8cd3f199
commit
58f3290a93
@ -135,6 +135,8 @@ class Model
|
||||
/// \param point pointf object to center the model instances of model objects around
|
||||
void center_instances_around_point(const Pointf &point);
|
||||
|
||||
void align_instances_to_origin();
|
||||
|
||||
/// Translate each ModelObject with x, y, z units.
|
||||
/// \param x coordf_t units in the x direction
|
||||
/// \param y coordf_t units in the y direction
|
||||
@ -342,7 +344,6 @@ class ModelObject
|
||||
|
||||
/// Center the current ModelObject to origin by translating the ModelVolumes
|
||||
void center_around_origin();
|
||||
void align_instances_to_origin();
|
||||
|
||||
/// Translate the current ModelObject by translating ModelVolumes with (x,y,z) units.
|
||||
/// This function calls translate(coordf_t x, coordf_t y, coordf_t z) to translate every TriangleMesh in each ModelVolume.
|
||||
|
Loading…
x
Reference in New Issue
Block a user