mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 10:47:50 -06:00
XYZ mirroring from plater
This commit is contained in:
parent
ec7bb40da9
commit
e9910a2c0b
7 changed files with 84 additions and 2 deletions
|
@ -206,6 +206,18 @@ sub _init_menubar {
|
|||
$plater->rotate(undef, Z);
|
||||
});
|
||||
|
||||
my $flipMenu = Wx::Menu->new;
|
||||
$self->{object_menu}->AppendSubMenu($flipMenu, "Flip…", 'Mirror the selected object');
|
||||
$self->_append_menu_item($flipMenu, "Along X axis…", 'Mirror the selected object along the X axis', sub {
|
||||
$plater->flip(X);
|
||||
});
|
||||
$self->_append_menu_item($flipMenu, "Along Y axis…", 'Mirror the selected object along the Y axis', sub {
|
||||
$plater->flip(Y);
|
||||
});
|
||||
$self->_append_menu_item($flipMenu, "Along Z axis…", 'Mirror the selected object along the Z axis', sub {
|
||||
$plater->flip(Z);
|
||||
});
|
||||
|
||||
$self->_append_menu_item($self->{object_menu}, "Scale…", 'Scale the selected object by an arbitrary factor', sub {
|
||||
$plater->changescale;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue