kcjengr / qtpyvcp

QtPyVCP - Qt and Python based Virtual Control Panel framework for LinuxCNC.
https://www.qtpyvcp.com
Other
88 stars 48 forks source link

VTK - does not rendering rotation correctly from load #134

Open joco-nz opened 8 months ago

joco-nz commented 8 months ago

VTK will correctly render rotation when starting from a rotation of zero, loading in the gcode then applying the rotation (15 degrees in thius example).

When rotation already exists in the wcs and a gcode file is loaded it will render the rotation as an over rotation. It appears to be double the rotation. i.e. 15 degree in wcs is rendered as 30 degrees.

Example when loading and applying the rotation from R0 to R15 rot-15-degree-from-R0

Example where wcs already has R15 in palce. The open gcode has been closed or linuxcnc restarted and the new gcode is loaded. rot-15-degree-alreadyinplacefromload