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 10:25:57 -0700 From: Andrew Poelstra To: geda-user AT delorie DOT com Subject: Re: [geda-user] Working with a 0.1mm grid Message-ID: <20111020172557.GA20384@malakian.lan> References: 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 Thu, Oct 20, 2011 at 05:24:07PM +1100, Stephen Ecob wrote: > I'm working on a PCB with a 0.1mm grid. When I save the PCB, the grid > gets converted to 393 mil (approximately 0.099822 mm). When I > subsequently reload the PCB the grid is subtly different, and all > sorts of off-grid mayhem results (unless I remember to manually reset > the grid to 0.1mm after every load). > > I'm using PCB built from GIT head. > > Does anyone have a trick for making metric grids save and load properly ? > What I do is: In src/pcb-printf.h, change the line ALLOW_READABLE = ALLOW_CMIL, to ALLOW_READABLE = ALLOW_MM, -- Andrew Poelstra Email: asp11 at sfu.ca OR apoelstra at wpsoftware.net Web: http://www.wpsoftware.net/andrew