In all previous versions of PCB Editor, if you moved a part that was off-grid, it would move the part the selected grid spacing, keeping it off-grid, but then allowing you to snap it to the grid if you moved close enough to a grid point. In 9.0.4, it keeps the part off-grid and the only way I can see to put it back on grid is by editing the coordinates. Pressing CTRL allows you to place it anywhere, and SHIFT also does not snap to grid. Is there a setting somewhere I am missing?
It is a bit of a guess for me (I’m still on KiCad V8 myself), but I created a grid related issue back in 2022, and this issue / bug got “fixed” a few weeks ago. Maybe the fix for the grid issue was not very complete and this also changed other grid related behavior?
Thanks for the response - glad your bug got fixed I hope it’s just me, or a setting, but I’ve checked them twice. It’s going to bug my engineering OCD to no end if I can’t place parts on grid! I’ll have to roll back to 9.0.3!
Do you have “warp cursor to anchor of moved object” selected in Preferences → Common → Editing?
Otherwise, can you take a screen recording of what you see? This is what I see in 9.0.4 - the moved point snaps to the grid, even if it was off-grid to start with:
John, I do have warp turned on and it’s what helps align a part to the grid. Below is a comparison between 9.0.3 and 9.0.4. With 9.0.4 I can’t get the part to place on the grid. I hope I’m doing something wrong.
9.0.3
I’ll post the next image in an hour when it lets me…
9.0.4
Hi, open up two more threads and slowly scroll through, or read, at least thirteen more posts and you will be self promoted to Basic from New User, after which you may post as many images as you wish.
See this FAQ.
Hi Guys,
I have just upgraded to Kicad 9.0.4 and I am experiencing problems where the tracks won’t snap to the grid. The tracks keep attempting to snap next to the grid point as seen here.
https://i.imgur.com/D7NnzeV.png
The result is the same, when I manually place the grid origin. Looks fine on the schematic, but when placing tracks, they don’t go where I want them to.
Any advice would be greatly appreciated.
It seems the Page Origin is now offset to the Grid Origin when a project initially started in 9.0.3 or earlier, is opened. The grid is somehow out of sync between versions.
@johnbeard
Please open a project, started in 9.0.3 or earlier, in 9.0.4, then try adding tracks or footprints.
This can be fixed by placing the Grid Origin exactly over the Page Origin and then moving the whole PCB “on grid”, but this shouldn’t need to be done.
I filed a bug report here. Anyone with anything to add to this report, please do so.
I tested a couple of earlier projects in 9.0.4 and they had the same problem, but once I had placed the Grid origin over the Page origin all the problems went away and I can no longer repeat the fault. Maybe moving the whole PCB on grid, as mentioned in the above fix, is not needed
When you say “Page Origin” do you mean “Drill/Place File Origin”?
I can’t find anything called Page Origin".
The Page Origin is the Top Left Hand corner of the page with which you are working (Red arrow). It doesn’t matter what size page you are using.
If Preferences > PCB Editor > Origins and Axes > Display Origin is set to Page Origin (Green arrow), the X & Y values (Cyan arrow) will display X = 0 & Y = 0 when your cursor is exactly over the Page Origin.
If you look carefully, you may see that I have placed the Grid Origin on the Page Origin. You will need to zoom right in, to position the Grid origin on the Page Origin, accurately.
It seems once this has been done and you have tried moving an item or two, the system has set itself properly and the problem no longer occurs. You may also then move the Grid Origin off the Page Origin with no further consequences, including closing and opening Kicad or importing or whatever.
The fault seems to be a “one off” occurrence that happens the first time something from a previous version is loaded into 9.0.4.