ohmtech-rdi / eurorack-blocks

Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust
Other
317 stars 21 forks source link

Fix rotation for bottom parts #668

Closed ohmtech-rdi closed 8 months ago

ohmtech-rdi commented 8 months ago

This PR fixes the rotation of bottom parts in the generated centroid.

[!CAUTION] This is a breaking change. All PCBA made with ERB needs to fix their rotation when using bottom parts, for parts for which orientation is critical. This won't affect resistors or non-polarised capacitors.

In kicad, front part rotation is CCW but bottom part rotation is CW. Compensate for this when calculating rotation.