diff --git a/AUTHORS b/AUTHORS index 958c0a2..0751a6c 100644 --- a/AUTHORS +++ b/AUTHORS @@ -142,6 +142,7 @@ Werner Almesberger modules/msl0104.fpd modules/jtrace.fpd modules/memcard8-molex-47309.fpd + modules/header-50mil-pin.fpd Xiangfu diff --git a/modules/HIERARCHY b/modules/HIERARCHY index 9339ccc..90daa90 100644 --- a/modules/HIERARCHY +++ b/modules/HIERARCHY @@ -209,6 +209,47 @@ Connector HDR-38x1-50mil HDR-39x1-50mil HDR-40x1-50mil + 50mil-Pin + HDR-1x1-50mil-PIN + HDR-2x1-50mil-PIN + HDR-3x1-50mil-PIN + HDR-4x1-50mil-PIN + HDR-5x1-50mil-PIN + HDR-6x1-50mil-PIN + HDR-7x1-50mil-PIN + HDR-8x1-50mil-PIN + HDR-9x1-50mil-PIN + HDR-10x1-50mil-PIN + HDR-11x1-50mil-PIN + HDR-12x1-50mil-PIN + HDR-13x1-50mil-PIN + HDR-14x1-50mil-PIN + HDR-15x1-50mil-PIN + HDR-16x1-50mil-PIN + HDR-17x1-50mil-PIN + HDR-18x1-50mil-PIN + HDR-19x1-50mil-PIN + HDR-20x1-50mil-PIN + HDR-21x1-50mil-PIN + HDR-22x1-50mil-PIN + HDR-23x1-50mil-PIN + HDR-24x1-50mil-PIN + HDR-25x1-50mil-PIN + HDR-26x1-50mil-PIN + HDR-27x1-50mil-PIN + HDR-28x1-50mil-PIN + HDR-29x1-50mil-PIN + HDR-30x1-50mil-PIN + HDR-31x1-50mil-PIN + HDR-32x1-50mil-PIN + HDR-33x1-50mil-PIN + HDR-34x1-50mil-PIN + HDR-35x1-50mil-PIN + HDR-36x1-50mil-PIN + HDR-37x1-50mil-PIN + HDR-38x1-50mil-PIN + HDR-39x1-50mil-PIN + HDR-40x1-50mil-PIN 100mil HDR-1x1-100mil HDR-2x1-100mil diff --git a/modules/Makefile b/modules/Makefile index 812479a..346e8cf 100644 --- a/modules/Makefile +++ b/modules/Makefile @@ -4,7 +4,7 @@ MODULES=0805-6 1059 8_10-card 8_10-socket-ra 8_10-socket-ra-push-pull \ dcjack df40 dfn din-5 dip dip4of6 do-214 dvi-recept-ra \ e-switch320 er-oled-fpc30 eus evqq7 \ fiducial \ - header he-2row-dip he-shrouded \ + header he-2row-dip he-shrouded header-50mil-pin \ inductor-2p ir \ jtrace \ lga ledsmd lp2032sm \ diff --git a/modules/header-50mil-pin.fpd b/modules/header-50mil-pin.fpd new file mode 100644 index 0000000..2a24646 --- /dev/null +++ b/modules/header-50mil-pin.fpd @@ -0,0 +1,49 @@ +/* MACHINE-GENERATED ! */ + +frame pin { + table + { h, w, d } + { 45mil+5mil, 35mil+5mil, 22mil } + + loop n = 1, c + + __0: vec @(((1-c)/2+n-1)*50mil, 0mm) + __1: vec .(w/2, h/2) + __2: vec __0(-w/2, -h/2) + rpad "$n" . __1 + __3: vec __0(-d/2, d/2) + __4: vec __0(d/2, -d/2) + hole __3 . +} + +frame outline { + set w = 5mil + + set x = c*50mil + + set y = 2.5mm + + __0: vec @(x/2, y/2) + __1: vec @(-x/2, -y/2) + rect . __0 w + __2: vec @(-x/2, y/2-3*w) + __3: vec .(50mil, 0mm) + line . __2 w + __4: vec @(-x/2, -y/2+3*w) + __5: vec .(50mil, 0mm) + line . __4 w +} + +package "HDR-${c}x1-50mil-PIN" +unit mil + +loop c = 1, 40 + +frame pin @ +frame outline @ +measx outline.__1 >> outline.__0 -1.5mm +measy outline.__1 >> outline.__0 1mm +measy pin.__2 -> pin.__1 0.6mm +measx pin.__2 -> pin.__1 -1.5mm +measy pin.__3 << pin.__4 -1mm +measx pin.__0 -> pin.__0 2mm