wokwi / easyeda2kicad

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

Unable to open KiCAD pcb file #12

Closed mtiutiu closed 4 years ago

mtiutiu commented 4 years ago

Description: I tried to convert one of my projects to KiCAD and the process seems to be successful (lots of warnings though). When I try to open the generated kicad_pcb file I get this error message and it refuses to go further.

Expected result: Should be able to open the generated KiCAD pcb file without issues.

Screenshot from 2020-01-27 12-44-15

Original PCB:

Top view: top

Bottom view: bottom

KiCAD version (latest stable): 5.1.5 easyeda2kicad version: 1.3.2

Source file used for testing: custom_pcb.zip

Thanks.

mtiutiu commented 4 years ago

@urish

It seems that the generated kicad pcb file had this entry at the end (I opened the file with an text editor): (xy NaN NaN). I deleted that entry and I was able to open the PCB design file. I think it was a keep out zone that I defined in EasyEDA but I'm not sure. The zone fill doesn't seem to be a grid style as in the original picture. But that is because it's not supported in KiCAD 5.1.5.

mtiutiu commented 4 years ago

This design is a little bit different as I had to add some overlapping ground fill zones and some floating ground traces over where they intersect. This is because EasyEDA has some bugs when it comes to overlapped ground fill zones or so it seems. So I had to do some ugly "hacks" 😄 . Not ideal I know..but it worked and served to my final purpose.

urish commented 4 years ago

Yeah, it seems like the keepout zone uses an SVG arc: M 4367 3248 A 33.8 33.8 0 1 0 4366.99 3248 Z I think this is not directly supported by KiCad, so as a workaround, we'll ignore such zones for now.

urish commented 4 years ago

Regarding the hatched fill (grid style) - yea, unfortunately it's not supported by KiCad :-(

mtiutiu commented 4 years ago

Works as expected now. Thanks.