bennymeg / Fabrication-Toolkit

An JLC PCB Fabrication Plugin for KiCad
Apache License 2.0
322 stars 57 forks source link

Use a predefined rotation file #23

Closed hildogjr closed 1 year ago

hildogjr commented 2 years ago

JLCPCB and Kicad use a different patter to quadrant position of footprints pin-1 to mark the 0 degree angle. That is several threads about this discussion on forum.

In practical away there is a standard rotation for most of the footprints, in the past I used/update a old package about. It use this definition file that we cold merge to this project: https://github.com/hildogjr/kicad_jlcpcba/blob/master/rotations.cf

All the footprints that match with regular expression defined at the file follow the specified rotation.