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

Re: gEDA-user: pcb, howto get plain rats lines instead of circles



On Wed, Oct 08, 2008 at 07:56:27AM +0200, Bert Timmerman wrote:
> 
> I notice that both rat lines on the pads with circles (in C600 and C601)
> have the "via" flag set.
> 
> I wonder, what could have triggered this ?

It's supposed to happen when you're over a rectangle in the target net.
I added the feature a year ago.  I was planning to look into this bug
tonight, but I didn't get a chance.  I'll see what I can do tomorrow.

From my quick test it seems to be due to 'IsPointInBox' having wholly
unexpected behavior due to a rather bizzare implementation.  It turns
the 'box' it gets as input into a pad and then calls the pad intersection.
It looks like the code is broken if the box is wider than tall.  If you
replace the rectangle in that b2.pcb someone sent out with a new one
that's taller than wide, it works fine.

-- 
Ben Jackson AD7GD
<ben@xxxxxxx>
http://www.ben.com/


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