pcb: add our own copies of 3d models and footprints
The Kicad default footprints seem volatile and unreliable. Going between two machines that both have "Kicad 5.0.0" installed results in incompatibilities because KiCad has renamed their footprint libraries. Also, for some reason it's going to Github to get footprints instead of using local copies. Copy every model and footprint we use into a local tomu-fpga.pretty. This lets us ensure we can work offline, and also allows us to modify footprints, e.g. by adding a "Pin 1" marker. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
34
hardware/pcb/tomu-fpga.pretty/LED_0805_2012Metric.kicad_mod
Normal file
34
hardware/pcb/tomu-fpga.pretty/LED_0805_2012Metric.kicad_mod
Normal file
@ -0,0 +1,34 @@
|
||||
(module LED_0805_2012Metric (layer F.Cu) (tedit 5BD93E58)
|
||||
(descr "LED SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator")
|
||||
(tags diode)
|
||||
(attr smd)
|
||||
(fp_text reference REF** (at 0 -1.65) (layer F.SilkS)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_text value LED_0805_2012Metric (at 0 1.65) (layer F.Fab)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_line (start 1 -0.6) (end -0.7 -0.6) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -0.7 -0.6) (end -1 -0.3) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -1 -0.3) (end -1 0.6) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -1 0.6) (end 1 0.6) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 1 0.6) (end 1 -0.6) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 1 -0.96) (end -1.685 -0.96) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -1.685 -0.96) (end -1.685 0.96) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -1.685 0.96) (end 1 0.96) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -1.68 0.95) (end -1.68 -0.95) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start -1.68 -0.95) (end 1.68 -0.95) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start 1.68 -0.95) (end 1.68 0.95) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start 1.68 0.95) (end -1.68 0.95) (layer F.CrtYd) (width 0.05))
|
||||
(fp_text user %R (at 0 0) (layer F.Fab)
|
||||
(effects (font (size 0.5 0.5) (thickness 0.08)))
|
||||
)
|
||||
(pad 1 smd roundrect (at -0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
|
||||
(pad 2 smd roundrect (at 0.9375 0) (size 0.975 1.4) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
|
||||
(pad "" smd circle (at -2 0 180) (size 0.3 0.3) (layers F.SilkS))
|
||||
(model ${KISYS3DMOD}/LED_SMD.3dshapes/LED_0805_2012Metric.wrl
|
||||
(at (xyz 0 0 0))
|
||||
(scale (xyz 1 1 1))
|
||||
(rotate (xyz 0 0 0))
|
||||
)
|
||||
)
|
Reference in New Issue
Block a user