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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk 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?"