Merge pull request #133 from johndev7000/fix/pin-locator-y-double-negation

fix: remove duplicate Y-axis negation in PinLocator.get_pin_location
This commit is contained in:
Eugene Mikhantyev
2026-04-25 23:29:43 +01:00
committed by GitHub
2 changed files with 112 additions and 3 deletions

View File

@@ -384,9 +384,6 @@ class PinLocator:
logger.debug(f"Pin {pin_number} relative position: ({pin_rel_x}, {pin_rel_y})")
# lib_symbols uses y-up; schematic uses y-down
pin_rel_y = -pin_rel_y
# Mirror in local coords after y-negate (KiCad transform order)
# mirror_x = flip across X axis → negate y
# mirror_y = flip across Y axis → negate x