GAL canvas interactive track routing ignores grid

Bug #1710113 reported by Maciej
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Medium
Tomasz Wlostowski

Bug Description

When routing a track on GAL canvas KiCad does not snap the track to grid. Is it an intended behaviour? I've also noticed that the current cursor coordintates in the status bar are not updated.

Operating system: XUbutnu 16.04 LTS
Kicad version: 201708101344+9485a4d~59~ubuntu16.04.1

Tags: cern gal pcbnew
Revision history for this message
Chris Pavlina (pavlina-chris) wrote :

Can confirm the router ignoring the grid - cannot confirm the status bar not being updated, that's working fine here.

Application: kicad
Version: (2017-08-11 revision 356f607cd)-master, debug build
Libraries: wxWidgets 3.0.3
           libcurl/7.54.1 OpenSSL/1.1.0f zlib/1.2.11 libpsl/0.17.0 (+libicu/59.1) libssh2/1.8.0 nghttp2/1.23.1
Platform: Linux 4.12.4-1-ARCH x86_64, 64 bit, Little endian, wxGTK
- Build Info -
wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.64.0
Curl: 7.54.1
KiCad - Compiler: GCC 7.1.1 with C++ ABI 1011
        Settings: USE_WX_GRAPHICS_CONTEXT=OFF
                  USE_WX_OVERLAY=OFF
                  KICAD_SCRIPTING=ON
                  KICAD_SCRIPTING_MODULES=ON
                  KICAD_SCRIPTING_WXPYTHON=ON
                  KICAD_SCRIPTING_ACTION_MENU=OFF
                  BUILD_GITHUB_PLUGIN=ON
                  KICAD_USE_OCE=ON

Changed in kicad:
status: New → Confirmed
importance: Undecided → Medium
tags: added: cern gal pcbnew
Revision history for this message
jean-pierre charras (jp-charras) wrote :

I believe all advanced routers are gridless routers.
A grid is a trick to help routing by hand, so I am not sure to want/expect the P&S router to use a grid is a good idea (to be polite).

Revision history for this message
Maciej (mkurc) wrote :

Off course, the grid is not required for the router to work properly. But when using the P&S router you are actually routing by hand. The router only helps you to do it. The grid allows to maintain order in the traces placement as it does for components.

In my opinion, the user should be able to decide whether to use the grid snapping or not during interactive routing. The same applies when dragging a trace.

KiCad 4.0.6 did snap to grid during routing and did not when dragging. The current nightly version does the opposite. I'd suggest to add an option (a button on a toolbar toggled by a hotkey) to switch grid snapping on and off.

Revision history for this message
pipe (pipatron) wrote :

This is a silly detail to require an option.

Revision history for this message
Maciej (mkurc) wrote :

It is not a silly detail. Every CAD software has an user settable option "snap to grid".

I want the grid snapping to be enabled and for example jp-charras wants it to be disabled. The desired solution is to make it user settable.

Revision history for this message
Chris Pavlina (pavlina-chris) wrote :

When I noticed this silly bug I had the most horrible sinking feeling it might actually be someone's intention. Seems my intuition isn't that far off...

There is _absolutely no reason_ not to follow the grid. If I want "gridless" I can just select some impossibly fine grid like 0.01mm and get basically the same results. Don't take away my ability to have tidy routing just because you don't like it.

Revision history for this message
Tomasz Wlostowski (twlostow) wrote :

No, it's just a bug. Stop wasting your keyboards to discuss if snapping to grid is needed or not. It's there, just broken. Will fix next week.

Tom

Revision history for this message
Maciej (mkurc) wrote :

Yep, you're right :)

Revision history for this message
Chris Pavlina (pavlina-chris) wrote : Re: [Bug 1710113] Re: GAL canvas interactive track rounting ignores grid

Lol, thanks Tom :)

On Aug 12, 2017 12:50, "Tomasz Wlostowski" <email address hidden>
wrote:

> No, it's just a bug. Stop wasting your keyboards to discuss if snapping
> to grid is needed or not. It's there, just broken. Will fix next week.
>
> Tom
>
> --
> You received this bug notification because you are a member of KiCad Bug
> Squad, which is subscribed to KiCad.
> https://bugs.launchpad.net/bugs/1710113
>
> Title:
> GAL canvas interactive track rounting ignores grid
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/kicad/+bug/1710113/+subscriptions
>

summary: - GAL canvas interactive track rounting ignores grid
+ GAL canvas interactive track routing ignores grid
Changed in kicad:
status: Confirmed → Fix Committed
assignee: nobody → Tomasz Wlostowski (twlostow)
Revision history for this message
Chris Pavlina (pavlina-chris) wrote :

Not quite fixed - now the grid is respected _too_ much and there's no more snap-to-pad.

Changed in kicad:
status: Fix Committed → Confirmed
Revision history for this message
Chris Pavlina (pavlina-chris) wrote :

Thanks!

Changed in kicad:
status: Confirmed → Fix Committed
Changed in kicad:
status: Fix Committed → 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.