Snap to grid while edge sliding?

I have a mesh with a horizontal top and bottom but angled sides. And I want to pull the horizontal top edge down to snap the the grid line without the diagonal side edge changing it’s angle.
Edge sliding the vertex down the diagonal side is easy enough, but I can’t get it to snap to the grid. When snap to grid is active, it always snaps to points above or below a grid line.

I could get the top edge just as I want it by creating a new cube and applying a Boolean modifier, but that seems silly overcomplicated when there should be just a right selection of Snap Base and Snap Target settings to do it.

How does one snap to the grid while edge sliding?

I tested to make sure it works. GG for slide, ctrl for snap. I was using an older version, but assume it’s the same.

It edge slides and it snaps to something. But it doesn’t snap to the grid.

Yea just tried it and I have no idea what it’s snapping to. “Increment” appears to snap to edge length ratio increments (0.1, 0.2…), not to increments of the grid unit. And “Grid” snaps to… I don’t know, it shows me the snap symbol where I’m pointing on the grid but it doesn’t bring the vertex there at all. No idea tbh

Even if it would work, it would just snap to the crosspoints of the grid.

As workaround you can use a real grid for that:

Creating a plane at the desired grid line and turning Snap Target to Edge works just as expected when edge sliding. And it’s pretty quick and easy to add the plane and delete it again. So Blender is absolutely capable of computing the new position of the vertex. It already does it.

Why it doesn’t do it though it would be the expected behavior when Snap Target is Grid is the mystery.

I dont know a software where snapping works to grid points and edges, it is a rare case where its needed. By default this would be annoying and would need a switch to turn grid edge snapping on/off.

But such an option would be nice for some cases.

Blender already has the options to turn it on. It just doesn’t seem to work.

Chalk it up as a “bug”?

These options belongs to face/edges/vertex.
Grid is an option itself and grid is a virtual construct.
So is Increment. I would not expect if i set Increment and Face Center that i could snap the middle of two increments. The same for grid.

That would be a new feature if the options for mesh data also should work for non existing/visible helpers.

I don’t want to snap to a space between the grid lines. I want to snap to the grid lines.
But it doesn’t snap to the grid when set to snap to grid. Instead it snaps to somewhere that’s not the grid.

If you are still interested in having a sort of one-click solution, I built a tool (with heavy Claude assisting, forgot almost everything about Blender’s Python API) for this. You can check it here

Well. That seems to be a normal behavior.

An edge sliding is constraining position of center of edge on a line, that is parallel to sides.
If this line does not cross intersecting points of grid, center of edge can not be snapped to intersections of grids, without breaking the angles.
Enabled snapping will just stop edge sliding to a position, where center of edge is horizontally aligned to grid intersection, but with offset induced by constraint of edge sliding.

Grid snapping works on individual axes too, not just on the points at the intersection of grid lines. Request to snap to intersection of edge and grid line seems legitimate

Yes. For me, snapping happens on grid line. So, I thought there was a misunderstanding.
Because when center of edge is on intersection of grid, lines of grid are segmented edge unevenly.
That may trick eye, making it think that center of edge should be somewhere else.