Mail Archives: geda-user/2011/11/16/12:47:23
On Wed, Oct 26, 2011 at 11:01:41AM -0700, Andrew Poelstra wrote:
> On Tue, Oct 25, 2011 at 02:48:46PM +0200, Gabriel Paubert wrote:
> > On Tue, Oct 25, 2011 at 08:24:46AM -0400, DJ Delorie wrote:
> > >
> > > Might be related to the new "snap to line intersections" feature.
> >
> > Oops, I was wrong on the date. I had pulled early September but not
> > compiled on my laptop, so make it May 19th (and I don't know how
> > to obtain the git commit id).
> >
> > By the way, when loading on my laptop a file recently created file on my
> > desktop, I get a syntax error on line 8. Which reads:
> >
> > Grid[0.1mm 0.0000 0.0000 1]
> >
> > I believed backward compatibilty went further back in time...
> >
>
> Crap. When I checked the code, I made sure that Grid[] read the first
> argument as a NUMBER. But actually, it only does so for the very old
> syntax of Grid[].
>
> So, I guess we'll need to put an exception in the code when outputting
> the grid. And of course, that will re-introduce the rounding error...
> grrr.
>
I think the best solution will be to save the grid in cmils, as before,
and add an Attribute("PCB::grid::size") that overrides it in new versions
of pcb for higher precision.
This way we will not have to bump the file format version.
--
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 -