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

Re: gEDA-user: Script for converting mm to hundredths of thou



Hm, appart from the fact, this is no good 0805-footprint, the below
------------------------------
Element(0x00 "SMD 0805" "" "smd0805" 0 100 0 100 0x00)
(
# Pad[x1, y1, x2, y2, thickness, clearance, mask, name , pad number, flags]
   Pad(1000um  0um  1000um  0um 600um "1" 0x00000100)
   Pad(3000um  0um  3000um  0um 600um "2" 0x00000100)
   Mark(2000um 0um)
)
------------------------------
should be a footprint with 2mm distance between pad-centers.
If oppened with pcb v20091103, the distance is apparently 200mm.
Any comments welcome ;-)


DJ Delorie wrote:
From my memory, DJ posted a message about that file format extension
long time ago, and I think I have seen a PCB footprint file
containing nm units. But I was not able to verify this with a short
inspection of the PCB manual.

It works, for mm, um, in, and mil suffixes on any number:

{FLOATINGMM}		{	return parse_number(3937.0079); }
{FLOATINGUM}		{	return parse_number(3.9370079); }
{FLOATINGIN}		{	return parse_number(100000.0); }
{FLOATINGMIL}		{	return parse_number(100.0); }
{DECIMAL}		{	return parse_number(1.0); }


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



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