How to make snap center to be first choice

Post questions on how to use or achieve an effect in Inkscape.
User avatar
Grobe
Posts: 411
Joined: Tue Feb 02, 2010 2:20 am

How to make snap center to be first choice

Postby Grobe » Wed May 25, 2011 11:49 pm

Hi.

When I have very small elipses (or other objects) and try to place their center on t.ex a grid intersection, it won't snap by center. In most cases, snap to other outer parts will take precedence. To be able to snap the elipse centerpoint to a grid intersectio, I have to zoom in to the elipse so I'm sure the mouse pointer is close to elipse center.

Is it other way to get a small object to snap with it's center point other than using zoom?

Thanks
:lol:

samigina
Posts: 30
Joined: Wed May 28, 2008 12:12 pm

Re: How to make snap center to be first choice

Postby samigina » Thu May 26, 2011 12:17 am

In the Snap option bar, be sure to check just Snap to boxes centers, grid and nothing else. See the attachment.
Attachments
rect3632.png
rect3632.png (6.74 KiB) Viewed 4829 times

User avatar
Grobe
Posts: 411
Joined: Tue Feb 02, 2010 2:20 am

Re: How to make snap center to be first choice

Postby Grobe » Thu May 26, 2011 12:54 am

It still doesn't solve the problem. It's not possible to activate "Snap Centers of bounding box" without also activate "snap bounding box corners".

And when the object is very small, then "snap bounding box corners" always seems to have higher priority than "Snap Centers of bounding box". I beleive that it's because it's very hard to hit the mouse pointer so it's actually closer to center then any of the corners.
:lol:

samigina
Posts: 30
Joined: Wed May 28, 2008 12:12 pm

Re: How to make snap center to be first choice

Postby samigina » Thu May 26, 2011 1:09 am

You are right, with very small objects it snap to the corners. I tried this:

In the Document Properties, Snap Tab, and reduce the distance for Snap to Grid and Snap to Objects. I have 1 for objects, and 10 for grid.

User avatar
Grobe
Posts: 411
Joined: Tue Feb 02, 2010 2:20 am

Re: How to make snap center to be first choice

Postby Grobe » Thu May 26, 2011 1:50 am

Hi.

Reducing snap distance according to what you wrote didn't solved the problem. The small object still snapped with it's corner, but I could snap the object's corner to the grid line.
:lol:

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: How to make snap center to be first choice

Postby brynn » Sun May 29, 2011 6:21 pm

Well, for the most part, I've also found that I have to zoom to solve this problem. Setting the snap strenghth/distance can help, but doesn't solve it for me either.

One thing I've found with circles, squares, and other shapes where the center is nearly equidistant to all the corners or circumference, is that it's sometimes impossible to snap to the center, if the object has no fill. But for some reason, when I give it a fill, it snaps easily. I don't think that will solve the problem of tiny objects though.

I've also found that snapping to the grid seems to take precedence over other snap targets, and often have to either disable the grid, or disable snapping to the grid, if I want to snap nodes, for example. And which I know you said you do want to snap to the grid. But I just mentioned it to say that there does seem to be some precedence in snapping. It does seem to me that when multiple targets are present, some snap more readily than others (regardless of the snap distance/strength).

OH! I just thought of something. If in Inkscape Prefs you have it set for 'snap closest to pointer', that might be part of the problem. I think with very small objects, some zoom might always be needed. But enabling/disabling 'closest to pointer' might help.

dvlierop
Posts: 139
Joined: Sat Sep 08, 2007 4:25 am

Re: How to make snap center to be first choice

Postby dvlierop » Tue May 31, 2011 4:48 am

In the document properties, there's also a snap tab: there you will notice that for grid snapping "always snap" has been enabled by default. This means that when a grid is available, and when snapping to grids is active, that Inkscape will simply always snap to a grid. So yes, grids might seem to prevail when it comes to snapping ;-)

For the tiny objects: try selecting the object, and then press-and-hold the Q-key (for Quick zoom). This will allow you to grab the tiny object at its center (provided that the object is not transparent as Brynn already noticed)

User avatar
Grobe
Posts: 411
Joined: Tue Feb 02, 2010 2:20 am

Re: How to make snap center to be first choice

Postby Grobe » Tue May 31, 2011 6:43 am

dvlierop wrote:For the tiny objects: try selecting the object, and then press-and-hold the Q-key (for Quick zoom). This will allow you to grab the tiny object at its center (provided that the object is not transparent as Brynn already noticed)
Hi. That's actually a good workaround. But it zoom almost too much. Solution to that is to select several objects that is close to the objec that is to be moved :geek:
:lol:


Return to “Help with using Inkscape”