Ergogen: Fix DRC issues in KiCad footprints

This commit is contained in:
Lexi / Zoe 2024-08-03 23:29:11 +02:00
parent 671f85b13e
commit f438b19352
Signed by: binaryDiv
GPG key ID: F8D4956E224DA232
5 changed files with 11 additions and 6 deletions

View file

@ -28,6 +28,7 @@ module.exports = {
const standard = `
(module PG1350 (layer F.Cu) (tedit 5DD50112)
${p.at /* parametric position */}
(attr smd)
${'' /* footprint reference */}
(fp_text reference "${p.ref}" (at 0 0) (layer F.SilkS) ${p.ref_hide} (effects (font (size 1.27 1.27) (thickness 0.15))))
@ -61,7 +62,8 @@ module.exports = {
return `
${'' /* switch marks */}
(fp_line (start -7 -7) (end 7 -7) (layer ${def_side}.SilkS) (width 0.15))
(fp_line (start -7 -7) (end -1.5 -7) (layer ${def_side}.SilkS) (width 0.15))
(fp_line (start 1.5 -7) (end 7 -7) (layer ${def_side}.SilkS) (width 0.15))
(fp_line (start 7 -7) (end 7 7) (layer ${def_side}.SilkS) (width 0.15))
(fp_line (start 7 7) (end -7 7) (layer ${def_side}.SilkS) (width 0.15))
(fp_line (start -7 7) (end -7 -7) (layer ${def_side}.SilkS) (width 0.15))