DRC does not test clearance between segments/vias of the same net
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Expired
|
Medium
|
Unassigned |
Bug Description
While routing a track, I found it was possible to place two consecutive vias under the required clearance.
At first, I thought this was a via to via issue, but this is not so, because if the vias do not belong to the same net, it is impossible to place them under the said clearance.
The same is true for track segments: you can create a track that passes by itself very closely (as in a coil loop), without triggering DRC errors.
Attached is a simple board illustrating what I think should trigger at least 3 DRC errors, even if it's the same net:
- Via to Via
- Via to segment
- segment to segment
All of this is due to these lines, saying basically that no DRC errors can be triggered by same net objects:
drc_clearance_
// No problem if segments have the same net code:
if( net_code_ref == track->GetNet() )
I understand that these lines alleviate the need for testing connectivity at the same time as DRC (two segments physically linked together do not violate DRC, but I think two segments of the same net, when linked physically through a third segment, should be tested for DRC).
In other words, the fact that two segments/vias share the same net does not guaranty this cannot lead to fabrication problems.
Guillaume
Application: Pcbnew
Version: (2011-12-16 BZR 3308)-testing
Build: wxWidgets 2.8.11 (no debug,Unicode,
Platform: Linux 2.6.32-
Options: USE_PNG_BITMAPS=ON
Changed in kicad: | |
importance: | Medium → High |
importance: | High → Medium |
I agree with you about via to via.
I would suggest we try and separate the discussion into 2 categories:
1) Maybe we can all agree that via to via is a bug?
2) Find a way to gather more opinion on :
a) via to track of same net.
b) track to track of same net.
By more opinion, I mean more people's opinions.