[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: Using mm units in .pcb files
> ?? which is what?
The format we use for pcb-menu.res and gpcb-menu.res. It's a
heirarchical text format with tagging and grouping. Semantically,
it's like XML, but without all the heavy baggage that comes with XML.
It allows forward compatibility and third-party expansion, is easy to
parse, and highly compressible (since it's still text). We'd probably
need to write Perl modules to read/write it though ;-)
Example:
(Element
units = "mil"
mark = (150 150)
angle = 90
refdes = ("U4" x=500 y=1800 scale=10)
description = "monostable timer"
value = "NE555D"
origin_file = "semi/DIP-8-300.fp"
lines = (
size = 5
(0 0 100 0)
(0 0 0 100)
(100 0 0 100 size=10)
)
pins = (
drill = 35
size = 75
mask = 80
clearance = 10
(0 0)
(100 0)
(200 0)
(300 0)
(300 300)
(200 300)
(100 300)
(0 300)
)
)
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user