hi geda-users, in the process of cnc-milling a pcb with a custom shape using pcb2gcode [1], i created a polygon on a separate layer. in the following processing steps, i need a gerber file that contains just that polygon (without holes for the pins, becaus they don't belong to the outline). my current workflow is to create a copy of the pcb file and strip away all pins and vias using sed -e 's/^\tPin/# &/' -e 's/^\t\(SymbolLine\|Line\)/# &/' -e 's/^Via/# &/' but that's certainly not ideal. is there a way to either * flag a layer in pcb in such a way that it won't get interference from other layers, * make pcb export only a single layer, or * make pcb remove all layers but one (in that case, i'd still need to duplicate the file)? the last option could be done with an advanced sed script as well, but i'd prefer to rely on pcb for parsing pcb files instead of hoping that the assumptions the sed script works on hold. regards chrysn [1] http://sourceforge.net/apps/mediawiki/pcb2gcode/ -- To use raw power is to make yourself infinitely vulnerable to greater powers. -- Bene Gesserit axiom
Attachment:
signature.asc
Description: Digital signature
_______________________________________________ geda-user mailing list geda-user@xxxxxxxxxxxxxx http://www.seul.org/cgi-bin/mailman/listinfo/geda-user