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

Re: gEDA-user: autogenerate footprints



I found a small bug in the footgen script.  It doesn't bite you, unless
you are doing BGAs with more than 39 rows.

The ballname() function has a line:
ball=rowname[(row/20) - 1]
I think it should be:
ball=rowname[((row-1)/20) - 1]

For smaller BGAs with less than 40 rows, this fix isn't important.  If
you have a 40 row array, you'll get "BY", when you still want
"AY" for 40 ("BA" for the 41st row).  It will bite you again on the 60th,
80th, ... n*20'th  rows.

Steve


> > John Griessen wrote:
> >
> >
> > Peter Baxendale wrote:
> > there's a short Python program at
> >> http://dlharmon.com/geda/footgen.html which I've found very useful. It's
> >> easy to understand and customise even if you only have a little bit of
> >> understanding of Python. It's really very easy to use and I've generated
> >> all my own footprints this way. I've added a few modest bits and pieces
> >> to it which I'd be happy to pass on if anybody is interested.
> >
> > Yes,  I'm interested to see your mods.  How about making a page on 
> > gedasymbols.org?  Or, if you don't feel like it, is it OK if I put up 
> > the mods on  http://www.gedasymbols.org/user/john_griessen/?
> >
> > John G
> >
> >  
> The best way would be to get them integrated into the original rather 
> than having several copies floating around. I have been slow about 
> getting patches and bugfixes integrated into the script, but I will try 
> to get it done sometime if you would like to send it to me. I have had 
> one bugfix for omitballs on BGA in my inbox for months. I have also 
> mentioned doing a CGI interface to footgen, and am still planning on 
> doing that in the near future unless someone else would like to take on 
> that task.
> 
> --
> Darrell Harmon
> http://dlharmon.com
> 
> 
> 
> _______________________________________________
> geda-user mailing list
> geda-user@xxxxxxxxxxxxxx
> http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
> 



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