PCBNew : Starting at 45° when routing a 45° component

Bug #1812445 reported by Julien Faucher
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Unknown

Bug Description

Hi.

At the moment, when routing a component which is rotated at 45°, the track will always start on a H/V (Horizontal/Vertical) direction followed by a 45° bend if relevant. Thus, you are almost obligated to switch the track posture ('/' hotkey by default).

Moreover, I'm almost sure that it is an even bigger mess if the part is rotated to an arbitrary value.
Could it be possible to implement, even as an option, something to start the routing with the angle of the pad or at least (maybe easier) with the angle of the footprint ?

To reproduce, place a footprint (lets say an LQFP), rotate it at 45° and start routing...

Best regards,
Julien FAUCHER

Application: kicad
Version: 6.0.0-rc1-unknown-4cf4600~84~ubuntu18.10.1, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.61.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.4) nghttp2/1.32.1 librtmp/2.3
Platform: Linux 4.18.0-13-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.67.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.0
    Compiler: GCC 8.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=OFF
    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: pns
Seth Hillbrand (sethh)
Changed in kicad:
importance: Undecided → Wishlist
status: New → Triaged
tags: added: pns
Revision history for this message
Hildo Guillardi Júnior (hildogjr) wrote :

The output track angle should use same IC/pad angle (or 90 deg rounded from it):
1) If IC / pad angle = 0 / 90 / 180 or 270deg => use 0 / 90 / 180 and 270deg;
2) If .... = 45 / ... => use 45 ....

Same to any `IC_angle` angle, providing the specific allowed `track_out_angle`.

track_out_angle[0] = (IC_angle % 90 );
track_out_angle[1] = track_out_angle[0] + 90;
track_out_angle[2] = track_out_angle[1] + 90;
track_out_angle[3] = track_out_angle[2] + 90;

Other important think is that the first track corner should adequate the align to 0 / 90 / 180 / 270deg angle. So this will be not a 45deg corner.

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/2326

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

Other bug subscribers

Remote bug watches

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