Click on the ToolPathView event

If you created a new screenset and want to share it with others then please post it here. You can talk about screens here.

Click on the ToolPathView event

Postby shad » Tue Oct 18, 2016 8:34 am

Hello Balazs!
I have idea how to facilitate the plasma operator's work when we need to start cut from any points on the cutting path.
For example you have to cut line and start from middle. Operator click on the cut path in the ToolPathWiew (not precision, just on line or near). Software get position of the click and calculate the nearest point on the cut path. Then operator start program - torch move to this point on the path and start cutting.
Question - is it possible to have click on ToolPathView event (get coordinates of the click point) and have ability to link this point with cut path?
Thank you!
-- Andrew
UC400ETH
UC300ETH-5LPT
NEURON Lite THC
http://neuroncnc.com/
shad
 
Posts: 331
Joined: Thu Sep 15, 2016 5:23 pm

Re: Click on the ToolPathView event

Postby cncdrive » Wed Oct 19, 2016 10:28 am

Clicking on the screen gives you 2 coordinates only is the problem.
If the toolpath is from the top view then it may be not very difficult to calculate the clicked coordinate in the 3D space,
but if the toolpath is rotated then it is a harder calculation and vectors can be hiden behind eachother in different angle views which further complicates the detection.
The 2D to 3D point calculation could be done with a few matrix transformations, but then still the software should go through all the g-codes objects and compare to see which one was clicked.
This could make the process slow in my opinion if the code is large.
Maybe there is a better, faster solution ... what I wrote down now were my first thoughts on the subject.
cncdrive
Site Admin
 
Posts: 4695
Joined: Tue Aug 12, 2014 11:17 pm

Re: Click on the ToolPathView event

Postby shad » Wed Oct 19, 2016 7:33 pm

Hello Balazs! Plasma cutting usually in the 2D - XY plane. No rotation. You said it's possible to find position on the cut path - go through all the g-codes objects and compare to see.... find point on the tool path which on or clear to the clicked point on the ToolPathView?
Just can we link click point on the ToolPathView with G-code object? I hope you understand me :)
-- Andrew
UC400ETH
UC300ETH-5LPT
NEURON Lite THC
http://neuroncnc.com/
shad
 
Posts: 331
Joined: Thu Sep 15, 2016 5:23 pm

Re: Click on the ToolPathView event

Postby shad » Fri Oct 21, 2016 4:39 am

Terry,I mean 3D rotation of the part in the ToolPathView frame. UCCNC currently not support G68/G69.
-- Andrew
UC400ETH
UC300ETH-5LPT
NEURON Lite THC
http://neuroncnc.com/
shad
 
Posts: 331
Joined: Thu Sep 15, 2016 5:23 pm

Re: Click on the ToolPathView event

Postby shad » Tue Oct 25, 2016 3:43 pm

Hello Balazs!
Returning to our conversation.
For example we have 2D XY plane ToolPathView, no rotation.
On the tool path view there are cutting path and torch position.
I am move torch to the desired position on the toolpath for start cutting from this point. Of course, it's will be not exact toolpath.
Is it possible to calculate nearest to the torch position point on the toolpath? Just we have torch position and have gcode vectors on the ToolPathView and I can imagine that it's possible.

Also if the torch on the cutting path, what you think about adding future for move torch forward/backward along the cutting path? Like jogging, but on the cutting path?

Thank you!
-- Andrew
UC400ETH
UC300ETH-5LPT
NEURON Lite THC
http://neuroncnc.com/
shad
 
Posts: 331
Joined: Thu Sep 15, 2016 5:23 pm


Return to Custom Screensets

Who is online

Users browsing this forum: No registered users and 6 guests