Differential Pair routing generates stubs in wrong direction if the center lines are futher apart then the pad pitch.
Description
In the screenshot below, I started DP routing on the pad and moved the mouse to the right. PCB Editor generates stubs first to the left side out of the pad, then adjust the pair to the DP gap and then routes to the mouse cursor on the Right side.
Steps to reproduce
- Open attached project.
- Place mouse cursor onto one of the DP pads and press 6.
- Move mouse to the right.
- Observe stubs on the left side of the pads.
This was (re) discovered by ckuhtz on the user forum: https://forum.kicad.info/t/dp-routing-bump-what-causes-this/31282
and I replicated and verified it in the newly created DP test project. I have seen this before. Probably a year, or maybe longer ago. I even thought it was reported and fixed, but I can not find an issue for it. If the DP Gap is lowered so the distance between the tracks is the same or less then the pitch between the pads, then the tracks are broken out on the right side as expected.
KiCad Version
Application: KiCad PCB Editor
Version: 5.99.0-unknown-ef74421922~134~ubuntu20.04.1, release build
Libraries:
wxWidgets 3.0.4
Platform: Linux 5.4.0-88-generic x86_64, 64 bit, Little endian, wxGTK, xfce, x11
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.71.0
OCC: 7.5.2
Curl: 7.68.0
ngspice: 31
Compiler: GCC 9.3.0 with C++ ABI 1013
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON