ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/01/15/15:44:45

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=mime-version:sender:in-reply-to:references:date
:x-google-sender-auth:message-id:subject:from:to:content-type;
bh=UxLBwJx1MyIjg+nus2AifkzAwjkRpykkhAqlCiwfNag=;
b=EgCYBGdfsEwCKw66kFfLWMPA60TIfCNfTTFOq/H+VJPa8twmGh/zT5otobkErrTC9Z
uqUJYV0qZVWN/z/CdtSy3ZCdCUdr6RckAgenlBrFmyhAKM1SmcY6ALL8t5liuHkVOnZb
tgC5n7mzYJdSLwPdnGAbdlY3aoTUSDAjoj8Vc=
MIME-Version: 1.0
Sender: silicon DOT on DOT inspiration AT gmail DOT com
In-Reply-To: <20120115060518.GA14575@nome03.eecs.oregonstate.edu>
References: <20120115060518 DOT GA14575 AT nome03 DOT eecs DOT oregonstate DOT edu>
Date: Mon, 16 Jan 2012 07:43:06 +1100
X-Google-Sender-Auth: XfuCaEwuGhV0kqoO1iKpzd6ANKI
Message-ID: <CAKakQce8S52U2jASSNYxENQP+ZEvVBxfAvUum8VfRnr-_7pPJg@mail.gmail.com>
Subject: Re: [geda-user] footprint errors in 20110918 but not 20100929
From: Stephen Ecob <stephen DOT ecob AT sioi DOT com DOT au>
To: geda-user AT delorie DOT com
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Hi Roger,

The parser doesn't like lines 44-47 because of the characters ".50mm".
 Change all occurrences of that to "0.50mm" and it loads fine.
You may want to log a bug report that our parser doesn't correctly
parse numbers starting with a decimal point.

BTW, I notice that you leave the "name" field blank.   I find it quite
helpful to name the pins.  In PCB you can press the "d" key to view
the pin numbers of an element and then use "View->[ ]Enable pinout
shows number" menu toggle to change views between numbers and names -
very helpful at times.  As an example, here's a part I recently made:

Element["" "DCJACK" "CN1" "CUI-PJ-047BH" 0mm 0mm 0mm -6mm 0 100 ""]
(
	Pin[+2.9mm -3.7mm 2.9mm 2000 3.1mm 2.5mm "Shd" "0" ""]
	Pin[+2.9mm +3.7mm 2.9mm 2000 3.1mm 2.5mm "Shd" "0" ""]

	Pin[+4mm 0mm 0 2000 0 2.4mm "" "Mnt" "hole"]

	Pin[+10.3mm -3.3mm 2.6mm 2000 2.8mm 2.2mm "Sw" "3" ""]
	Pin[+10.3mm +3.3mm 2.6mm 2000 2.8mm 2.2mm "Pin" "1" ""]
	Pin[+8.1mm 0mm 2.6mm 2000 2.8mm 2.2mm "Slv" "2" ""]

	ElementLine [0 -3.7mm 0 +3.7mm 1000]
)

I also find the string based flags much easier to use than the
hexadecimal (eg "hole" instead of 0x00000xyz, where x y and z are
digits I can't remember)

-- 
Stephen Ecob
Silicon On Inspiration
Sydney Australia
www.sioi.com.au
$49 Spartan 6 board with 32MB DDR DRAM ?
http://www.sioi.com.au/shop/product_info.php/products_id/47

- Raw text -


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