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

Re: gEDA-user: L-shaped pad; Comments in fp file?



> Is the correct way to create such pads to make two short, fat lines of 
> different lengths side by side so that their widths make them just 
> touch?  Is it OK for pads to overlap?

Overlapping is fine.

> Does the file format for defining footprints support comments?  It seems 
> this would be useful when hand crafting complex files.

Any line that starts with a '#' is a comment.

Any unquoted '#' starts a comment to the end of the line.

Those types of comments are ignored by pcb.

Additionally, you can use the Attribute() syntax to add a tagged
"comment" (really, anything) that pcb will preserve, such as copyright
information.  Example:


Element["" "" "" "" 90551 110236 0 0 0 100 ""]
(
	Pin[0 0 5300 2000 5900 2400 "" "1" "edge2"]
	Pin[19213 0 5300 2000 5900 2400 "" "2" "edge2"]

	ElementLine [-12992 -5512 -12992 5512 1000]
	ElementLine [-9055 9449 27953 9449 1000]
	ElementLine [31890 5512 31890 -5512 1000]
	ElementLine [27953 -9449 -9055 -9449 1000]
	ElementArc [-9055 -5512 3937 3937 270 90 1000]
	ElementArc [-9055 5512 3937 3937 0 90 1000]
	ElementArc [27953 5512 3937 3937 90 90 1000]
	ElementArc [27953 -5512 3937 3937 180 90 1000]

	Attribute("author" "DJ Delorie")
	Attribute("copyright" "2006 DJ Delorie")
	Attribute("use-license" "Unlimited")
	Attribute("dist-license" "GPL")
	Attribute("description" "Through-hole crystal")
)


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