add hole 3.2mm and 3.2x4.3mm

This commit is contained in:
chinky 2020-03-28 23:00:02 +08:00
parent 7f1cf9d166
commit d32443dd71
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,17 @@
(module MountingHole_3.2mm_M3 (layer F.Cu) (tedit 5E7F6644)
(descr "Mounting Hole 3.2mm, no annular, M3")
(tags "mounting hole 3.2mm no annular m3")
(attr virtual)
(fp_text reference REF** (at 0 -4.2) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value MountingHole_3.2mm_M3 (at 0 4.2) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_circle (center 0 0) (end 3.45 0) (layer F.CrtYd) (width 0.05))
(fp_circle (center 0 0) (end 3.2 0) (layer F.SilkS) (width 0.15))
(fp_text user %R (at 0.3 0) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(pad 1 np_thru_hole circle (at 0 0) (size 3.2 3.2) (drill 3.2) (layers *.Cu *.Mask))
)

View File

@ -0,0 +1,23 @@
(module MountingHole_3.2x4.3mm (layer F.Cu) (tedit 5E7F6607)
(descr "Mounting Hole 3.2x4.3mm, no annular, M3")
(tags "mounting hole 3.2x4.3mm no annular m3")
(attr virtual)
(fp_text reference REF** (at 0 -4.2) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value MountingHole_3.2x4.3mm (at 0 4.2) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user %R (at 0.3 0) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_arc (start -0.5 0) (end -0.5 -3.2) (angle -180) (layer F.SilkS) (width 0.15))
(fp_arc (start 0.5 0) (end 0.5 3.2) (angle -180) (layer F.SilkS) (width 0.15))
(fp_line (start -0.5 -3.2) (end 0.5 -3.2) (layer F.SilkS) (width 0.15))
(fp_line (start 0.5 3.2) (end -0.5 3.2) (layer F.SilkS) (width 0.15))
(fp_arc (start -0.5 0) (end -0.5 -3.45) (angle -180) (layer F.CrtYd) (width 0.05))
(fp_arc (start 0.5 0) (end 0.5 3.45) (angle -180) (layer F.CrtYd) (width 0.05))
(fp_line (start -0.5 -3.45) (end 0.5 -3.45) (layer F.CrtYd) (width 0.05))
(fp_line (start 0.5 3.45) (end -0.5 3.45) (layer F.CrtYd) (width 0.05))
(pad "" np_thru_hole oval (at 0 0) (size 4.3 3.2) (drill oval 4.3 3.2) (layers *.Cu *.Mask))
)