Eugene Mikhantyev
f7660e15ad
test: encode eeschema kicad-cli ground truth (currently RED)
Update existing rotation/mirror assertions and add a kicad-cli-grounded
regression suite. eeschema's pin transform is verified against:
- rotation: TRANSFORM(0,1,-1,0) for rot=90 — CCW in screen Y-down
- mirror x: SYM_MIRROR_X = TRANSFORM(1,0,0,-1) — negates internal Y
- mirror y: SYM_MIRROR_Y = TRANSFORM(-1,0,0,1) — negates internal X
Updated assertions:
- test_pin_locator_y_flip: rotated cap pin 1 X 153.81 → 146.19
- test_move_with_wire_preservation::test_resistor_rotated_90:
pin 1 X 103.81 → 96.19
- test_hierarchical_pad_net_map::test_90_degree_rotation:
swapped UP_NET / DN_NET label coords
New file tests/test_pin_world_xy_eeschema_truth.py:
- 4 parametrized diode tests via kicad-cli netlist (oracle = eeschema)
- 2 parametrized resistor mirror tests via kicad-cli netlist
- 3 pure-math pin_world_xy assertions for rot=90, mirror_x, mirror_y
Currently RED on rotation 90/270 (rotation direction) and mirror_x/y
(axis semantics swapped). Production fix in WireDragger.pin_world_xy
to follow.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-03 22:24:14 +01:00
..
2026-04-18 12:55:41 +01:00
2026-04-18 15:23:00 +01:00
2026-04-12 11:22:39 +01:00
2026-04-29 21:40:39 +01:00
2026-04-19 10:15:02 -04:00
2026-05-01 10:03:49 -07:00
2026-04-12 15:49:15 +01:00
2026-04-08 10:27:53 +02:00
2026-04-12 11:22:39 +01:00
2026-04-14 12:52:17 -04:00
2026-04-12 11:22:39 +01:00
2026-04-12 15:29:46 +01:00
2026-04-29 21:40:39 +01:00
2026-05-03 22:24:14 +01:00
2026-04-15 12:32:09 -04:00
2026-04-15 22:40:14 +10:00
2026-05-03 22:24:14 +01:00
2026-04-12 15:46:32 +01:00
2026-04-12 14:12:11 +01:00
2026-04-12 18:52:46 +01:00
2026-05-03 21:53:21 +01:00
2026-05-03 22:24:14 +01:00
2026-05-03 22:24:14 +01:00
2026-04-18 15:23:00 +01:00
2026-05-03 22:02:22 +01:00
2026-04-12 14:44:12 +01:00
2026-04-12 11:22:39 +01:00
2026-04-21 10:12:52 -07:00
2026-04-18 23:14:29 +01:00
2026-04-12 11:22:39 +01:00
2026-04-12 18:10:55 +01:00
2026-04-18 12:55:41 +01:00
2026-03-29 23:45:21 +01:00
2026-04-12 17:02:35 +01:00
2026-04-26 14:59:47 +01:00