Snap to grid not working but configured to do so

Hi there,

I lost out of a sudden snap to grid while creating a new footprint in Footprint Editor. Curiosly it is also lost in PCB Editor. And I do not feel guilty …

Of course this topic isn’t new, but provided solutions do not help:

  • Preferences \ Preferences \ Common \ Editing - “Warp mouse to origin of moved object” is selected

  • Preferences \ Preferences \ Schematic Editior \ Display Options - “Snap to grid” set to always

  • Preferences \ Preferences \ Footprint Editior \ Display Options - “Snap to grid” set to always

  • Preferences \ Preferences \ Footprint Editior \ Editing Options - “Magnetic Points” are all selected

Even toogling back and forth with restarting KiCad again inbetween does not help.

The only thing I have done before is that I moved the Footprint Achor to the center of a new library element which I have copied in to self-owned library for modification. Also before - as far as I remember

  • anchor didn’t want to snap to grid

  • moving the grid origin on exact position of anchor was not possible (was not willing to move to the anchor, even when moved first far away to generate some “real” move with some millimeters and not just nanometers). Difference was just small, something like 0.0001mm or so, but zero should be zero, isn’t it?

Not sure if this action has something screwed up unintentionally, so take please just as a hint.

How can restore snap to grid? Your support is appreciated.

Regards
Sebastian

My setup:

Application: KiCad x64 on x64

Version: 7.0.9, release build

Libraries:
wxWidgets 3.2.3
FreeType 2.12.1
HarfBuzz 8.2.1
FontConfig 2.14.2
libcurl/8.4.0-DEV Schannel zlib/1.3

Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW

Build Info:
Date: Nov 5 2023 19:26:40
wxWidgets: 3.2.3 (wchar_t,wx containers)
Boost: 1.83.0
OCC: 7.7.1
Curl: 8.4.0-DEV
ngspice: 41
Compiler: Visual C++ 1936 without C++ ABI

Build settings:
KICAD_SPICE=ON

At the very least update to V7.0.12 (I think that is the last of the V7 series) For the rest, most have moved on to KiCad V8 now.

Ok, I was able to restore by doing the following:

  1. Preferences \ Preferences \ PCB Editor \ Editing Options \ Magnetic Points - set all “Snap to …” to Always

Then there was still the misalignment of anchor and grid origin (resulting in faulty measurements by above mentioned 0.001mm) - this could be solved by resetting manually the grid origin to (0,0).

Note: the misalignment leads to faulty measurements, i.e. when I place, e.g., a via on some x,y position (seems to be with respect to the anchor), but measuring its position from grid origin (the measurement tools seems to use) there was then this little difference (e.g. placed a x = 4mm, but measurement tool shows something like 3.9995mm).

Solved - it may others help.

Ah, haven’t seen your answer. I guess I will update to V8 soon, I’m close to finalize a project and didn’t want do it before haven’t finished it.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.