bennymeg / Fabrication-Toolkit

An JLC PCB Fabrication Plugin for KiCad
Apache License 2.0
311 stars 53 forks source link

Fix case of PlotLayers attribute check #120

Closed pyjamasam closed 7 months ago

pyjamasam commented 7 months ago

The PlotLayers property has a capital P (https://gitlab.com/kicad/code/kicad/-/blob/7.0/pcbnew/plotcontroller.h#L98)

hasattr(and internally getattr) is case sensitive. This resulted in the User.1 layer not being included for v-cuts even if it existed in the project