You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding layers to the Additional Layers text box, the titles have to be the standard KiCad layers names. This makes sense for most layers, but custom user-defined layers (and sometimes even normal layers) usually have custom names.
E.g. in this example, the User.1 has been renamed F.glue in Board Setup, but you still need to search for User.1, and including F.glue does not work:
The only reason for this is because layer_info is indexed with 0 instead of 2 in these two sections of code:
I kept the KiCad layer names when adding the util in #152, but I think it would be more useful to be able to use the user-specified layer name directly. In theory changing these two lines should do it without affecting gerber generation.
The text was updated successfully, but these errors were encountered:
When adding layers to the Additional Layers text box, the titles have to be the standard KiCad layers names. This makes sense for most layers, but custom user-defined layers (and sometimes even normal layers) usually have custom names.
E.g. in this example, the User.1 has been renamed F.glue in Board Setup, but you still need to search for User.1, and including F.glue does not work:
The only reason for this is because
layer_info
is indexed with0
instead of2
in these two sections of code:Fabrication-Toolkit/plugins/utils.py
Lines 75 to 78 in a308115
Fabrication-Toolkit/plugins/process.py
Line 77 in a308115
I kept the KiCad layer names when adding the util in #152, but I think it would be more useful to be able to use the user-specified layer name directly. In theory changing these two lines should do it without affecting gerber generation.
The text was updated successfully, but these errors were encountered: