PCBNew-connecting a track to an existing track brakes 45 deg, H, V constraints

Bug #1851678 reported by Art
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Unknown

Bug Description

If I try to connect to an existing track and my grid is set fine enough (~1mil), the track that I"m trying to connect to is broken into two segments at the connection point (which is expected) but then the connection point starts moving within certain limits. If I move it far enough the connection point is canceled and the router goes back to the state before the connection was made (unbroken existing track). Normally though, if you are not zoomed far enough you would just make a connection and don't even notice that all your tracks are slightly off H,V or 45 deg. If you use H,V and 45 deg constraints, they shouldn't be broken just because you are making a connection.

Application: KiCad
Version: (5.99.0-229-g5b8661f2a), release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6 libidn2/2.0.5 libpsl/0.21.0 (+libidn2/2.1.1) nghttp2/1.34.0
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    Build date: Oct 16 2019 21:05:43
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.68.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.1
    Compiler: GCC 8.2.0 with C++ ABI 1013

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

Tags: pcbnew pns
Art (diametrix)
summary: PCBNew-connecting a track to an existing track brakes 45 deg, H, V
- constraint
+ constraints
tags: added: pcbnew
Changed in kicad:
importance: Undecided → Medium
milestone: none → 6.0.0-rc1
status: New → Triaged
tags: added: pns
Revision history for this message
eelik (eelik) wrote :

The same thing happens in 5.1.5rc1.

Revision history for this message
eelik (eelik) wrote :
Revision history for this message
eelik (eelik) wrote :

Application: Pcbnew
Version: (5.1.5-rc1-5-g37f23fa53)-1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.66.0 OpenSSL/1.1.1d (Schannel) zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.1.1) nghttp2/1.39.2
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.71.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.66.0
    Compiler: GCC 9.2.0 with C++ ABI 1013

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Revision history for this message
eelik (eelik) wrote :

Sorry, I'm not sure if this the exactly same situation. It's hard to follow the original report explanation.

Revision history for this message
Art (diametrix) wrote :

@eelik

You've got it! You video illustrates the problem perfectly!

Revision history for this message
eelik (eelik) wrote :

Here's another video. Notice how the grid is 1.0mm all the time. The pads of the footprint, on the other hand, are off the grid. Therefore even changing the grid or using fine pitched grid in the layout isn't required for the problem to appear.

Application: Pcbnew
Version: (5.1.5-rc1-1-g88a03f1a1)-1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.66.0 OpenSSL/1.1.1d (Schannel) zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.1.1) nghttp2/1.39.2
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.71.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.66.0
    Compiler: GCC 9.2.0 with C++ ABI 1013

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Revision history for this message
eelik (eelik) wrote :

Reported in the forum, too: https://forum.kicad.info/t/solved-pcbnew-weird-track-bending-snapping/20041, with 5.1.5.

I think the milestone should be 5.1.6, right?

Seth Hillbrand (sethh)
Changed in kicad:
milestone: 6.0.0-rc1 → 5.1.6
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

KiCad bug tracker has moved to Gitlab. This report is now available here: https://gitlab.com/kicad/code/kicad/-/issues/1827

Changed in kicad:
status: Triaged → Expired
Changed in kicad:
importance: Medium → Unknown
status: Expired → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.