Open chfriedrich opened 5 months ago
I fixed this temporarily now by changing the if condition in line 187 of dru.py to
if self.layer is not None:
if self.layer == 'inner' or self.layer == 'outer':
expression += f'{indents} (layer {dequote(self.layer)})\n'
else:
expression += f'{indents} (layer "{dequote(self.layer)}")\n'
When I create a custom Rule in KiCad, I can use the syntax
to limit its scope to all inner layers.
This is not possible with kiutils, because the layers member is a string, which gets parsed to
with the word inner in appostrophs, which is not understood by kicad.