From a2e91cf13efc895f06bfb52a35dc6fc9ec571d62 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Sun, 24 Oct 2010 23:43:08 -0300 Subject: [PATCH] Take "pads" and "stdpass" modules from kicad-libs and remove local copy. - atrf/wpan-atrf.pro, atusd/atusd.pro, cntr/cntr.pro: use "pads" footprint from kicad-libs - atrf/wpan-atrf.pro, cntr/cntr.pro: use "stdpass" footprint from kicad-libs - AUTHORS, modules/INFO, modules/pads.fpd, modules/stdpass.fpd: removed pads.fpd and stdpass.fpd --- AUTHORS | 2 -- atrf/wpan-atrf.pro | 4 ++-- atusd/atusd.pro | 2 +- cntr/cntr.pro | 4 ++-- modules/INFO | 6 ----- modules/pads.fpd | 18 --------------- modules/stdpass.fpd | 56 --------------------------------------------- 7 files changed, 5 insertions(+), 87 deletions(-) delete mode 100644 modules/pads.fpd delete mode 100644 modules/stdpass.fpd diff --git a/AUTHORS b/AUTHORS index 85f565d..b0d6b67 100644 --- a/AUTHORS +++ b/AUTHORS @@ -15,8 +15,6 @@ Werner Almesberger components/c8051f326.lib modules/meander.fpd modules/mmcx-f-edge.fpd - modules/pads.fpd modules/qfn.fpd modules/qfp.fpd - modules/stdpass.fpd modules/xtal-4.fpg diff --git a/atrf/wpan-atrf.pro b/atrf/wpan-atrf.pro index 4241f1e..5b4100a 100644 --- a/atrf/wpan-atrf.pro +++ b/atrf/wpan-atrf.pro @@ -71,7 +71,7 @@ LastNetListRead=wpan-atrf.net LibDir= LibName1=../modules/meander LibName2=../modules/mini-usb -LibName3=../modules/pads +LibName3=../../kicad-libs/modules/pads LibName4=../modules/qfn -LibName5=../modules/stdpass +LibName5=../../kicad-libs/modules/stdpass LibName6=../modules/xtal-4 diff --git a/atusd/atusd.pro b/atusd/atusd.pro index 4e6708c..bf210c3 100644 --- a/atusd/atusd.pro +++ b/atusd/atusd.pro @@ -68,7 +68,7 @@ LastNetListRead=atusd.net [pcbnew/libraries] LibDir= LibName1=../modules/meander -LibName2=../modules/pads +LibName2=../../kicad-libs/modules/pads LibName3=../modules/qfn LibName4=../../kicad-libs/modules/stdpass LibName5=../../kicad-libs/modules/usd-card diff --git a/cntr/cntr.pro b/cntr/cntr.pro index 2bde6e9..218fe3f 100644 --- a/cntr/cntr.pro +++ b/cntr/cntr.pro @@ -67,6 +67,6 @@ LastNetListRead=cntr.net [pcbnew/libraries] LibDir= LibName1=../modules/mini-usb -LibName2=../modules/pads +LibName2=../../kicad-libs/modules/pads LibName3=../modules/qfp -LibName4=../modules/stdpass +LibName4=../../kicad-libs/modules/stdpass diff --git a/modules/INFO b/modules/INFO index 43062b0..c947366 100644 --- a/modules/INFO +++ b/modules/INFO @@ -12,9 +12,6 @@ N: AN043 # Mini-USB B receptable (SMT; almost generic) F: mini_usb_b -# Standard rectangular passive components -F: stdpass - # "Generic" simple QFN F: qfn # @@ -45,9 +42,6 @@ F: qfp F: xtal-4 N: nx3225sa -# Solder pads and test points -F: pads - # 0805 package with six pads F: 0805-6 diff --git a/modules/pads.fpd b/modules/pads.fpd deleted file mode 100644 index 1310218..0000000 --- a/modules/pads.fpd +++ /dev/null @@ -1,18 +0,0 @@ -/* MACHINE-GENERATED ! */ - -frame pad { - __0: vec @(x/2, y/2) - __1: vec @(-x/2, -y/2) - rpad "1" . __0 -} - -package "PAD_$name" -unit mm - -table - { name, x, y } - { "2mm", 2mm, 0.5mm } - { "60x60", 60mil, 60mil } - { "120x60", 120mil, 60mil } - -frame pad @ diff --git a/modules/stdpass.fpd b/modules/stdpass.fpd deleted file mode 100644 index 21b8a35..0000000 --- a/modules/stdpass.fpd +++ /dev/null @@ -1,56 +0,0 @@ -/* MACHINE-GENERATED ! */ - -frame pad_r { - ll: vec @(0mm, -b/2) - x: vec .(a, 0mm) - y: vec ll(0mm, b) - pad "2" . x -} - -frame pad_l { - ll: vec @(-a, -b/2) - w: vec .(a, 0mm) - h: vec ll(0mm, b) - pad "1" . w -} - -frame pads { - left: vec @(-e/2, 0mm) - frame pad_l . - right: vec @(e/2, 0mm) - frame pad_r . -} - -frame outline { - ll: vec @(-Ox/2, -Oy/2) - ur: vec @(Ox/2, Oy/2) - rect ll . silk -} - -package "$name" -unit mm -table - { name, L, W, a, b, e } - { "0201", 0.6mm, 0.3mm, 0.28mm, 0.43mm, 0.23mm } - { "0402", 1mm, 0.5mm, 0.4mm, 0.6mm, 0.5mm } - { "0603", 1.55mm, 0.85mm, 0.5mm, 0.9mm, 1mm } - { "0805", 2mm, 1.25mm, 0.7mm, 1.3mm, 1.2mm } - { "1206", 3.2mm, 1.6mm, 0.9mm, 1.7mm, 2mm } - { "1210", 3.2mm, 2.5mm, 0.9mm, 2.5mm, 2mm } - -set silk = 5mil - -set clear = 5mil - -set Ox = e+2*a+2*clear - -set Oy = b+2*clear - -frame pads @ -frame outline @ -measx pad_l.w >> pad_r.ll -0.3mm -measx pad_l.ll -> pad_l.w -0.3mm -measy pad_l.ll >> pad_l.h 0.3mm -measx outline.ll >> outline.ur Oy+0.3mm -measy outline.ur >> outline.ll 0.3mm -measx pad_l.ll >> pad_r.x -0.5mm