Closed 1000eyed closed 8 months ago
it is reproducible, something is wrong with handling relative positions when elements are rotated at the beginning. I will try to fix that in the near future, in the meantime you could work around that:
import pcbnew
b = pcbnew.GetBoard()
for f in b.GetFootprints():
if "D" in f.GetReference():
f.SetOrientationDegrees(90.0)
pcbnew.Refresh()
Thanks! 👍
Describe the bug What it says in the title. When I use diode autoplacement relatively to the first switch-diode pair, all switches are rotated to a certain degree. I expect that diodes should remain square to switches in this case. Plugin does not crash though.
Additional context I observe this behavior on switches which are not square to the PCB drawing. I assume it is connected to the layout I am building?
Screenshots
diode_bug.zip
KiCad version info