Skip to content

Native rounded tracks does not respect custom rules

Description

A custom rule

(rule "Stripline on In1.Cu to ground"
  (constraint clearance (min 0.1175mm) (max 0.1175mm))
  (condition "A.Layer == 'In1.Cu' && A.Type == 'Track'"))

works for straight track segments, but not for rounded ones. If the Default clearance of the net class is set to 0, this is what is applied to the rounded tracks. The straight tracks have correct clearance according to the above rule as can be seen the the below image: image

Steps to reproduce

  1. Set the Default netclass clearance to 0
  2. Implement the above rule
  3. Generate rounded tracks using "Round tracks" KiCAD plugin.

KiCad Version

Application: KiCad PCB Editor (64-bit)

Version: (6.0.4), release build

Libraries:
	wxWidgets 3.1.5
	libcurl/7.78.0-DEV Schannel zlib/1.2.11

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

Build Info:
	Date: Mar 18 2022 03:04:44
	wxWidgets: 3.1.5 (wchar_t,wx containers)
	Boost: 1.76.0
	OCC: 7.6.0
	Curl: 7.78.0-DEV
	ngspice: 36
	Compiler: Visual C++ 1928 without C++ ABI

Build settings:
	KICAD_USE_OCC=ON
	KICAD_SPICE=ON