pcb

Comment 9 for bug 699234

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

I've investigated your solution here, and I agree with it.

I have a fix for this at the head of home/cparker/drc_updates. It creates a new kind of error for issues like this: "Joined line not connected to polygon". If the line bounding boxes overlap, and the CLEARLINEFLAG is NOT set (i.e. the line *should* be connected to polygons), I run the connection lookup to see if the line makes electrical contact with the polygon. If it doesn't, then we throw an error.

The user can then either move the line to make electrical contact, or turn on the CLEARLINEFLAG. With the CLEARLINEFLAG set, either the clearance issue will go away (if line->Clearance is adequate) or it will be flagged as an insufficient clearance in polygon error.

I'm actively developing this branch at the moment, so, it's been rebased several times. If you test it, make sure you get a clean copy.