www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2011/10/20/13:28:48

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 <asp11 AT sfu DOT ca>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] Working with a 0.1mm grid
Message-ID: <20111020172557.GA20384@malakian.lan>
References: <CAKakQccTk7cNBhDt4SM=jq5hrEBzWC8er53JSSNsch5+-7pCWw AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAKakQccTk7cNBhDt4SM=jq5hrEBzWC8er53JSSNsch5+-7pCWw@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 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

- Raw text -


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