via placing not possible on 45° tracks
Description
This issue was found on the forum: https://forum.kicad.info/t/a-via-cant-be-placed-without-any-waning-or-violation-message/40960 , I have it only transferred to gitlab. Relevant thread part from answer #6 (closed) on.
summary: It's not possible to place simple vias on 45° sloping tracks. Placing the via on horicontal/vertical tracks works correctly, but on 45°tracks the via is not accepted. There is also no warning-message on the top the canvas to explain why no via is placed.
Affects v7 and v799.
Steps to reproduce
- open attached project, open board: via_on_diagonal_track.zip
- activate "Place via" command (right toolbar)
- place a via on the horicontal+verticl track segments of net (X1-Pin_1) --> works like a charm
- now try to place via on the 45°-segment of that track: doesn't works.
KiCad Version
Application: KiCad PCB Editor x64 on x64
Version: 7.0.1-5-g4e775a4090, release build
Libraries:
wxWidgets 3.2.2
FreeType 2.12.1
HarfBuzz 6.0.0
FontConfig 2.14.1
Platform: Windows 10 (build 19044), 64-bit edition, 64 bit, Little endian, wxMSW
wxWidgets: 3.2.2 (wchar_t,wx containers)
Boost: 1.81.0
OCC: 7.6.3
Curl: 7.88.1-DEV
ngspice: 39
Compiler: Visual C++ 1934 without C++ ABI
Build settings:
KICAD_SPICE=ON