Open CarbonV opened 2 months ago
Could you try adding a tolerance parameter to appendBoard
, which is the size of line width of edges?
What is the unit of tolerance? When I use a tolerance of "2" it doesn't make a difference the Line Width of edges is 0.1mm.
It's the default KiCAD unit - 1nm. There function fromMm
and toMm
. You can also import constants from kikit.units import mm
and then write 1 * mm
.
Adding a tolerance worked! Thank you. Could you elaborate why?
It seems that some change in the history started to include the line width; we never noticed as CLI always uses some tolerance and also all my custom scripts.
Maybe it's an option to have a default tolerance in panelize.py?
Prerequisites
KiKit version
1.5.1
KiCAD version
8.0.3
Operating system
Windows 11
Description
I have written a custom script to try and panelize with two boards. I have also run some scripts to print all the layers, Edge.Cuts layer is present and a script that checks for board edges which returns true. I assume I am not using the appendBoard function correctly.
I am running from KiCad commandline.
Steps to Reproduce
Run code using KiCad commandline.