pcb

Comment 1 for bug 1782041

Revision history for this message
Chad Parker (parker-charles) wrote :

Luis-

I've been pondering whether or not the bounding box should always be set using 2*Bloat, or if it should only be set that way if the clearance is < 2*Bloat.

I think that answer is that in the DRC, we don't actually really care about what the clearance actually is, so long as it's greater than 2*Bloat, so, using 2*Bloat all the time is the right thing to do.

Do you concur with that assessment?

I've pushed your patch to LP1782041, and I've added second commit that reworks it slightly to reduce code duplication.

The only thing I don't like about this is the error message that comes up. The error is that there is insufficient clearance inside of a polygon, but really, it should be the copper too close together error I think. However, I think it's better to flag the error, even if the message isn't quite right, than to let it go unnoticed.

Thanks,
--Chad