开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: Conversational Programming


Jon Elson
 

Ron Ginger wrote:

5)Subroutines and gcode.
It would seem logical that the storage format of CPNCs files should be

gcode. So it could be used as a form of code generator. Many of its
higher level objects are much like gcode subroutines- in my program
you
enter just a couple dimensions fotr a bolt cirlce, and it gets
expanded
by the program just like a gcode subroutine.

This may die off here on the list, but I'm going to do it, and Im
going
to do it the 'open source' way.
If you aren't familiar with what I've already put in the public domain,
you should
look at : which is my
page
of programs that write G-code. You answer a few questions, and these
little
c programs (supplied as source) write the g-code for boring circular
holes or
pockets, milling out a rectangular pocket or trepanning out a
rectangular hole,
drilling (and also peck-drilling) a circular array of holes (bolt
circle).
There is also a program for thread milling with a single-row thread
mill.
(These can do any thread pitch with one tool.)

I have a few more that I need to clean up and add to the list. I use
these
more than my Bobcad/CAM software, because I don't have to fight it to
get it to do things in a milling machine-oriented way. These programs
are
pretty well optimized for efficient movements of the tool. They pretty
much
all do climb milling profiles.

If someone wanted to recode them in Tk/Tcl for use with the TkEMC user
interface of EMC, I'd be glad to help explain any quirky bits of the
code.

Jon

Join [email protected] to automatically receive all group messages.