Any Linux based macro system for G code generation

More
19 Jul 2010 12:32 #3413 by ichudov
Being a newbie to the CNC world, but not to Linux world or programming languages, I wonder: is there some higher level macro system for generating G code? Kind like C preprocessor or assembler macros? Ergo can I find some macro system for typical milling tasks like milling out a rectangular pocket or something?

Another question, if I get an outline font (say in BDF format or whatever), is there some way to mill any given text for a given font size? A bonus would be to make raised letters.

Thanks!

Please Log in or Create an account to join the conversation.

More
19 Jul 2010 13:26 #3414 by BigJohnT
Check out the simple g code generators out on the wiki site.

John

Please Log in or Create an account to join the conversation.

More
19 Jul 2010 14:45 #3415 by andypugh
ichudov wrote:

Being a newbie to the CNC world, but not to Linux world or programming languages, I wonder: is there some higher level macro system for generating G code? Kind like C preprocessor or assembler macros? Ergo can I find some macro system for typical milling tasks like milling out a rectangular pocket or something?


tsemsb.blogspot.com/2010/04/cgcc-gcode-with-c-constructs.html

Might be of interest.

Another question, if I get an outline font (say in BDF format or whatever), is there some way to mill any given text for a given font size? A bonus would be to make raised letters.


wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Sim...MC_G-Code_Generators

Might have something you can use.

Please Log in or Create an account to join the conversation.

More
20 Jul 2010 01:53 #3422 by ichudov
Guys, after some looking, I have decided to write my own perl module for generating G codes. If it works well for me, I may release it through CPAN under GPL. I will use building blocks principle. A well written function to drill a hole would be used to make a bolt hole pattern, etc.

Igor

Please Log in or Create an account to join the conversation.

Time to create page: 0.068 seconds
Powered by Kunena Forum