Closed set-soft closed 2 years ago
This is bug, I will look into it soon.
About svgpathtool dependency. It, unfortunatelly, pulls scipy in setup.py, which is huge, although, the dependency is optional. So if you manage to install without scipy, it still should work and be small. If you have a tip for substitute library, I will welcome such a tip. However, I cannot afford to implement another solution, e.g., via interpreting SVG curves of filtering the entities in KiCAD based on their visibility in the rendering.
This is actually a duplicate of #88. Your board has pads outside the board edge:
Due to #88, they get rendered and the image is therefore enlarged due to their presence. When you remove these pads, shrinking works.
A workaround for #88 was implemented as the bug probably won't be fixed in KiCAD.
I tried
--shrink
on the following PCB: spora using:And it crashed:
BTW: the svgpathtool dependency pulls at least 64 MB of stuff, I think this is an overkill to implement
--shrink