NEW: move selected model to the center of selected plate

Change-Id: I7af49e98e83f5eef690f7d30d10a2cc240046466
This commit is contained in:
tao.jin 2022-09-08 18:55:26 +08:00 committed by Lane.Wei
parent 62da568e0b
commit 31ba41ec3e
11 changed files with 99 additions and 1 deletions

View file

@ -262,6 +262,7 @@ public:
void add_curr_plate();
void remove_curr_plate();
void clone(int numbers = 1);
void center();
void set_printable(bool printable);
void add_all();
@ -330,6 +331,7 @@ public:
bool is_dragging() const { return m_dragging; }
void translate(const Vec3d& displacement, bool local = false);
void move_to_center(const Vec3d& displacement, bool local = false);
void rotate(const Vec3d& rotation, TransformationType transformation_type);
void flattening_rotate(const Vec3d& normal);
void scale(const Vec3d& scale, TransformationType transformation_type);