X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Wed, 16 Nov 2011 09:43:20 -0800 From: Andrew Poelstra To: geda-user AT delorie DOT com Subject: Re: [geda-user] Working with a 0.1mm grid Message-ID: <20111116174320.GA25616@malakian.lan> References: <20111021013756 DOT GE20384 AT malakian DOT lan> <20111021025514 DOT GF20384 AT malakian DOT lan> <1319310645 DOT 13417 DOT 8 DOT camel AT localhost> <201110230311 DOT p9N3BRr8005619 AT envy DOT delorie DOT com> <20111023185825 DOT GA24148 AT malakian DOT lan> <20111025120859 DOT GA5110 AT iram DOT es> <201110251224 DOT p9PCOk8L024200 AT envy DOT delorie DOT com> <20111025124846 DOT GA30093 AT iram DOT es> <20111026180141 DOT GB667 AT malakian DOT lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111026180141.GB667@malakian.lan> 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 Wed, Oct 26, 2011 at 11:01:41AM -0700, Andrew Poelstra wrote: > On Tue, Oct 25, 2011 at 02:48:46PM +0200, Gabriel Paubert wrote: > > On Tue, Oct 25, 2011 at 08:24:46AM -0400, DJ Delorie wrote: > > > > > > Might be related to the new "snap to line intersections" feature. > > > > Oops, I was wrong on the date. I had pulled early September but not > > compiled on my laptop, so make it May 19th (and I don't know how > > to obtain the git commit id). > > > > By the way, when loading on my laptop a file recently created file on my > > desktop, I get a syntax error on line 8. Which reads: > > > > Grid[0.1mm 0.0000 0.0000 1] > > > > I believed backward compatibilty went further back in time... > > > > Crap. When I checked the code, I made sure that Grid[] read the first > argument as a NUMBER. But actually, it only does so for the very old > syntax of Grid[]. > > So, I guess we'll need to put an exception in the code when outputting > the grid. And of course, that will re-introduce the rounding error... > grrr. > I think the best solution will be to save the grid in cmils, as before, and add an Attribute("PCB::grid::size") that overrides it in new versions of pcb for higher precision. This way we will not have to bump the file format version. -- Andrew Poelstra Email: asp11 at sfu.ca OR apoelstra at wpsoftware.net Web: http://www.wpsoftware.net/andrew "I don't understand. Are you saying dualism is always good, or always bad?"