Skip to content

Commit

Permalink
Fix mx rotation (#17)
Browse files Browse the repository at this point in the history
* Move column-level attributes to key-level

* Place rectangles by their centers

* Minor test adjustments

* Simplify the names in individual point "zones"

* Roadmap update

* Add key-level orient

* fix (mx): Rotate hotswap pads along with point

Co-authored-by: Bán Dénes <[email protected]>
  • Loading branch information
MvEerd and mrzealot committed Jan 9, 2022
1 parent b91dba0 commit be88058
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/footprints/mx.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ module.exports = {
(pad "" np_thru_hole circle (at ${def_neg}3.81 -2.54) (size 3 3) (drill 3) (layers *.Cu *.Mask))
${'' /* net pads */}
(pad 1 smd rect (at ${def_neg}7.085 -2.54 180) (size 2.55 2.5) (layers ${def_side}.Cu ${def_side}.Paste ${def_side}.Mask) ${p.net.from.str})
(pad 2 smd rect (at ${def_pos}5.842 -5.08 180) (size 2.55 2.5) (layers ${def_side}.Cu ${def_side}.Paste ${def_side}.Mask) ${p.net.to.str})
(pad 1 smd rect (at ${def_neg}7.085 -2.54 ${p.rot+180}) (size 2.55 2.5) (layers ${def_side}.Cu ${def_side}.Paste ${def_side}.Mask) ${p.net.from.str})
(pad 2 smd rect (at ${def_pos}5.842 -5.08 ${p.rot+180}) (size 2.55 2.5) (layers ${def_side}.Cu ${def_side}.Paste ${def_side}.Mask) ${p.net.to.str})
`
} else {
return `
Expand Down

0 comments on commit be88058

Please sign in to comment.