Skip to content

pcbnew: Cannot place VIA on pad, "VIA location violates DRC"

Description

Cannot place VIA on top of the pad, I don't know how to turn of this obstacle.

5507X

Steps to reproduce

  1. Try to put VIA on top of pad;
  2. Get error "VIA location violates DRC";
  3. Go to Board setup -> "Violation severities" and "Constrains" -> Search for some setting, disabling VIA on pad;
  4. I didn't find anything related (not looked very carefully..);

Expected behavior:

  • Via is placed on pad in step 2, VIAs net name is automatically set to PAD net name.

Or at least:

  • Steps to turn off this obstacle should be provided in step 2.

My preferred way of placing VIAs was:

  1. Place via on top of two pads (start and end pads);
  2. Move vias to final destinations;
  3. Route "start pad" to 1st via -> 1st via to 2nd via -> 2nd via to end pad;

It reminds me some report in gitlab, I am pretty sure it was allowed to place via on pad before..

KiCad Version

Application: KiCad PCB Editor

Version: (5.99.0-10070-ga530c22eff), release build

Libraries:
	wxWidgets 3.1.4
	libcurl/7.74.0-DEV Schannel zlib/1.2.11

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

Build Info:
	Date: Mar 31 2021 12:05:08
	wxWidgets: 3.1.4 (wchar_t,STL containers)
	Boost: 1.75.0
	OCC: 7.5.0
	Curl: 7.74.0-DEV
	ngspice: 34
	Compiler: Visual C++ 1928 without C++ ABI

Build settings:
	KICAD_SCRIPTING=ON
	KICAD_SCRIPTING_MODULES=ON
	KICAD_SCRIPTING_PYTHON3=ON
	KICAD_SCRIPTING_WXPYTHON=ON
	KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
	KICAD_SCRIPTING_ACTION_MENU=ON
	KICAD_USE_OCC=ON
	KICAD_SPICE=ON