G68/G69 rotation code and toolpath view

If you have a question about the software please ask it here.

G68/G69 rotation code and toolpath view

Postby shad » Tue May 23, 2017 5:43 am

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!
-- Andrew
UC400ETH
UC300ETH-5LPT
NEURON Lite THC
http://neuroncnc.com/
shad
 
Posts: 331
Joined: Thu Sep 15, 2016 5:23 pm

Re: G68/G69 rotation code and toolpath view

Postby cncdrive » Tue May 23, 2017 7:40 am

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.
Attachments
tp_norm.png
cncdrive
Site Admin
 
Posts: 4695
Joined: Tue Aug 12, 2014 11:17 pm

Re: G68/G69 rotation code and toolpath view

Postby cncdrive » Tue May 23, 2017 7:41 am

And the rotated code.
Attachments
tp_rot45.png
cncdrive
Site Admin
 
Posts: 4695
Joined: Tue Aug 12, 2014 11:17 pm

Re: G68/G69 rotation code and toolpath view

Postby shad » Tue May 23, 2017 8:03 am

Thank you Balazs! It's worked. I am just call Button #555.
-- Andrew
UC400ETH
UC300ETH-5LPT
NEURON Lite THC
http://neuroncnc.com/
shad
 
Posts: 331
Joined: Thu Sep 15, 2016 5:23 pm


Return to Ask a question from support here

Who is online

Users browsing this forum: Bing [Bot] and 22 guests