Re: [CAD_CAM_EDM_DRO] Re: [turbocnc] Re: High-level g-code language?
Posted by
Codesuidae
on 2005-05-04 11:22:39 UTC
Alex Holden wrote:
experienced programmer, but I'm new to the world of machining. When I
want to write something 'scripty' rather than use a CAD/CAM solution I
tend to think in terms of general purpose languages. I'm not sure how
useful my idea of a script language would be to others.
I considering taking a more limited approach and just writing something
with limited macro processing that would basicly just convert from a
more conversational format directly to gcode, maintaining all the
control variables and loops and whatnot in the translation. But, while
that seems attractive because of the compact gcode, it doesn't really
give me the kind of power I'd like to have (at least, not without
considerable work). The general purpose language is already very
powerful and flexible, and its easy enough to simply not use the more
complicated features so that it stays simple. For example, there's no
reason at all that someone would have to put in a subroutine, the
logo-like example before compiles and runs and generates gcode exactly
as its written.
the graphical display screen right now. The script can be as simple as
something like this:
PenUp;
MoveTo( XCoord, YCoord );
PenDown;
MoveTo( Xcoord; YCoord );
or it can be more complex, like the example I posted earlier.
I've also just added some debugging tools. It now has the ability to
single step through the code as it runs so that the user can examine the
value of variables and watch how the flow through the script
progresses. I'm always amazed at how quickly a project can go together
when you have good tools available :)
Thanks for the input.
cs
>On 4 May 2005, at 5:21 pm, Codesuidae wrote:Thats part of the reason I'm asking and doing a prototype. I'm an
>
>
>>I liked the idea of using an existing scripting language, and it
>>occurs
>>to me that it doesnt' really matter what it is, for this purpose they
>>are pretty much all equivalent. Since I'm a Delphi (pascal)
>>programmer,
>>
>>
>
>I think it's an exciting idea, but do you not think a domain specific
>language might be more appropriate than a general purpose language?
>
experienced programmer, but I'm new to the world of machining. When I
want to write something 'scripty' rather than use a CAD/CAM solution I
tend to think in terms of general purpose languages. I'm not sure how
useful my idea of a script language would be to others.
I considering taking a more limited approach and just writing something
with limited macro processing that would basicly just convert from a
more conversational format directly to gcode, maintaining all the
control variables and loops and whatnot in the translation. But, while
that seems attractive because of the compact gcode, it doesn't really
give me the kind of power I'd like to have (at least, not without
considerable work). The general purpose language is already very
powerful and flexible, and its easy enough to simply not use the more
complicated features so that it stays simple. For example, there's no
reason at all that someone would have to put in a subroutine, the
logo-like example before compiles and runs and generates gcode exactly
as its written.
>Or how about a Logo interpreter which can plot to either screen or g-My current prototype does that now actually. I'm working on putting in
>code?
>
>
the graphical display screen right now. The script can be as simple as
something like this:
PenUp;
MoveTo( XCoord, YCoord );
PenDown;
MoveTo( Xcoord; YCoord );
or it can be more complex, like the example I posted earlier.
I've also just added some debugging tools. It now has the ability to
single step through the code as it runs so that the user can examine the
value of variables and watch how the flow through the script
progresses. I'm always amazed at how quickly a project can go together
when you have good tools available :)
Thanks for the input.
cs
Discussion Thread
Codesuidae
2005-05-04 09:21:20 UTC
Re: [turbocnc] Re: High-level g-code language?
Alex Holden
2005-05-04 10:55:54 UTC
Re: [CAD_CAM_EDM_DRO] Re: [turbocnc] Re: High-level g-code language?
Codesuidae
2005-05-04 11:22:39 UTC
Re: [CAD_CAM_EDM_DRO] Re: [turbocnc] Re: High-level g-code language?
Dhiren Shah
2005-05-04 11:38:32 UTC
RE: [CAD_CAM_EDM_DRO] Re: [turbocnc] Re: High-level g-code language?
Alan Marconett
2005-05-04 12:54:26 UTC
RE: [CAD_CAM_EDM_DRO] Re: [turbocnc] Re: High-level g-code language?
Alex Holden
2005-05-04 13:17:25 UTC
Re: [CAD_CAM_EDM_DRO] Re: [turbocnc] Re: High-level g-code language?
andyolney
2005-05-04 17:21:12 UTC
[turbocnc] Re: High-level g-code language?
jymmm
2005-05-05 12:46:59 UTC
[turbocnc] Re: High-level g-code language?
Dhiren Shah
2005-05-06 13:15:49 UTC
RE: [CAD_CAM_EDM_DRO] [turbocnc] Re: High-level g-code language?
alipavsky@i...
2005-05-06 13:33:28 UTC
RE: [CAD_CAM_EDM_DRO] [turbocnc] Re: High-level g-code language?
Bob Muse
2005-05-06 15:02:59 UTC
Re: [CAD_CAM_EDM_DRO] [turbocnc] Re: High-level g-code language?
Codesuidae
2005-05-08 22:24:08 UTC
Re: High-level g-code language?
washcomp
2005-05-09 06:05:13 UTC
Re: High-level g-code language?
Dhiren Shah
2005-05-09 06:51:37 UTC
RE: [CAD_CAM_EDM_DRO] [turbocnc] Re: High-level g-code language?
Dhiren Shah
2005-05-09 06:52:02 UTC
RE: [CAD_CAM_EDM_DRO] [turbocnc] Re: High-level g-code language?
Codesuidae
2005-05-09 06:56:16 UTC
Re: [CAD_CAM_EDM_DRO] [turbocnc] Re: High-level g-code language?
Codesuidae
2005-05-09 07:37:41 UTC
Re: [CAD_CAM_EDM_DRO] Re: High-level g-code language?
Dhiren Shah
2005-05-09 08:07:17 UTC
RE: [CAD_CAM_EDM_DRO] [turbocnc] Re: High-level g-code language?