CAD CAM EDM DRO - Yahoo Group Archive

Re: G_Code sharing

Posted by hal_eckhart
on 2004-04-29 07:15:01 UTC
On 4/29/04 12:07 AM, Jon Elson elson-at-pico-systems.com |yahoo| wrote:

>I sometimes write G code for simple tasks. I found myself writing the same
>g-code over and over for certain things so I wrote some C programs to
>do it for me.

This is interesting. Is anybody besides Jon doing anything like this? I've been
doing some even more rudimentary dabbling in code generation, but mostly in
simplistic HPGL(-1?), since it's what I use. Since C is a little over my head,
I've been doing it in PHP. One benefit of this is easy cross-platform access
through a web browser.

It would also be intriguing to learn more about toolpath generation and
manipulation. I've just been making it up and patching it together out of sample
code that I've found.

So at the risk of boring the pants off everybody, here are some links. I'm
slowly posting the source to all of this, but I've been trying to clean it up as
I go. It will all eventually be somewhere on
<http://www.metalgeek.com/>

A basic g-code flange generator
(just converted HPGL to G0 and G1)
<http://geek.casaforge.com/code/newform_g.php>

The same thing in HPGL
<http://geek.casaforge.com/code/newform.php>

A somewhat more interesting thing that creates a path for tube coping:
<http://www.metalgeek.com/static/cope.pcgi>
Source code:
<http://www.metalgeek.com/static/cope.html>

Hal Eckhart <http://www.casaforge.com> <http://www.metalgeek.com>

Discussion Thread

bdrmachine 2004-04-25 14:39:54 UTC G_Code sharing Greg Nuspel 2004-04-25 14:45:13 UTC Re: [CAD_CAM_EDM_DRO] G_Code sharing Vince Negrete 2004-04-25 16:23:24 UTC Re: [CAD_CAM_EDM_DRO] G_Code sharing Ron K 2004-04-25 18:19:07 UTC Re: [CAD_CAM_EDM_DRO] G_Code sharing Greg Nuspel 2004-04-25 20:05:57 UTC Re: [CAD_CAM_EDM_DRO] G_Code sharing Alan Marconett KM6VV 2004-04-26 11:26:00 UTC Re: [CAD_CAM_EDM_DRO] G_Code sharing Vince Negrete 2004-04-26 16:40:36 UTC Re: [CAD_CAM_EDM_DRO] G_Code sharing Jon Elson 2004-04-28 22:09:17 UTC Re: [CAD_CAM_EDM_DRO] G_Code sharing Ron K 2004-04-29 06:57:54 UTC Re: [CAD_CAM_EDM_DRO] G_Code sharing hal_eckhart 2004-04-29 07:15:01 UTC Re: G_Code sharing doug98105 2004-04-29 08:02:50 UTC Re: G_Code sharing cnc002@a... 2004-04-29 09:59:11 UTC Re: [CAD_CAM_EDM_DRO] Re: G_Code sharing Alan Marconett KM6VV 2004-04-29 12:21:55 UTC Re: [CAD_CAM_EDM_DRO] Re: G_Code sharing ballendo 2004-04-30 06:50:49 UTC Mach2 is as close to a commercial control as you can get without buyng one tomp_tag 2004-05-02 21:29:30 UTC Re: [CAD_CAM_EDM_DRO] G_Code sharing