I searched the forums for "drill" and didn't come up with much. I'm wondering if PyCAM supports drilling operations. I'm guessing not. It would be cool to load a 2D model composed of shapes like circles or squares. The center point of each shape is the place to drill a hole.
no - drilling (G81/82/83) is currently not possible with PyCAM. From my point of view, it will probably never be supported directly.
But of course you can just place your circles in a 2D model file. Then you choose the proper tool diameter and engraving offset in PyCAM. The resulting G-code will surely not be as efficient as a real drill operation, but the cut should look fine.
From my point of view there are two different kind of G-code generators:
(a) a program that allows you to describe specific motions and operations directly
(b) a program that turns a 2D/3D model into an efficient toolpath
PyCAM is part of group (b), thus there will be no drilling …
I've made a simple script to make gcode drill files from a drill layer in inkscape:
It requires exporting the file as 'better dxf format' http://www.bobcookdev.com/inkscape/inkscape-dxf.html
Here is my script:
Let's you choose depth, peck, safe z etc on the command line to generate drill codes.
Lars: you know any program of the '(a)' kind? (better if open-source and work under linux :))