atopile / faebryk

Open-source software-defined EDA
MIT License
7 stars 0 forks source link

Transformer places `(net)` in KiCAD sexp which don't have nets assigned #13

Closed mawildoer closed 1 month ago

mawildoer commented 1 month ago

Current Behaviour

The transformer will add (net) when there's no net assigned

Screenshot 2024-08-14 at 19 09 02

Expected Behaviour

The net should be omitted if null

Possible Solution

I believe the offending definition is here: https://github.com/atopile/faebryk/blob/39fbef66e01569c11b3a739950027e787e3b9e83/src/faebryk/libs/kicad/fileformats.py#L827

Perhaps there's a way to mark the field as "don't print me if I have no value"

Version

3.0

Relevant log output

No response

Code of Conduct

iopapamanoglou commented 1 month ago

Fixed in #12