From: jmcgee <jm...@je...> - 2010-11-26 04:03:49
|
I've added two very simple features to pcb2gcode for my own use: 1) A command line option (drill-front) and code so that the drilling gcode is generated for drilling into the front of the pcb (as opposed to the back). I use this since I've been making single sided boards using only the front side copper. 2) A command line option (extra-isolation) and code that makes the Surface::get_toolpath function generate multiple passes of the mill bit around each track. Each extra pass is made by growing the track 1/2 the tool diameter and then generating a new set of tool paths (collecting all the milling paths together). This results in larger isolations between used paths and unused copper while keeping fine detail, with the obvious trade off of increased milling time and tool wear. Also, no attempt has been made to collapse redundant paths. I find the larger isolation makes it easier to solder components without inadvertently shorting something to the unused copper. The changes were made to the 1.0.6 version of pcb2gcode. If you would be interested in considering either patch for inclusion in the codebase I would be happy to provide the code in whatever form would be most useful, and/or make any requested changes necessary for inclusion. --madscifi |