CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] Re: High-level g-code language?

Posted by Codesuidae
on 2005-05-05 08:12:15 UTC
Alex Holden wrote:

>On 5 May 2005, at 2:03 pm, Jørgen Ditlev Christensen wrote:
>
>
>>Back in 84’ a Danish guy made a commercial program named HSI-CAM. This
>>DOS-program had a good programming script where it was easy to program
>>tangents, centres, intersections, loops, radius comp. Even 3D
>>contours etc.
>>
>>
>This sounds more like the kind of thing I was thinking of when I
>suggested a domain specific language, but I would prefer something
>rather more 'human readable' than the example you provided
>
I'd sure agree with the 'human readable' part. Probably my primary
reason for doing this is because I very much dislike hand-writing
'codes' that in any way resemble gcode. I spend much more time thinking
about what I want to do and re-reading what I've already done than I do
atually typing it, so a terse command syntax isn't much use to me.

>and I think it would make a lot of sense for the program to update a live
>simulation output after you enter each command (or close a block in
>the case of loops).
>
>
Last night I added a graphical preview window to my script interpreter.
Its not quite as fancy as what you suggest, it just takes the entire
output of the program at once and draws the lines. For now there are
only two colors, one for anything above the height set for rapids, one
for everything below that. I'll expand on that later so that various
depths receive different colors.

I still need to add support for arcs (although I'm still having trouble
with loosing steps during arc's with turbocnc), but once thats done I
can put this prototype up for anyone who is interested to check out.
Its just an exploration of an idea, but perhaps it can generate some
feedback that would help to make the tool useful to people other than
myself.

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?