Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: harus[Poland] on September 10, 2007, 05:11:15 AM
-
G0 Z5.0000
G0 X23561.0000 Y-3530.0000
G1 Z-1.0000 F100.0000
F32.0000
G1 X23564.0000 Y-3120.0000
G1 X23575.0000 Y-2710.0000
G1 X23592.0000 Y-2301.0000
........
i have arccosunus from vectors x and y = I have tangential to the x and y vectors ( between -pi/2 and pi/2)
now maybe some one ( mayby mr Brian Barker) know the math algorithm to generate correctly tangential ( from ex sinusoids , left or right turning spiral, circle starting from left or right side etc), (mayby mr Brian Barker could make informatin about genearating tangential from mach3 tangential control fun ). Thank you Arek
-
All you need to do is have a look at the vector direction of each move and send that to the A axis to that angle... If the difference from one vector to the other is greater then the max angle we pick up the head and set it back down at the new angle... that is about all there is to it :)
Hope that is what you are looking for
Brian
-
Hi Brian sorry for my absence,I'm come back from holidays a few days ago.
Could You write some example ( exactly how your program calculate correctly A angle e.g. in spiral)
Thank You
-
And coud You add mathematics code,
thanks Arek