wokwi / easyeda2kicad

Convert EasyEDA designs to KiCad EDA
https://wokwi.com/tools/easyeda2kicad
Other
287 stars 39 forks source link

Rectangular SMD pads seem to be 90 degree rotated #8

Closed mtiutiu closed 4 years ago

mtiutiu commented 4 years ago

Description: I noticed that some rectangular pads are rotated also causing collisions with vias (in this case a ground one).

Expected result: Pads should have the right orientation.

See attached screenshots.

Conversion result: shifted_gnd_via

Original: original

EasyEDA project: Touch_Switch_2ch.zip

easyeda2kicad version: 1.3.1

urish commented 4 years ago

Are you sure the VIA is shifted? It seems in the correct place to me, just XL1/XL2 pads are rotated? Perhaps this is the same issue as #7

mtiutiu commented 4 years ago

Sorry, you're right. I was in a rush and took the wrong conclusion. The pads for that crystal are rotated actually and collide with the GND via.

mtiutiu commented 4 years ago

Indeed this may be related to #7 .

urish commented 4 years ago

Cool, I think I know where the problem is - seems like the width and height attributes need to be rotated according to the part/pad orientation when converting between Kicad and EasyEDA. Looking into it right now

mtiutiu commented 4 years ago

Fixed in #7.