Mail Archives: geda-user/2013/09/20/10:10:53
Yesterday I tried to read in a minimal PCB file to test the
Layer-Assignment code with some real world data.
For file LED2.pcb shipped with pcb-20110918 I got an surprising
thrown exception, which seems to be caused by an PCB netlist entry with
no matching element. (Indeed I do not parse that old format directly, I
used a copy saved by pcb-20110918, which converts numeric flags to
symbolic flags, base units to 0.01mil...)
$ grep "X1" /usr/share/doc/pcb-20110918/examples/LED2.pcb
Connect("X1-2")
Connect("X1-3")
Connect("X1-4")
My code was looking for a corresponding
"Element[" or "Element(" line with X1 name.
Indeed, loading that file in my texteditor, I can not see an element
named X1. I just visit the latest PCB html docs, there is no mention of
special reserved netlist names. Any ideas?
- Raw text -