py2g
Python Module to generate g-code
This is a set of methods to generate g-code from python. G code can be used then to machine real mechanical parts in cnc milling machines. You just need to define what to carve/mill by calling those methods, and the library generates a string with the g-code that you can use in linuxcnc or other g-code cam programs. It's like drawing with python, but at high level. (Carve a hole here, extrude a square there, etc).