[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: PCB DRC accuracy?



On Wed, Jun 22, 2011 at 07:29:16AM +1000, Stephen Ecob wrote:
> On Wed, Jun 22, 2011 at 6:50 AM, Andrew Poelstra <asp11@xxxxxx> wrote:
> 
> > We are working on moving pcb toward metric base units -- then
> > a mm would be 10^6 nm rather than "about 3937.00787 cmils"
> > like we have now.
> 
> Thanks for your work on this Andrew, it is a much anticipated improvement :)
> 
> I see that you've made quite a few commits, is the changeover almost complete ?
>

I have a bug report here:
https://bugs.launchpad.net/pcb/+bug/772027
where I periodically make updates.

I'm in the final stages of implementing pcb-printf, which hides
any detail of the actual base-unit from output code. There are a
few more simple changes to do, then the GUI's, which make me
nervous because there is no way to automatically test them.

On that note, if anyone is feeling motivated, I think that using
dogtail (https://fedorahosted.org/dogtail/) would be a good way
to do such testing. I have played with it a bit but can't get it
to work because it needs the GNOME accessibility framework, and
I can't enable it properly with wmii.

When that is done, I will introduce the Coord datatype (typedef'd
to int initially, then to long int when I can) and audit the entire
codebase, consolidating the mismash of BDimension/LocationType/int
currently used for handling measures. At this point I will also
be checking that all sqrt(x*x + y*y) uses the Distance() function,
for example, to prevent overflow or precision errors.

Then I can change a couple macros and do the actual transition.

-- 
Andrew Poelstra
Email: asp11 at sfu.ca OR apoelstra at wpsoftware.net
Web:   http://www.wpsoftware.net/andrew/



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user