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:
@ -0,0 +1,36 @@
|
||||
(module SOT-23-5_HandSoldering (layer F.Cu) (tedit 5BD952B9)
|
||||
(descr "5-pin SOT23 package")
|
||||
(tags "SOT-23-5 hand-soldering")
|
||||
(attr smd)
|
||||
(fp_text reference REF** (at 0 -2.9) (layer F.SilkS)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_text value SOT-23-5_HandSoldering (at 0 2.9) (layer F.Fab)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_text user %R (at 0 0 90) (layer F.Fab)
|
||||
(effects (font (size 0.5 0.5) (thickness 0.075)))
|
||||
)
|
||||
(fp_line (start -0.9 1.61) (end 0.9 1.61) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start 0.9 -1.61) (end -1.55 -1.61) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -0.9 -0.9) (end -0.25 -1.55) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 0.9 -1.55) (end -0.25 -1.55) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -0.9 -0.9) (end -0.9 1.55) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 0.9 1.55) (end -0.9 1.55) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 0.9 -1.55) (end 0.9 1.55) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -2.38 -1.8) (end 2.38 -1.8) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start -2.38 -1.8) (end -2.38 1.8) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start 2.38 1.8) (end 2.38 -1.8) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start 2.38 1.8) (end -2.38 1.8) (layer F.CrtYd) (width 0.05))
|
||||
(pad 1 smd rect (at -1.35 -0.95) (size 1.56 0.65) (layers F.Cu F.Paste F.Mask))
|
||||
(pad 2 smd rect (at -1.35 0) (size 1.56 0.65) (layers F.Cu F.Paste F.Mask))
|
||||
(pad 3 smd rect (at -1.35 0.95) (size 1.56 0.65) (layers F.Cu F.Paste F.Mask))
|
||||
(pad 4 smd rect (at 1.35 0.95) (size 1.56 0.65) (layers F.Cu F.Paste F.Mask))
|
||||
(pad 5 smd rect (at 1.35 -0.95) (size 1.56 0.65) (layers F.Cu F.Paste F.Mask))
|
||||
(pad "" smd circle (at -2.9 -0.9 180) (size 0.6 0.6) (layers F.SilkS))
|
||||
(model ${KIPRJMOD}/tomu-fpga.pretty/SOT-23-5.wrl
|
||||
(at (xyz 0 0 0))
|
||||
(scale (xyz 1 1 1))
|
||||
(rotate (xyz 0 0 0))
|
||||
)
|
||||
)
|
Reference in New Issue
Block a user