X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Wed, 23 Apr 2014 12:02:26 -0700 From: Andrew Poelstra To: geda-user AT delorie DOT com Subject: Re: [geda-user] again about pcb file format Message-ID: <20140423190226.GH6660@shavo.dd-wrt> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HuscSE0D68UGttcd" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.22+19 (8f62001989cc) (2013-10-16) 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 --HuscSE0D68UGttcd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 23, 2014 at 06:40:04PM +0200, Filippo Micheletti wrote: > Hi there, > I just upgraded my gEDA suite and now I have the pcb version 20140316 whe= re > I noticed a change in file format, now all distance values are followed by > the unit (mil or mm) but I cannot understand the behavior of pcb... in fa= ct > opening an old format file (without units), making some changes and saving > it, all is saved in the new format (with units) but something is saved in > mils and something in mm... why? Is this a random choice?=20 As DJ says, pcb tries to figure out what the user's unit setting was by considering whether mm or mils gives a rounder number. If you have a metric pcb which was saved in the old cmils format, all the measurements will have rounding errors, which screws up this algorithm, resulting in the "random" suffixes. Locally I run a patched pcb which always outputs mm to work around this. I guess there should be a UI option for this. --=20 Andrew Poelstra Mathematics Department, University of Texas at Austin Email: apoelstra at wpsoftware.net Web: http://www.wpsoftware.net/andrew "If they had taught a class on how to be the kind of citizen Dick Cheney worries about, I would have finished high school." --Edward Snowden --HuscSE0D68UGttcd Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJTWA5CAAoJEHrQqRxAvQCRq0kIAKpe50315MZ8KKbkwg3imPnl b+fTWvRljt6Y82qhmva03XDrycgE7jqb/OUWimtc5X3o9/UkfiNMH4OxYBtsF3Ca fgmL/UKbVOKfo0jGXgEPSG1VPszBJZCRL9vlKtQ4T+Tj4wouwhW69N8S6LWCFAwj 26e/Q33ycZ/bAsVVHFfxmeoAzuWF+p8Q0Vdns8lzorQkoPJlttjhVvI/jAs5LKMY WSuohH2Kr/LOLRJMNa6C7vPyXoBZEeYNdE3rj5Ne3MNUBS7Pls07GdlJMzvrkRxn YddchD6XHJR5V/IULw11pceFTm6scO5Jn0Jq77Ss98dEgAvN0mbTsz8buaij5AI= =37A3 -----END PGP SIGNATURE----- --HuscSE0D68UGttcd--