www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2011/10/20/21:41:02

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Thu, 20 Oct 2011 18:37:56 -0700
From: Andrew Poelstra <asp11 AT sfu DOT ca>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] Working with a 0.1mm grid
Message-ID: <20111021013756.GE20384@malakian.lan>
References: <CAKakQccTk7cNBhDt4SM=jq5hrEBzWC8er53JSSNsch5+-7pCWw AT mail DOT gmail DOT com>
<201110201548 DOT p9KFma9K019672 AT envy DOT delorie DOT com>
<20111020172714 DOT GB20384 AT malakian DOT lan>
<CAKakQccb967HgSod6BeULhCSj7gE+L0oAVb=L82pGcOphJ7ohw AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAKakQccb967HgSod6BeULhCSj7gE+L0oAVb=L82pGcOphJ7ohw@mail.gmail.com>
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, Oct 21, 2011 at 07:20:13AM +1100, Stephen Ecob wrote:
> On Fri, Oct 21, 2011 at 4:27 AM, Andrew Poelstra <asp11 AT sfu DOT ca> wrote:
> 
> > No, it's the "only use cmils for backward compatibility" code.
> 
> Could the problem be solved by changing this code to only use cmils
> when the value can be exactly represented in cmils ?
> 
> For example, a value of 1.27mm could be output as 5000 cmils but a
> value of 0.1mm would be output as 0.1mm (or 100um, etc)

That would be nasty. The suffix code should be consistent.

I'm pretty sure we could use the "mil" and "mm" suffixes and not ever
lose precision, even when loading from old versions of pcb.

-- 
Andrew Poelstra
Email: asp11 at sfu.ca OR apoelstra at wpsoftware.net
Web:   http://www.wpsoftware.net/andrew

- Raw text -


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