Machsupport Forum

G-Code, CAD, and CAM => LazyCam (Beta) => Topic started by: harus[Poland] on August 08, 2007, 01:48:24 PM

Title: tangential to track in lazy cam 2.02v
Post by: harus[Poland] on August 08, 2007, 01:48:24 PM
Hi I,m new in cam programs and I need help. I need generate tangential vectors to X and Y track, example from g-kode:

M6T1
G0 Z5.0000
G0 X-3.5413 Y-3.0846
G1 Z-1.0000 F100.0000
F9.0000
G1 X-3.5177 Y-2.8878
G1 X-3.5000 Y-2.6929
G1 X-3.4862 Y-2.5000
M30

I need get :

M6T1
G0 Z5.0000
G0 X-3.5413 Y-3.0846
G1 Z-1.0000 F100.0000
F9.0000
G1 X-3.5177 Y-2.8878 A0.7528
G1 X-3.5000 Y-2.6929 A0.7500
G1 X-3.4862 Y-2.5000 A0.7450
M30

it is possible???
Title: Re: tangential to track in lazy cam 2.02v
Post by: Brian Barker on August 08, 2007, 09:25:55 PM
I could add it if you like but I think it will only work with line segments

Would that help?

Also you could do it in Mach3 if you like

Thanks
Brian
Title: Re: tangential to track in lazy cam 2.02v
Post by: harus[Poland] on August 09, 2007, 08:57:51 AM
Hi Brian if You could do it (add to lazy cam), it will be grateful, because I need exactly working witch 3D not in 2,5 D like is in mach3(tangential controll). But now i haven't yet full version lazy cam that is why I'm politely asking You it is possible?  Now I'm testing my new machine and new lazy cam. Thank You
Title: Re: tangential to track in lazy cam 2.02v
Post by: Brian Barker on August 13, 2007, 10:43:31 AM
3D???? Can you tell me a bit more about what you are thinking?


thanks
Brian
Title: Re: tangential to track in lazy cam 2.02v
Post by: harus[Poland] on August 15, 2007, 01:26:24 PM
OK, I need generate third A axis ( tangential to x and y axis = vector pair x1 y1 and x2 y2 ) and it must working at this same time in g01 code ( 3 axis ). Maschine for cuting (it cut moulding from polystyrene foam) use hot thick wire (length of wire is 400mm maximum) and every  machine stoppage (when x and y axis witch tangential controll in mach are on)  to bring deform material, that is why i need generating tangential in g code not in mach, or add this possibility to mach3 ( like e.g.live tangential control)  thank you Arek.
Title: Re: tangential to track in lazy cam 2.02v
Post by: Brian Barker on August 15, 2007, 11:10:41 PM
I will have a quick look and see if I can get the data to calc the angle...
Title: Re: tangential to track in lazy cam 2.02v
Post by: harus[Poland] on August 22, 2007, 06:42:09 AM
Thanks if You wont i have not exactly finished calculator to tangentials vectors but I think You are much more  experience in programming, if You could do it in mach3 or lazy cam please write the post here, thanks Arek. 
Title: Re: tangential to track in lazy cam 2.02v
Post by: harus[Poland] on August 22, 2007, 06:44:57 AM
Thanks if You wont i have not exactly finished calculator to tangentials vectors but I think You are much more  experience in programming, if You could do it in mach3 or lazy cam please write the post here, thanks Arek. 
 
maybe reply :) not the new post, Thanks
Title: Re: tangential to track in lazy cam 2.02v
Post by: Brian Barker on August 26, 2007, 09:27:00 AM
I have added your Tangential code to Lcam.. I should have it ready for testing in a few weeks

Thanks
Brian
Title: Re: tangential to track in lazy cam 2.02v
Post by: harus[Poland] on September 06, 2007, 05:54:24 AM
Hi Brian could You give me match code from mach3 to creating tangential to the track? My math code isn't complite, it doesn't  recognize exactly tool direction. thanks, I add next program version ( this program convert some g code's creating by mach, at now it is working only on  integral numbers ex: x123y2345) 
Title: Re: tangential to track in lazy cam 2.02v
Post by: Brian Barker on September 16, 2007, 12:19:50 PM
I can't do VB  :(

But I think I have all the code we need for the Tangential in Lcam at this time... I just need the time to make you a post and test :( What is your time line?

Thanks
Brian

Title: Re: tangential to track in lazy cam 2.02v
Post by: XLR84x4 on September 23, 2007, 05:51:17 AM
I to could really benefit from this A axis tangential code feature incorporated into lazy cam.

Please let me know if your close to release.

Thanks
Jason
Title: Re: tangential to track in lazy cam 2.02v
Post by: XLR84x4 on October 09, 2007, 03:46:49 AM
Hey Brian,

How did you go with the tangential A axis coding within Lazzy Cam??


Jason
Title: Re: tangential to track in lazy cam 2.02v
Post by: harus[Poland] on October 20, 2007, 09:05:24 PM
Hi All at the begin I wont say THANK YOU Mr Brian, Your advices was very valuable.
Program to generating tangential  A axis is finisched (I think:))
This program can creating tangential A axis in *.tap  files ( the tap files must be creating from hphl files ( like corel))
the number in hpgl files must be integral ( like pixels)

the way to creating final file: corel(hpgl)-->mach3(tap)-->my program(out*.tap)-->mach3

Thanks one more time      Arek