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

Re: gEDA-user: Bug in cvs pcb concerning polygons



On Tue, Jul 24, 2007 at 10:52:06PM +0200, lynx.abraxas@xxxxxxxxxx wrote:
> 
> It's here: 
> http://www-nw.uni-regensburg.de/~.grr06742.back.physik.uni-regensburg.de/PCB/GPS_BUG.PCB
> 
> If  I try to draw a copper rectangle on GND-comp it either doesn't draw one at
> all or scrambles it in the lower left corner. Smaller areas work fine  though.
> When  zooming it sometimes appears again but in the printout it's never right.
> I get the messages :
> Error while clipping PBO_SUB
> Error while clipping PBO_UNITE

Ok, The errors you're getting are caused by the fact that your GND-comp
layer has 3 polygons, two identical covering the whole board, and one
that's a slightly different size but also covers the full board.  These
are probably the ones you drew to no (good) effect:

        Polygon("clearpoly")
        (
                [332677 179135] [574803 179135] [574803 490158] [332677 490158]
        )
        Polygon("clearpoly")
        (
                [332677 179135] [574803 179135] [574803 490158] [332677 490158]
        )
        Polygon("clearpoly")
        (
                [331890 178346] [575787 178346] [575787 491339] [331890 491339]
        )

If you remove those, PCB starts up much faster and with no errors.

I have at least figured out why it flickers -- there's a spurious redraw
somewhere after the pins have been cleared but before the rest, and some
part of the rest causes the problem.

Tomorrow I'll try to see why the whole-board poly doesn't clear right.
I've got some leads, but I've got to get some sleep so I can stay awake
during a lonnng boring meeting tommorow!

-- 
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