Page 1 of 1

G68/G69 rotation code and toolpath view

PostPosted: Tue May 23, 2017 5:43 am
by shad
Hello Balazs!
Is it possible to rotate objects in the ToolPathView on the G68/G69 code?
Now the color of the DRO changes to red, but I think it's will be great to rotate objects in the toolpathview too.
Thank you!

Re: G68/G69 rotation code and toolpath view

PostPosted: Tue May 23, 2017 7:40 am
by cncdrive
Hi Andrew,

Yes, the toolpath view is rotated with G68/G69, but ofcourse if you just execute a G68/G69 e.g. from an MDI then that will not rotate the toolpath view,
the toolpath view rotation is done only when the g-code file is loaded, because a rotation may require to redraw even all the g-code file, so redrawing the toolpath is often a time consuming operation.
So, rotation of the drawing does not happen in realtime, it happens when you load the g-code file.
But the rotation calculation of the path happens in realtime. So, you have to reload the file if you change the rotation and want to see it on the toolpath view.
I will attach 2 printscreens to let you see. It is the same code, but one is rotated with 45° with a G68.

Re: G68/G69 rotation code and toolpath view

PostPosted: Tue May 23, 2017 7:41 am
by cncdrive
And the rotated code.

Re: G68/G69 rotation code and toolpath view

PostPosted: Tue May 23, 2017 8:03 am
by shad
Thank you Balazs! It's worked. I am just call Button #555.