www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2013/09/20/10:10:53

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Message-ID: <1379685924.2307.14.camel@AMD64X2.fritz.box>
Subject: [geda-user] PCB file format -- pcb-20110918/examples/LED2.pcb
From: Stefan Salewski <mail AT ssalewski DOT de>
To: geda-user AT delorie DOT com
Date: Fri, 20 Sep 2013 16:05:24 +0200
X-Mailer: Evolution 3.8.5
Mime-Version: 1.0
Reply-To: geda-user AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019