Skip to content

PNS router creates track with clearance violation

Description

With the project + steps below it's possible to mislead the pns router to create a track with clearance violation.

The violation is reported by a subsequent run of the DRC

Steps to reproduce

  1. open attached project, open schematic + board:PNS_router_drc_violation_01.zip
  2. use settings:
  • router: walk around mode
  • grid: 0,05mm
  • track width: 0.4mm
  1. locate IC501, pad 4, with ratsnest "TRACK_WITH_DRC_PROBLEM" (see picture 1)
  2. start routing the track "TRACK_WITH_DRC_PROBLEM", starting from pad4
  3. draw along the margin circle (this circle is part of the pcb edge.cuts footprint)
  4. notice: during drawing you can provoke sitúations were the margin-circle is green flickering --> this indicates a temporary DRC violation (see picture 2)
  5. if you LMB-click at such a situation (commit the just drawn track segment) then a track with a actual DRC violation is placed
  6. run DRC to get a clearance error between "TRACK_WITH_DRC_PROBLEM" and margin-circle reported clearance_violation_02

KiCad Version

Application: KiCad PCB Editor x64 on x64

Version: 8.0.0-rc2-297-gdf654ac12f, release build

Libraries:
	wxWidgets 3.2.4
	FreeType 2.12.1
	HarfBuzz 8.3.0
	FontConfig 2.14.2

Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW

	wxWidgets: 3.2.4 (wchar_t,wx containers)
	Boost: 1.83.0
	OCC: 7.7.1
	Curl: 8.5.0-DEV
	ngspice: 42
	Compiler: Visual C++ 1936 without C++ ABI

Build settings: