gEDA-user: PCB Paneling
DJ Delorie
dj at delorie.com
Tue Jul 25 21:43:48 EDT 2006
Ok, no changes needed. Here's a sample script that panelizes a
900x600 board, assuming you have a pre-existing board named
"panel.pcb" that's the right size and everything, and have removed the
Cursor line in the input files, this script panelizes seven copies of
smd-dil.pcb onto it:
------------------------------
LoadFrom(Layout,panel.pcb)
LoadFrom(LayoutToBuffer,smd-dil.pcb)
PasteBuffer(ToLayout, 0, 0,mil)
PasteBuffer(ToLayout,1000, 0,mil)
PasteBuffer(ToLayout, 0,700,mil)
PasteBuffer(ToLayout,1000,700,mil)
PasteBuffer(Rotate,1)
PasteBuffer(ToLayout, 0,2300,mil)
PasteBuffer(ToLayout, 700,2300,mil)
PasteBuffer(ToLayout,1400,2300,mil)
SaveTo(LayoutAs,panelized.pcb)
Quit()
------------------------------
Invoke this like this:
pcb --action-script panelize.sc
I assume the usual collection of auto-panelizing perl/python/whatever
scripts will turn up on the mailing list in a day or two :-)
More information about the geda-user
mailing list