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 To: geda-user AT delorie DOT com Subject: Re: [geda-user] Working with a 0.1mm grid Message-ID: <20111021013756.GE20384@malakian.lan> References: <201110201548 DOT p9KFma9K019672 AT envy DOT delorie DOT com> <20111020172714 DOT GB20384 AT malakian DOT lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Precedence: bulk On Fri, Oct 21, 2011 at 07:20:13AM +1100, Stephen Ecob wrote: > On Fri, Oct 21, 2011 at 4:27 AM, Andrew Poelstra 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