[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: default layer names used by gschem2pcb
On Sat, 2007-10-06 at 18:48 +0000, Kai-Martin Knaak wrote:
> If I use gsch2pcb to produce a netlist and a *.pcb startup file, I get
> some default layerstack which is not the same as defined in
> ~/.pcb/preferences
> Where is the default layer stack set and how can I change it?
Its in the gsch2pcb netlist backend.
Assuming an install under /usr/local, try looking for
/usr/local/share/gEDA/scheme/gnet-gsch2pcb.scm
You'll want to edit this bit:
(define gsch2pcb:write-top-header
(lambda (port)
(display "# release: pcb 1.6.3\n" port)
(display "PCB(\"\" 6000 5000)\n" port)
(display "Grid(10 0 0)\n" port)
(display "Cursor(0 0 3)\n" port)
(display "Flags(0x000000d0)\n" port)
(display "Groups(\"1,2,3,s:4,5,6,c:7:8:\")\n" port)
(display "Styles(\"Signal,10,40,20:Power,25,60,35:Fat,40,60,35:Skinny,8,36,20\")\n" port)))
;;
;;
(define gsch2pcb:write-bottom-footer
(lambda (port)
(display "Layer(1 \"solder\")\n(\n)\n" port)
(display "Layer(2 \"GND-sldr\")\n(\n)\n" port)
(display "Layer(3 \"Vcc-sldr\")\n(\n)\n" port)
(display "Layer(4 \"component\")\n(\n)\n" port)
(display "Layer(5 \"GND-comp\")\n(\n)\n" port)
(display "Layer(6 \"Vcc-comp\")\n(\n)\n" port)
(display "Layer(7 \"unused\")\n(\n)\n" port)
(display "Layer(8 \"unused\")\n(\n)" port)
(newline port)))
--
Peter Clifton
Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA
Tel: +44 (0)7729 980173 - (No signal in the lab!)
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user