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

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



By testing a bit with a 0805 footprint and version 20091103
I got the impression, that only the suffix of the 1st number
in a pad/element is relevant and all other numbers in that pad
are treated the same.
Could you/someone verify this?

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