delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/10/23/11:21:11

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Message-ID: <5086B5AD.9080706@estechnical.co.uk>
Date: Tue, 23 Oct 2012 16:20:13 +0100
From: Ed Simmons <ed AT estechnical DOT co DOT uk>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121011 Thunderbird/16.0.1
MIME-Version: 1.0
To: geda-user AT delorie DOT com
Subject: [geda-user] Odd position mangling error
X-Authenticated-As: ed AT estechnical DOT co DOT uk
Reply-To: geda-user AT delorie DOT com

Hello,

I've just run into an odd bug that I hope someone might be able to shed 
some light on.

I opened a multi-page (flat, not hierarchical) design in xgsch2pcb, then 
using the attributes editor I changed the footprint of one part and a 
handful of values of other parts. When I updated the PCB design after 
this change, it pulled nearly half of the parts on the board into the 
top corner of the layout.

Here's a few excerpts from the diff of the pre vs post pcb file:


-Element["" "EIA3528" "C204" "4.7µF" 1089.20mil 1387.90mil -1.7162mm 
-5.0542mm 0 100 ""]
+Element["" "EIA3528" "C204" "10uF" 10.89mil 13.87mil -1.7162mm 
-5.0542mm 0 100 ""]

-Element["" "SOT23" "Z401" "unknown" 22.4080mm 2435.60mil -0.4789mm 
32.94mil 0 100 ""]
+Element["" "SOT23" "Z401" "5.1v_Zener" 0.22mil 24.35mil -0.4789mm 
32.94mil 0 100 ""]

-Element["" "0603" "R401" "10k" 21.8802mm 56.8974mm -31.50mil -58.50mil 
1 100 ""]
+Element["" "0603" "R401" "100k" 0.21mil 0.56mil -31.50mil -58.50mil 1 
100 ""]

I notice that the first part here has had the position divided by 100. 
The last has had the mm incorrectly converted to mil. Is there some bug 
with the parsing of measurements in the attributes editor?

I'd like to fix this issue just for convenience (hey, the tool is there, 
I thought I should try it out again)

I built xgsch2pcb, gschem and pcb from git sources (and I've added my 
own exporter, but otherwise unchanged) that I now cannot update (git 
connection refused, it's looking for gpleda)

git.gpleda.org[0: 97.107.141.5]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)

Please could someone who's up on the git lingo tell me how to update 
this to look at the right place? Sorry, I speak SVN and git's a bit 
foreign to me. ;) I do like how a git copy can coexist in my SVN though, 
that's handy.

Any help would be great, I'll see what I can fix myself once I'm up to date.

Thanks,

Ed

- Raw text -


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