pcb

DRC "minspace between pad and polygon" not triggerd!

Bug #699245 reported by ferch
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pcb
Fix Released
Medium
Chad Parker

Bug Description

Look at the attached picture. A package SO8 and a line, surrounded by a polygon. You can see, that i have defined a minspace of 6.3 mil.
The space between pad and polygon is less than 5mil. (Defined in the SO8-package)

This should raise a DRC-error, but i get a "No DRC problems found".

Workaround: Select all pads at the pcb and execute:
ChangeClearSize(SelectedPads, 7, mil)

PS:
Look also ID #1843179 (DRC misses odd trace/poly clearance error).

I use the cvs-version updateted today (10. Feb 2007).

Tags: drc sf-bugs
Revision history for this message
ferch (ferch) wrote :
Revision history for this message
ferch (ferch) wrote :

A mistake in the date. I updated on 10. Feb **2008**.
And "ChangeClearSize" as workaround for the whole pcb is not really a good idea, because resistors and some other elements should have a clearance greater than 7mil.

Revision history for this message
DJ Delorie (djdelorie) wrote :

It gives a message for me, but I might have a slightly different board than you do. Could you update from cvs again to make sure it's still broken, and attach a *.pcb board to this tracker if it is?

Revision history for this message
ferch (ferch) wrote :

Yes, the bug is still there. Do I have to take care on cvs update? I use "cvs up", "make", "make install".
The about-dialog:
...
version 1.99w
Compiled on Dec 28 2008 at 22:17:17
...

Revision history for this message
ferch (ferch) wrote :
Traumflug (mah-jump-ing)
Changed in geda-project:
importance: Undecided → Medium
Revision history for this message
Nicklas Karlsson (nicklas-karlsson17) wrote :

Object report say clearance width in polygons 5.00 mil.

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

The DRC still has this issue in pcb-4.1.3. For some reason, those pads are either not being tested, or the test is returning improperly.

Changed in pcb:
milestone: none → pcb-4.2.0
Changed in pcb:
status: New → Confirmed
Revision history for this message
Chad Parker (parker-charles) wrote :

The issue is in drc_callback. For some reason, after testing the clearance of the pad, it calls IsPadInPolygon. This will only return true if the pad is actually touching the copper of the polygon.

This extra test was introduced by DJ in commit bc48a574, in 2007. The log suggests that it somehow fixes the DRC for slanted pads. However, I don't see any issues with slanted pads.

I've fixed this at the head of branch home/cparker/drc_updates.

Changed in pcb:
assignee: nobody → Chad Parker (parker-charles)
status: Confirmed → In Progress
Changed in pcb:
status: In Progress → Fix Committed
Changed in pcb:
status: Fix Committed → Fix Released
Changed in geda-project:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.