Running DRC in Pcbnew changes a flooded layer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Medium
|
Unassigned |
Bug Description
A two-layer board design included a mostly flooded ground plane on the bottom layer.
Presumably after moving the location of a via, the flooded ground plane clearance area didn't move along with it. Running a DRC actually causes the ground plane layer to update and correctly clear the via.
The DRC reports no errors and the report does not indicate that any layers were changed.
This is not a rendering artifact, as this error made it into the artwork (and subsequently boards I had made).
As I ran my final DRC _after_ uploading artwork to the board house (but before committing the order) I was lead to believe that the design was clear.
To reproduce this all I have to do is open my design in Pcbnew, zoom in to the via in question, which is erroneously tied to the flooded ground plane, run a DRC check and right in front of me I see the flood clearance update to become correct.
Upon closing Pcbnew, it asks me to save changes, despite having only run a DRC and performed no other operations. If I save the changes, the kicad_pcb file is changed, and doing a diff with the previous version indicates that indeed, some geometries have changed.
Application: kicad
Version: 4.0.3-stable release build
wxWidgets: Version 3.0.2 (debug,
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Boost version: 1.57.0
Changed in kicad: | |
status: | Fix Committed → Fix Released |
"Running DRC in Pcbnew changes a flooded layer "
Well, yes, this should really be called DRRC, for Design Regenerate/Reflood and Rule Check.
"This is not a rendering artifact, as this error made it into the artwork (and subsequently boards I had made)."
See another thread on this exact topic.
The suggestion was made that Reflood be made the default, on entering Plot (but with an option, for those very rare cases where someone really does know what they are doing, and has manually adjusted things between DRC and Plot). That covers all use cases.
Strangely, the KiCad developers seem to prefer users can shoot themselves in the foot more easily.
Personally, I prefer the tedious/simple housekeeping stuff to be managed by the PC, as I have more than enough other things to worry about.
Note: Other CAD tools DO warn if you have old-flood-data, on entering Plot, so they have found and seek to avoid this exact problem.
Guess they also got customer feedback around this issue ;) ?