- fixed some issues in panelize and cncjob Tcl commands

- reversed the mirroring axis in the `mirror` Tcl command to be consistent with the action in GUI
This commit is contained in:
Marius Stanciu
2022-02-01 22:09:14 +02:00
committed by Marius
parent 52a0efb62e
commit b1f038dd52
7 changed files with 12 additions and 14 deletions

View File

@@ -106,6 +106,8 @@ class TclCommandMirror(TclCommandSignaled):
if 'axis' in args:
try:
axis = args['axis'].upper()
# fix so the Tcl command works just like in GUI
axis = 'X' if axis == 'Y' else 'Y'
except KeyError:
axis = 'Y'
else: