aboutsummaryrefslogtreecommitdiff
path: root/ergogen/footprints
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2026-03-13 18:44:52 +0000
committertslil <tslil@posteo.de>2026-08-28 19:24:48 +0100
commitd7d5accc5fb814ffaf6f1985bcc4c745a0bc3894 (patch)
tree5e2a5fbb5aa2f3ff45b5ca070ddd7b1b65452a89 /ergogen/footprints
parenta5e030d6d993377f795ea98c7537e14dad976aff (diff)
v5: fix spacing, placement, add vias to gnd
Diffstat (limited to 'ergogen/footprints')
-rw-r--r--ergogen/footprints/mx6c_ulp.js14
1 files changed, 9 insertions, 5 deletions
diff --git a/ergogen/footprints/mx6c_ulp.js b/ergogen/footprints/mx6c_ulp.js
index 17a1cd4..aad8fd3 100644
--- a/ergogen/footprints/mx6c_ulp.js
+++ b/ergogen/footprints/mx6c_ulp.js
@@ -25,7 +25,7 @@ module.exports = {
(footprint "ULP_HANDSOLDER" (version 20260313) (generator pcbnew)
(layer "F.Cu")
${p.at}
- (attr smd)
+ (attr virtual)
(property "Reference" "${p.ref}"
(at -0.05 -7.5 ${p.r})
(unlocked yes)
@@ -101,6 +101,8 @@ module.exports = {
(pad "" np_thru_hole circle (at -5.8 2.75 ${p.r}) (size 1.05 1.05) (drill 1.05) (layers "*.Cu" "*.Mask"))
(pad "" np_thru_hole oval (at 5.825 -3.0 ${p.r}) (size 1.3 1.85) (drill oval 1.3 1.85) (layers "*.Cu" "*.Mask"))
(pad "" np_thru_hole oval (at 5.825 3.0 ${p.r}) (size 1.3 1.85) (drill oval 1.3 1.85) (layers "*.Cu" "*.Mask"))
+ (pad "1" thru_hole circle (at -0.5 2.4 ${p.r}) (size 1.5 1.5) (drill 1.1) (layers "*.Cu" "*.Mask") (remove_unused_layers no) ${p.from})
+ (pad "2" thru_hole circle (at 1.8 2.4 ${p.r}) (size 1.5 1.5) (drill 1.1) (layers "*.Cu" "*.Mask") (remove_unused_layers no) ${p.to})
(pad "1" thru_hole circle (at -0.5 2.4 ${p.r}) (size 1.3 1.3) (drill 1.1) (layers "*.Cu" "*.Mask") (remove_unused_layers no) ${p.from})
(pad "2" thru_hole circle (at 1.8 2.4 ${p.r}) (size 1.3 1.3) (drill 1.1) (layers "*.Cu" "*.Mask") (remove_unused_layers no) ${p.to})
(pad "3" smd rect (at -5.9 -5.4 ${p.r}) (size 2.5 2.0) (layers "F.Cu" "F.Mask") ${p.ground || ''})
@@ -146,16 +148,18 @@ module.exports = {
)
(pad "" np_thru_hole circle (at -5.8 -1.2 ${p.r}) (size 1.05 1.05) (drill 1.05) (layers "*.Cu" "*.Mask"))
(pad "" np_thru_hole circle (at -5.8 -2.75 ${p.r}) (size 1.05 1.05) (drill 1.05) (layers "*.Cu" "*.Mask"))
+ (pad "1" thru_hole circle (at -0.5 -2.4 ${p.r}) (size 1.5 1.5) (drill 1.1) (layers "*.Cu" "*.Mask") (remove_unused_layers no) ${p.from})
+ (pad "2" thru_hole circle (at 1.8 -2.4 ${p.r}) (size 1.5 1.5) (drill 1.1) (layers "*.Cu" "*.Mask") (remove_unused_layers no) ${p.to})
(pad "1" thru_hole circle (at -0.5 -2.4 ${p.r}) (size 1.3 1.3) (drill 1.1) (layers "*.Cu" "*.Mask") (remove_unused_layers no) ${p.from})
(pad "2" thru_hole circle (at 1.8 -2.4 ${p.r}) (size 1.3 1.3) (drill 1.1) (layers "*.Cu" "*.Mask") (remove_unused_layers no) ${p.to})
(pad "3" smd rect (at -5.9 5.4 ${p.r}) (size 2.5 2.0) (layers "B.Cu" "B.Mask") ${p.ground || ''})
(pad "3" smd rect (at -5.9 -5.4 ${p.r}) (size 2.5 2.0) (layers "B.Cu" "B.Mask") ${p.ground || ''})
(pad "3" smd rect (at 5.9 5.4 ${p.r}) (size 2.5 2.0) (layers "B.Cu" "B.Mask") ${p.ground || ''})
(pad "3" smd rect (at 5.9 -5.4 ${p.r}) (size 2.5 2.0) (layers "B.Cu" "B.Mask") ${p.ground || ''})
- (pad "" thru_hole circle (at -5.9 -5.4 ${p.r}) (size 1.05 1.05) (drill 0.6) (layers "*.Cu"))
- (pad "" thru_hole circle (at -5.9 5.4 ${p.r}) (size 1.05 1.05) (drill 0.6) (layers "*.Cu"))
- (pad "" thru_hole circle (at 5.9 -5.4 ${p.r}) (size 1.05 1.05) (drill 0.6) (layers "*.Cu"))
- (pad "" thru_hole circle (at 5.9 5.4 ${p.r}) (size 1.05 1.05) (drill 0.6) (layers "*.Cu"))
+ (pad "" thru_hole circle (at -5.9 -5.4 ${p.r}) (size 1.05 1.05) (drill 0.6) (layers "*.Cu") ${p.ground || ''})
+ (pad "" thru_hole circle (at -5.9 5.4 ${p.r}) (size 1.05 1.05) (drill 0.6) (layers "*.Cu") ${p.ground || ''})
+ (pad "" thru_hole circle (at 5.9 -5.4 ${p.r}) (size 1.05 1.05) (drill 0.6) (layers "*.Cu") ${p.ground || ''})
+ (pad "" thru_hole circle (at 5.9 5.4 ${p.r}) (size 1.05 1.05) (drill 0.6) (layers "*.Cu") ${p.ground || ''})
`;
}