7
mirror of https://gitlab.com/kicad/libraries/kicad-footprints.git synced 2025-05-05 21:38:05 +00:00

Add Cromatek 0.56in 7-segment display footprint ()

* Add Cromatek 0.56in 7-segment display footprint

* Add 3D model and fix description and tags for D168K

* Fix issues brought by footprint review

* Fix F5.3 and F7.2 rule violation

* Fix footprint reference anchor

* Fix alignment between pads and F.Fab layer

* Fix offset from F.Fab to F.SilkS

* Fix footprint size

* Fix internal F.SilkS drawing

* Rotate footprint by 90° relative to pin 1
This commit is contained in:
Alexandre Oliveira 2020-09-30 08:10:41 +02:00 committed by GitHub
parent f2117b2875
commit 876652981a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,50 @@
(module D1X8K (layer F.Cu) (tedit 5F7383F8)
(descr https://ia800903.us.archive.org/24/items/CTKD1x8K/Cromatek%20D168K.pdf)
(tags "Single digit 7 segment ultra bright red")
(fp_text reference REF** (at 0.03 -2.48) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value D1X8K (at -0.02 12.49) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -2.34 -0.8) (end -2.34 0.81) (layer F.SilkS) (width 0.12))
(fp_line (start 17.23 -1.28) (end 17.23 11.44) (layer F.SilkS) (width 0.12))
(fp_line (start 17.23 -1.28) (end -1.99 -1.28) (layer F.SilkS) (width 0.12))
(fp_line (start 17.12 -1.17) (end -0.92 -1.17) (layer F.Fab) (width 0.1))
(fp_line (start -1.88 -0.17) (end -1.88 11.33) (layer F.Fab) (width 0.1))
(fp_line (start 17.12 11.33) (end -1.88 11.33) (layer F.Fab) (width 0.1))
(fp_line (start 17.12 -1.17) (end 17.12 11.33) (layer F.Fab) (width 0.1))
(fp_line (start 17.23 11.44) (end -1.99 11.44) (layer F.SilkS) (width 0.12))
(fp_line (start -1.99 -1.28) (end -1.99 11.44) (layer F.SilkS) (width 0.12))
(fp_line (start 17.37 -1.42) (end 17.37 11.58) (layer F.CrtYd) (width 0.05))
(fp_line (start 17.37 -1.42) (end -2.13 -1.42) (layer F.CrtYd) (width 0.05))
(fp_line (start -2.13 -1.42) (end -2.13 11.58) (layer F.CrtYd) (width 0.05))
(fp_line (start 17.37 11.58) (end -2.13 11.58) (layer F.CrtYd) (width 0.05))
(fp_line (start 13.1832 3.1594) (end 7.8238 3.1594) (layer F.SilkS) (width 0.12))
(fp_line (start 7.7476 3.3372) (end 7.7476 7.0202) (layer F.SilkS) (width 0.12))
(fp_line (start 7.646 3.1594) (end 2.7438 3.1594) (layer F.SilkS) (width 0.12))
(fp_line (start 2.7438 3.3372) (end 2.7438 7.0202) (layer F.SilkS) (width 0.12))
(fp_line (start 7.646 7.198) (end 2.7438 7.198) (layer F.SilkS) (width 0.12))
(fp_line (start 13.1832 7.198) (end 7.8238 7.198) (layer F.SilkS) (width 0.12))
(fp_line (start 13.2086 3.3372) (end 13.2086 7.0202) (layer F.SilkS) (width 0.12))
(fp_circle (center 2.557533 8.07) (end 2.836933 7.689) (layer F.SilkS) (width 0.12))
(fp_line (start -0.92 -1.17) (end -1.88 -0.17) (layer F.Fab) (width 0.1))
(fp_text user %R (at 7.73 2.64) (layer F.Fab)
(effects (font (size 0.35 0.35) (thickness 0.0525)))
)
(pad 10 thru_hole circle (at 15.24 0 270) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask))
(pad 1 thru_hole rect (at 0 0 270) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask))
(pad 9 thru_hole circle (at 15.24 2.54 270) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask))
(pad 8 thru_hole circle (at 15.24 5.08 270) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask))
(pad 7 thru_hole circle (at 15.24 7.62 270) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask))
(pad 6 thru_hole circle (at 15.24 10.16 270) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask))
(pad 2 thru_hole circle (at 0 2.54 270) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask))
(pad 3 thru_hole circle (at 0 5.08 270) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask))
(pad 4 thru_hole circle (at 0 7.62 270) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask))
(pad 5 thru_hole circle (at 0 10.16 270) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask))
(model ${KISYS3DMOD}/Display_7Segment.3dshapes/D1X8K.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)