Re: [CAD_CAM_EDM_DRO] Re: High-level g-code language?
Posted by
Codesuidae
on 2005-05-05 07:40:59 UTC
Jørgen Ditlev Christensen wrote:
I'm guessing the first couple of lines 'L, X0' and 'L, Y0' are setting a
start point.
The next line 'L,P30 X5 Y0' I don't get. If it starts at (0,0) and runs
off at 30 degrees, how can it intersect (5,0)? If the 'X5' portion
indicates length, then whats the 'Y0'?
The 'CL20,,L,L' seems to be a left-curving arc with radius 20 tangent to
the current line, but I don't get the 'L,L' stuff. How does it know how
far to go?
Thanks
cs
>Hi cs, You write:Can you explain further?
>
>
>>> “All it really needs is a few functions
>>> (i.e. RapidMove(), Move(), Arc(), etc)
>>> that translate their parameters into gcode.
>>> This core set of functions can be written in
>>> pretty much any scripting language, so it
>>> would be easy to translate to any ones
>>> prefered engine.”
>>>
>>>
>
>My opinion is that’s not true, because lots of times you need the
>possibility to program some contours, where you don’t know the intersection,
>tangent and even centre of circles and that’s what you get in a CAD/CAM
>program.
>
>
>Back in 84’ a Danish guy made a commercial program named HSI-CAM. ThisThanks for the info. I'm having difficulty parsing the example though.
>DOS-program had a good programming script where it was easy to program
>tangents, centres, intersections, loops, radius comp. Even 3D contours etc.
>I have put a image at: http://web-base.dk/div/aid1.gif of a little
>program-code that is programmed with this HIS script, I hope this can be to
>some inspiration for you and luck further over with you program.
>
>
I'm guessing the first couple of lines 'L, X0' and 'L, Y0' are setting a
start point.
The next line 'L,P30 X5 Y0' I don't get. If it starts at (0,0) and runs
off at 30 degrees, how can it intersect (5,0)? If the 'X5' portion
indicates length, then whats the 'Y0'?
The 'CL20,,L,L' seems to be a left-curving arc with radius 20 tangent to
the current line, but I don't get the 'L,L' stuff. How does it know how
far to go?
Thanks
cs
Discussion Thread
Jørgen Ditlev Christensen
2005-05-05 06:07:10 UTC
Re: High-level g-code language?
Alex Holden
2005-05-05 07:13:55 UTC
Re: [CAD_CAM_EDM_DRO] Re: High-level g-code language?
Codesuidae
2005-05-05 07:40:59 UTC
Re: [CAD_CAM_EDM_DRO] Re: High-level g-code language?
Codesuidae
2005-05-05 08:12:15 UTC
Re: [CAD_CAM_EDM_DRO] Re: High-level g-code language?
Alex Holden
2005-05-05 08:41:21 UTC
Re: [CAD_CAM_EDM_DRO] Re: High-level g-code language?
Codesuidae
2005-05-05 09:50:51 UTC
Re: [CAD_CAM_EDM_DRO] Re: High-level g-code language?