[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: PCB Paneling



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 :-)


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user