mirror of
https://gitlab.com/kicad/libraries/kicad-footprints.git
synced 2025-04-09 00:30:06 +00:00
A few more integer division problems
These footprints also had issues with integer division. I think I'm running the wrong Python but otherwise working ok. :)
This commit is contained in:
parent
ee0db2c63e
commit
9172d10db4
@ -1,27 +1,27 @@
|
||||
(module R_Box_L13.0mm_W4.0mm_P9.00mm (layer F.Cu) (tedit 5A24F4B8)
|
||||
(descr "Resistor, Box series, Radial, pin pitch=9.00mm, 2W, length*width=13*4mm^2, http://www.produktinfo.conrad.com/datenblaetter/425000-449999/443860-da-01-de-METALLBAND_WIDERSTAND_0_1_OHM_5W_5Pr.pdf")
|
||||
(tags "Resistor Box series Radial pin pitch 9.00mm 2W length 13mm width 4mm")
|
||||
(fp_text reference REF** (at 4 -3.37) (layer F.SilkS)
|
||||
(module R_Box_L13.0mm_W4.0mm_P9.00mm (layer F.Cu) (tedit 5A25026C)
|
||||
(descr "Resistor, Box series, Radial, pin pitch=9.00mm, 2W, length*width=13.0*4.0mm^2, http://www.produktinfo.conrad.com/datenblaetter/425000-449999/443860-da-01-de-METALLBAND_WIDERSTAND_0_1_OHM_5W_5Pr.pdf")
|
||||
(tags "Resistor Box series Radial pin pitch 9.00mm 2W length 13.0mm width 4.0mm")
|
||||
(fp_text reference REF** (at 4.5 -3.37) (layer F.SilkS)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_text value R_Box_L13.0mm_W4.0mm_P9.00mm (at 4 3.37) (layer F.Fab)
|
||||
(fp_text value R_Box_L13.0mm_W4.0mm_P9.00mm (at 4.5 3.37) (layer F.Fab)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_line (start -3 -2) (end -3 2) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -3 2) (end 10 2) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 10 2) (end 10 -2) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 10 -2) (end -3 -2) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -3.12 -2.12) (end 10.12 -2.12) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -3.12 2.12) (end 10.12 2.12) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -3.12 -2.12) (end -3.12 2.12) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start 10.12 -2.12) (end 10.12 2.12) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -2.9 -2.4) (end -2.9 2.4) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start -2.9 2.4) (end 10.9 2.4) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start 10.9 2.4) (end 10.9 -2.4) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start 10.9 -2.4) (end -2.9 -2.4) (layer F.CrtYd) (width 0.05))
|
||||
(pad 1 thru_hole circle (at -1 0) (size 2 2) (drill 1) (layers *.Cu *.Mask))
|
||||
(pad 2 thru_hole circle (at 8 0) (size 2 2) (drill 1) (layers *.Cu *.Mask))
|
||||
(fp_text user %R (at 4 0) (layer F.Fab)
|
||||
(fp_line (start -2 -2) (end -2 2) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -2 2) (end 11 2) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 11 2) (end 11 -2) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 11 -2) (end -2 -2) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -2.12 -2.12) (end 11.12 -2.12) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -2.12 2.12) (end 11.12 2.12) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -2.12 -2.12) (end -2.12 2.12) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start 11.12 -2.12) (end 11.12 2.12) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -2.4 -2.4) (end -2.4 2.4) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start -2.4 2.4) (end 11.4 2.4) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start 11.4 2.4) (end 11.4 -2.4) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start 11.4 -2.4) (end -2.4 -2.4) (layer F.CrtYd) (width 0.05))
|
||||
(pad 1 thru_hole circle (at 0 0) (size 2 2) (drill 1) (layers *.Cu *.Mask))
|
||||
(pad 2 thru_hole circle (at 9 0) (size 2 2) (drill 1) (layers *.Cu *.Mask))
|
||||
(fp_text user %R (at 4.5 0) (layer F.Fab)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(model ${KISYS3DMOD}/Resistor_THT.3dshapes/R_Box_L13.0mm_W4.0mm_P9.00mm.wrl
|
||||
|
@ -1,27 +1,27 @@
|
||||
(module R_Box_L14.0mm_W5.0mm_P9.00mm (layer F.Cu) (tedit 5A24F4B8)
|
||||
(descr "Resistor, Box series, Radial, pin pitch=9.00mm, 5W, length*width=14*5mm^2, http://www.produktinfo.conrad.com/datenblaetter/425000-449999/443860-da-01-de-METALLBAND_WIDERSTAND_0_1_OHM_5W_5Pr.pdf")
|
||||
(tags "Resistor Box series Radial pin pitch 9.00mm 5W length 14mm width 5mm")
|
||||
(fp_text reference REF** (at 4 -3.87) (layer F.SilkS)
|
||||
(module R_Box_L14.0mm_W5.0mm_P9.00mm (layer F.Cu) (tedit 5A25026C)
|
||||
(descr "Resistor, Box series, Radial, pin pitch=9.00mm, 5W, length*width=14.0*5.0mm^2, http://www.produktinfo.conrad.com/datenblaetter/425000-449999/443860-da-01-de-METALLBAND_WIDERSTAND_0_1_OHM_5W_5Pr.pdf")
|
||||
(tags "Resistor Box series Radial pin pitch 9.00mm 5W length 14.0mm width 5.0mm")
|
||||
(fp_text reference REF** (at 4.5 -3.87) (layer F.SilkS)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_text value R_Box_L14.0mm_W5.0mm_P9.00mm (at 4 3.87) (layer F.Fab)
|
||||
(fp_text value R_Box_L14.0mm_W5.0mm_P9.00mm (at 4.5 3.87) (layer F.Fab)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_line (start -3 -3) (end -3 2) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -3 2) (end 11 2) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 11 2) (end 11 -3) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 11 -3) (end -3 -3) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -3.12 -3.12) (end 11.12 -3.12) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -3.12 2.12) (end 11.12 2.12) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -3.12 -3.12) (end -3.12 2.12) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start 11.12 -3.12) (end 11.12 2.12) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -3.4 -2.9) (end -3.4 2.9) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start -3.4 2.9) (end 11.4 2.9) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start 11.4 2.9) (end 11.4 -2.9) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start 11.4 -2.9) (end -3.4 -2.9) (layer F.CrtYd) (width 0.05))
|
||||
(pad 1 thru_hole circle (at -1 0) (size 2 2) (drill 1) (layers *.Cu *.Mask))
|
||||
(pad 2 thru_hole circle (at 8 0) (size 2 2) (drill 1) (layers *.Cu *.Mask))
|
||||
(fp_text user %R (at 4 0) (layer F.Fab)
|
||||
(fp_line (start -2.5 -2.5) (end -2.5 2.5) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -2.5 2.5) (end 11.5 2.5) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 11.5 2.5) (end 11.5 -2.5) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 11.5 -2.5) (end -2.5 -2.5) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -2.62 -2.62) (end 11.62 -2.62) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -2.62 2.62) (end 11.62 2.62) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -2.62 -2.62) (end -2.62 2.62) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start 11.62 -2.62) (end 11.62 2.62) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -2.9 -2.9) (end -2.9 2.9) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start -2.9 2.9) (end 11.9 2.9) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start 11.9 2.9) (end 11.9 -2.9) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start 11.9 -2.9) (end -2.9 -2.9) (layer F.CrtYd) (width 0.05))
|
||||
(pad 1 thru_hole circle (at 0 0) (size 2 2) (drill 1) (layers *.Cu *.Mask))
|
||||
(pad 2 thru_hole circle (at 9 0) (size 2 2) (drill 1) (layers *.Cu *.Mask))
|
||||
(fp_text user %R (at 4.5 0) (layer F.Fab)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(model ${KISYS3DMOD}/Resistor_THT.3dshapes/R_Box_L14.0mm_W5.0mm_P9.00mm.wrl
|
||||
|
@ -1,20 +1,20 @@
|
||||
(module R_Box_L26.0mm_W5.0mm_P20.00mm (layer F.Cu) (tedit 5A24F4B8)
|
||||
(descr "Resistor, Box series, Radial, pin pitch=20.00mm, 10W, length*width=26*5mm^2, http://www.produktinfo.conrad.com/datenblaetter/425000-449999/443860-da-01-de-METALLBAND_WIDERSTAND_0_1_OHM_5W_5Pr.pdf")
|
||||
(tags "Resistor Box series Radial pin pitch 20.00mm 10W length 26mm width 5mm")
|
||||
(module R_Box_L26.0mm_W5.0mm_P20.00mm (layer F.Cu) (tedit 5A25026C)
|
||||
(descr "Resistor, Box series, Radial, pin pitch=20.00mm, 10W, length*width=26.0*5.0mm^2, http://www.produktinfo.conrad.com/datenblaetter/425000-449999/443860-da-01-de-METALLBAND_WIDERSTAND_0_1_OHM_5W_5Pr.pdf")
|
||||
(tags "Resistor Box series Radial pin pitch 20.00mm 10W length 26.0mm width 5.0mm")
|
||||
(fp_text reference REF** (at 10 -3.87) (layer F.SilkS)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_text value R_Box_L26.0mm_W5.0mm_P20.00mm (at 10 3.87) (layer F.Fab)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
)
|
||||
(fp_line (start -3 -3) (end -3 2) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -3 2) (end 23 2) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 23 2) (end 23 -3) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 23 -3) (end -3 -3) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -3.12 -3.12) (end 23.12 -3.12) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -3.12 2.12) (end 23.12 2.12) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -3.12 -3.12) (end -3.12 2.12) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start 23.12 -3.12) (end 23.12 2.12) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -3 -2.5) (end -3 2.5) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -3 2.5) (end 23 2.5) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 23 2.5) (end 23 -2.5) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start 23 -2.5) (end -3 -2.5) (layer F.Fab) (width 0.1))
|
||||
(fp_line (start -3.12 -2.62) (end 23.12 -2.62) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -3.12 2.62) (end 23.12 2.62) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -3.12 -2.62) (end -3.12 2.62) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start 23.12 -2.62) (end 23.12 2.62) (layer F.SilkS) (width 0.12))
|
||||
(fp_line (start -3.4 -2.9) (end -3.4 2.9) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start -3.4 2.9) (end 23.4 2.9) (layer F.CrtYd) (width 0.05))
|
||||
(fp_line (start 23.4 2.9) (end 23.4 -2.9) (layer F.CrtYd) (width 0.05))
|
||||
|
Loading…
Reference in New Issue
Block a user