Add RF components. Hook up microSD card.
[hw/telegps] / packages / footprint.5c
index fa03e604ce8823d4a3ede599fc081910c236ca4a..7d6fdcb05f0bc8c319552ba2ff425fcdace1a737 100644 (file)
@@ -22,6 +22,10 @@ namespace Footprint {
 
        public int mm2mils100(real mm) = floor (mm / 25.4 * 1000 * 100 + 0.5);
 
+       public real mils1002mm(real mils100) = mils100 * 25.4 / 100 / 1000;
+
+       public int line_thickness = 1000;
+
        public void element_start(string name) {
                printf ("# author: Keith Packard\n");
                printf ("# email: keithp@keithp.com\n");
@@ -134,7 +138,7 @@ namespace Footprint {
                        mm2mils100(y1),
                        mm2mils100(x2),
                        mm2mils100(y2));
-               printf (" 1000]\n");
+               printf (" %d]\n", line_thickness);
        }
 
        public void rect (real x, real y, real w, real h)