Open ReinBentdal opened 1 year ago
i'm not sure it's an issue with this script but with Kicad himself.
Hi, thanks for reporting this.
It is indeed missing as EasyEDA consider the cutout as not just a regular shape on the Edge.Cuts layer, but as a solidregion which was not handled.
I added a handler for the simple polygons cutouts, unfortunately I do not have the time to look deeper into it and try to understand the logic of how EasyEDA parse the more complex shapes.
The polygons function correctly once they are placed on a board, but the 3D preview may not display correctly in some instances. I am unsure of the reason for this issue :
footprint 3D preview :
PCBnew 3D viewer :
Help would be greatly appreciated to handle more complex shapes and solve the previous issue.
The component C2687297
contains shapes that can be used to work on this.
If you want to help, the current handler can be found in the footprint handler file : https://github.com/TousstNicolas/JLC2KiCad_lib/blob/fd492d0f21c526d10292b3d26dc50af3f3c9b13f/JLC2KiCadLib/footprint/footprint_handlers.py#L329-L337
Thanks for you effort! I will check out the new version when I have time. Maybe if I have time in the future, and feel the need, I will investigate
Describe the bug PCB cutout not included when creating footprint
To Reproduce Steps to reproduce the behavior:
Expected behavior I would expect the lib to also be able to include cutouts in the parts
Screenshots EasyEDA:
KiCad: