Specctra DSN export ignores "copper to hole clearance"
Description
Currently changing the "copper to hole clearance" under "File -> Board Setup -> Design Rules -> Constraints" does not change the clearance which is exported for mounting holes in the Specctra file (the clearance of the Default netclass is always used). This results in Freerouting generating traces which violation the clearance of the design rules. Expected behavior: the clearance for mounting holes should use the "copper to hole clearance" to avoid DRC violations.
Steps to reproduce
- Create a simple design that includes a MountingHole and traces that pass by it. For example, see the image below:
- Run "Export -> Specctra DSN" and save the file
- Increase the "copper to hole clearance" to a large value, such as 2mm
- Run "Export -> Specctra DSN" and save the file with a different name
- Observe that the files contain the same clearance for the mounting hole (for example diff the two files)
Optional: run the Freerouting plugin, and observe that it generates traces that violate the DRC for copper to hole clearance
KiCad Version
Application: KiCad PCB Editor x64 on x64
Version: 7.0.1, release build
Libraries:
wxWidgets 3.2.2
FreeType 2.12.1
HarfBuzz 5.0.1
FontConfig 2.14.1
libcurl/7.83.1-DEV Schannel zlib/1.2.13
Platform: Windows 11 (build 22621), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Mar 11 2023 03:41:46
wxWidgets: 3.2.2 (wchar_t,wx containers)
Boost: 1.80.0
OCC: 7.6.2
Curl: 7.83.1-DEV
ngspice: 39
Compiler: Visual C++ 1934 without C++ ABI
Build settings:
KICAD_SPICE=ON
Edited by Christopher Berner