delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/07/06/12:34:48

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Fri, 6 Jul 2012 09:28:06 -0700
From: Andrew Poelstra <asp11 AT sfu DOT ca>
To: geda-user AT delorie DOT com
Subject: Re: [RFC, v2] [geda-user] [PATCH] Allow to create metric Gerber and
drill files.
Message-ID: <20120706162806.GD24386@malakian.lan>
References: <20120703140236 DOT GA12646 AT visitor2 DOT iram DOT es>
<CAKakQcdTgG6E2h+UgWoh-ujP6vFDH=voY-PBJR3OFG2awqL0_A AT mail DOT gmail DOT com>
<20120705101614 DOT GA19974 AT visitor2 DOT iram DOT es>
<20120705173423 DOT GC12804 AT malakian DOT lan>
<20120706090636 DOT GA22475 AT visitor2 DOT iram DOT es>
MIME-Version: 1.0
In-Reply-To: <20120706090636.GA22475@visitor2.iram.es>
User-Agent: Mutt/1.5.20 (2009-12-10)
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

On Fri, Jul 06, 2012 at 11:06:36AM +0200, Gabriel Paubert wrote:
> > 
> > Does tests/run_tests.sh still pass?
> 
> It seems to, I have tested on two machines, which give the same 
> results:the first 4 tests fail (the bom ones), but I don't see 
> how they could even be remotely related to the patch. 
>

No, I'm sure they're not. As I recall, there was some minor
reordering in the BOM exporter, hence the test breaking. But
I also recall the tests being fixed...perhaps I should take a
look at that.
 
> Note that with my current patch metric is on by default for Gerber
> generation, so this means that the files compare equal after 
> going through gerbv as a png exporter and comparing through.
> 

Cool!

> I realise that setting metric by default may break existing 
> scripts, so maybe we should stay with imperial Gerber and
> drill files by default. Right now I have imperial in the
> golden subdirectory and metric in the outputs. They do not 
> compare at all equal from diff -r, but they do after conversion
> to png. I believe that this is good enough for inclusion.
> 

We should not change the defaults. From my experience in the CAD world,
scripts wind up hidden behind scripts, hidden behind cronjobs, hidden
on Mystery Servers that everyone uses but isn't really aware of it, and
if they were to suddenly break, it would cause much undue pain.

> [Making a few tests]
> Even if I stay with imperial, the differences between golden
> and outputs are large: aperture definitions are not the same, etc...
> If there is a bug, it is well hidden, except perhaps for octogonal
> apertures, which I don't use and don't seem to be covered by the 
> test suite.
>

You mean to say: the text output is very different, but the actual
gerber content (as seen by gerbv and exported to PNG) is the same?

-- 
Andrew Poelstra
Email: asp11 at sfu.ca OR apoelstra at wpsoftware.net
Web:   http://www.wpsoftware.net/andrew
"You shouldn't trust every quote you read on the Internet." -- Socrates

- Raw text -


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