www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2011/11/27/13:17:34

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Sun, 27 Nov 2011 10:13:31 -0800
From: Andrew Poelstra <asp11 AT sfu DOT ca>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] Problem when saving files with certain metric grid
sizes
Message-ID: <20111127181331.GF4766@malakian.lan>
References: <1322399655 DOT 21820 DOT 6 DOT camel AT richpc>
MIME-Version: 1.0
In-Reply-To: <1322399655.21820.6.camel@richpc>
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 Sun, Nov 27, 2011 at 01:14:14PM +0000, Richard Barlow wrote:
> Hi,
> 
> I've noticed that certain metric grid sizes don't save correctly to the
> PCB file. 1mm, 0.5mm and 0.1mm save fine. 0.25mm, 0.05mm and 0.01mm are
> saved as different values.
> 
> I suspect this is related to Andrew's recent work on grid saving. From
> the 'Working with a 0.1mm grid' thread it seems that there was a problem
> with just saving the grid size in metric to the file, however I can't
> work out what the agreed resolution to this was.
>

It seems to me that things are working fine. The grids are definitely
saved correctly. Very small grids appear to be loaded wrong, but they
seem to be okay when you zoom in enough that one pixel is smaller than
the grid size. (i.e., the cursor just isn't granular enough for such
a small grid at default zoom).

Is this what you're seeing?


If not, can you tell us:

  - Are you running a 32 or 64-bit system?
  - What git revision/release you are running?
  - What is saved as the pcb::grid::size attribute in the .pcb?

This will at least tell us if the problem is in the saving or loading
side of things.


-- 
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?"

- Raw text -


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