From 418107618a9d5ea11cf4574ea1c58b451cecb404 Mon Sep 17 00:00:00 2001 From: Patrick Pelletier Date: Wed, 5 Sep 2018 12:49:34 -0700 Subject: [PATCH] Footprint with mounting holes. I plan to use: https://www.digikey.com/product-detail/en/assmann-wsw-components/A-DS-09-A-KG-T2S/AE10968-ND/1241804 --- ...Housed_MountingHolesOffset9.12mm.kicad_mod | 65 +++++++++++++++++++ fp-lib-table | 3 + 2 files changed, 68 insertions(+) create mode 100644 footprints.pretty/DSUB-9_Male_Horizontal_P2.77x2.84mm_EdgePinOffset7.70mm_Housed_MountingHolesOffset9.12mm.kicad_mod create mode 100644 fp-lib-table diff --git a/footprints.pretty/DSUB-9_Male_Horizontal_P2.77x2.84mm_EdgePinOffset7.70mm_Housed_MountingHolesOffset9.12mm.kicad_mod b/footprints.pretty/DSUB-9_Male_Horizontal_P2.77x2.84mm_EdgePinOffset7.70mm_Housed_MountingHolesOffset9.12mm.kicad_mod new file mode 100644 index 0000000..eabf02e --- /dev/null +++ b/footprints.pretty/DSUB-9_Male_Horizontal_P2.77x2.84mm_EdgePinOffset7.70mm_Housed_MountingHolesOffset9.12mm.kicad_mod @@ -0,0 +1,65 @@ +(module DSUB-9_Male_Horizontal_P2.77x2.84mm_EdgePinOffset7.70mm_Housed_MountingHolesOffset9.12mm (layer F.Cu) (tedit 59FEDEE2) + (descr "9-pin D-Sub connector, horizontal/angled (90 deg), THT-mount, male, pitch 2.77x2.84mm, pin-PCB-offset 7.699999999999999mm, distance of mounting holes 25mm, distance of mounting holes to PCB edge 9.12mm, see https://disti-assets.s3.amazonaws.com/tonar/files/datasheets/16730.pdf") + (tags "9-pin D-Sub connector horizontal angled 90deg THT male pitch 2.77x2.84mm pin-PCB-offset 7.699999999999999mm mounting-holes-distance 25mm mounting-hole-offset 25mm") + (fp_text reference REF** (at 5.54 -2.8) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value DSUB-9_Male_Horizontal_P2.77x2.84mm_EdgePinOffset7.70mm_Housed_MountingHolesOffset9.12mm (at 5.54 18.44) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_arc (start -6.96 1.42) (end -8.56 1.42) (angle 180.000000) (layer F.Fab) (width 0.1)) + (fp_arc (start 18.04 1.42) (end 16.44 1.42) (angle 180.000000) (layer F.Fab) (width 0.1)) + (fp_line (start -9.885 -1.8) (end -9.885 10.54) (layer F.Fab) (width 0.1)) + (fp_line (start -9.885 10.54) (end 20.965 10.54) (layer F.Fab) (width 0.1)) + (fp_line (start 20.965 10.54) (end 20.965 -1.8) (layer F.Fab) (width 0.1)) + (fp_line (start 20.965 -1.8) (end -9.885 -1.8) (layer F.Fab) (width 0.1)) + (fp_line (start -9.885 10.54) (end -9.885 10.94) (layer F.Fab) (width 0.1)) + (fp_line (start -9.885 10.94) (end 20.965 10.94) (layer F.Fab) (width 0.1)) + (fp_line (start 20.965 10.94) (end 20.965 10.54) (layer F.Fab) (width 0.1)) + (fp_line (start 20.965 10.54) (end -9.885 10.54) (layer F.Fab) (width 0.1)) + (fp_line (start -2.61 10.94) (end -2.61 16.94) (layer F.Fab) (width 0.1)) + (fp_line (start -2.61 16.94) (end 13.69 16.94) (layer F.Fab) (width 0.1)) + (fp_line (start 13.69 16.94) (end 13.69 10.94) (layer F.Fab) (width 0.1)) + (fp_line (start 13.69 10.94) (end -2.61 10.94) (layer F.Fab) (width 0.1)) + (fp_line (start -9.46 10.94) (end -9.46 15.94) (layer F.Fab) (width 0.1)) + (fp_line (start -9.46 15.94) (end -4.46 15.94) (layer F.Fab) (width 0.1)) + (fp_line (start -4.46 15.94) (end -4.46 10.94) (layer F.Fab) (width 0.1)) + (fp_line (start -4.46 10.94) (end -9.46 10.94) (layer F.Fab) (width 0.1)) + (fp_line (start 15.54 10.94) (end 15.54 15.94) (layer F.Fab) (width 0.1)) + (fp_line (start 15.54 15.94) (end 20.54 15.94) (layer F.Fab) (width 0.1)) + (fp_line (start 20.54 15.94) (end 20.54 10.94) (layer F.Fab) (width 0.1)) + (fp_line (start 20.54 10.94) (end 15.54 10.94) (layer F.Fab) (width 0.1)) + (fp_line (start -8.56 10.54) (end -8.56 1.42) (layer F.Fab) (width 0.1)) + (fp_line (start -5.36 10.54) (end -5.36 1.42) (layer F.Fab) (width 0.1)) + (fp_line (start 16.44 10.54) (end 16.44 1.42) (layer F.Fab) (width 0.1)) + (fp_line (start 19.64 10.54) (end 19.64 1.42) (layer F.Fab) (width 0.1)) + (fp_line (start -9.945 10.48) (end -9.945 -1.86) (layer F.SilkS) (width 0.12)) + (fp_line (start -9.945 -1.86) (end 21.025 -1.86) (layer F.SilkS) (width 0.12)) + (fp_line (start 21.025 -1.86) (end 21.025 10.48) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.25 -2.754338) (end 0.25 -2.754338) (layer F.SilkS) (width 0.12)) + (fp_line (start 0.25 -2.754338) (end 0 -2.321325) (layer F.SilkS) (width 0.12)) + (fp_line (start 0 -2.321325) (end -0.25 -2.754338) (layer F.SilkS) (width 0.12)) + (fp_line (start -10.4 -2.35) (end -10.4 17.45) (layer F.CrtYd) (width 0.05)) + (fp_line (start -10.4 17.45) (end 21.5 17.45) (layer F.CrtYd) (width 0.05)) + (fp_line (start 21.5 17.45) (end 21.5 -2.35) (layer F.CrtYd) (width 0.05)) + (fp_line (start 21.5 -2.35) (end -10.4 -2.35) (layer F.CrtYd) (width 0.05)) + (pad 1 thru_hole rect (at 0 0) (size 1.6 1.6) (drill 1) (layers *.Cu *.Mask)) + (pad 2 thru_hole circle (at 2.77 0) (size 1.6 1.6) (drill 1) (layers *.Cu *.Mask)) + (pad 3 thru_hole circle (at 5.54 0) (size 1.6 1.6) (drill 1) (layers *.Cu *.Mask)) + (pad 4 thru_hole circle (at 8.31 0) (size 1.6 1.6) (drill 1) (layers *.Cu *.Mask)) + (pad 5 thru_hole circle (at 11.08 0) (size 1.6 1.6) (drill 1) (layers *.Cu *.Mask)) + (pad 6 thru_hole circle (at 1.385 2.84) (size 1.6 1.6) (drill 1) (layers *.Cu *.Mask)) + (pad 7 thru_hole circle (at 4.155 2.84) (size 1.6 1.6) (drill 1) (layers *.Cu *.Mask)) + (pad 8 thru_hole circle (at 6.925 2.84) (size 1.6 1.6) (drill 1) (layers *.Cu *.Mask)) + (pad 9 thru_hole circle (at 9.695 2.84) (size 1.6 1.6) (drill 1) (layers *.Cu *.Mask)) + (pad 0 thru_hole circle (at -6.96 1.42) (size 4 4) (drill 3.2) (layers *.Cu *.Mask)) + (pad 0 thru_hole circle (at 18.04 1.42) (size 4 4) (drill 3.2) (layers *.Cu *.Mask)) + (fp_text user %R (at 5.54 13.94) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (model ${KISYS3DMOD}/Connector_Dsub.3dshapes/DSUB-9_Male_Horizontal_P2.77x2.84mm_EdgePinOffset7.70mm_Housed_MountingHolesOffset9.12mm.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) +) \ No newline at end of file diff --git a/fp-lib-table b/fp-lib-table new file mode 100644 index 0000000..7691ba4 --- /dev/null +++ b/fp-lib-table @@ -0,0 +1,3 @@ +(fp_lib_table + (lib (name footprints)(type KiCad)(uri ${KIPRJMOD}/footprints.pretty)(options "")(descr "local footprints")) +)