How do I activate, 1. Snap from and to midpoints of bounding box edges. 2. Snapping from and to centers of bounding boxes.

Asked by Stephen Edwards

The only way I seem to be able to select either, Snap from and to midpoints of bounding box edges, or Snapping from and to centers of bounding boxes, is to first select Enable snapping, and Snap bounding box corners. Then the program seems to ignore the fact I have selected either Snap from and to midpoints of bounding box edges, or Snapping from and to centers of bounding boxes, and instead uses the Snap bounding box corners.

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
Diederik van Lierop
Solved:
Last query:
Last reply:
Revision history for this message
Diederik van Lierop (mail-diedenrezi) said :
#1

"The only way I seem to be able to select either, Snap from and to midpoints of bounding box edges, or Snapping from and to centers of bounding boxes, is to first select Enable snapping, and Snap bounding box corners."

-> This is by design; it allows to toggle all bounding box snapping on/off, with a single action. That's why there are three snappping sub-catagories

"Then the program seems to ignore the fact I have selected either Snap from and to midpoints of bounding box edges, or Snapping from and to centers of bounding boxes, and instead uses the Snap bounding box corners."

-> This should work; it might depend on what "snap source" is closed to the point of selection that has been grabbed, and on what is the closest snap solution (or closest "snap target"). Please have a look at the preferences, and look for the tab with snap settings. You might want to try playing with the weight factor (carefully read the tool tip), and with the option to only snap the snap source closest to the pointer. If you select the latter, then recent versions of Inkscape will allow you to use the tab key to cycle through all of the snap sources! That should be pretty powerfull, but is still only available in nightly builds. It will be part of the next major release (v0.49) though.

What version are you using? Can you provide a bit more details of what you're selecting, and wether you're dragging, scaling, or rotating, etc?

Revision history for this message
Stephen Edwards (esdwards) said :
#2

I am using v 0.48 and just dragging items to position them. Thanks for your help, although at the moment I'm not the position to try it out as I'm on holiday in Germany. I will let you know how I get on as soon as I get back to England. Thanks again Steve Edwards

> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #234776]: How do I activate, 1. Snap from and to midpoints of bounding box edges. 2. Snapping from and to centers of bounding boxes.
> Date: Sun, 1 Sep 2013 19:31:23 +0000
>
> Your question #234776 on Inkscape changed:
> https://answers.launchpad.net/inkscape/+question/234776
>
> Diederik van Lierop posted a new comment:
> "The only way I seem to be able to select either, Snap from and to
> midpoints of bounding box edges, or Snapping from and to centers of
> bounding boxes, is to first select Enable snapping, and Snap bounding
> box corners."
>
> -> This is by design; it allows to toggle all bounding box snapping
> on/off, with a single action. That's why there are three snappping sub-
> catagories
>
> "Then the program seems to ignore the fact I have selected either Snap
> from and to midpoints of bounding box edges, or Snapping from and to
> centers of bounding boxes, and instead uses the Snap bounding box
> corners."
>
> -> This should work; it might depend on what "snap source" is closed to
> the point of selection that has been grabbed, and on what is the closest
> snap solution (or closest "snap target"). Please have a look at the
> preferences, and look for the tab with snap settings. You might want to
> try playing with the weight factor (carefully read the tool tip), and
> with the option to only snap the snap source closest to the pointer. If
> you select the latter, then recent versions of Inkscape will allow you
> to use the tab key to cycle through all of the snap sources! That should
> be pretty powerfull, but is still only available in nightly builds. It
> will be part of the next major release (v0.49) though.
>
> What version are you using? Can you provide a bit more details of what
> you're selecting, and wether you're dragging, scaling, or rotating, etc?
>
> --
> You received this question notification because you asked the question.

Revision history for this message
Stephen Edwards (esdwards) said :
#3

I see what you are saying, unfortunately it hasn't solved my problem. I guess I should have provided more detail about what I'm trying to do in the first place. I start by constructing a circle in a grid box. The circle tool snaps to the corner of the box as I start, and to the opposite corner as I finish. The constructed circle sits perfectly in the centre of the box, but is slightly bigger than the box. Consequently the bounding box is slightly bigger than the grid box. So when I copy the circle and try to position it, the bounding box snaps to one side of the grid box which puts the circle out of centre in the grid box. I have since found that I can reposition the circle by useing the Alt & arrow keys but I would have prefered it if there was a way to simply snap it into the centre of the grid box. So if you have a simple solution it would be great to hear it. If not, then thanks again for the time and effort you've given me. Steve Edwards

> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #234776]: How do I activate, 1. Snap from and to midpoints of bounding box edges. 2. Snapping from and to centers of bounding boxes.
> Date: Sun, 1 Sep 2013 19:31:23 +0000
>
> Your question #234776 on Inkscape changed:
> https://answers.launchpad.net/inkscape/+question/234776
>
> Diederik van Lierop posted a new comment:
> "The only way I seem to be able to select either, Snap from and to
> midpoints of bounding box edges, or Snapping from and to centers of
> bounding boxes, is to first select Enable snapping, and Snap bounding
> box corners."
>
> -> This is by design; it allows to toggle all bounding box snapping
> on/off, with a single action. That's why there are three snappping sub-
> catagories
>
> "Then the program seems to ignore the fact I have selected either Snap
> from and to midpoints of bounding box edges, or Snapping from and to
> centers of bounding boxes, and instead uses the Snap bounding box
> corners."
>
> -> This should work; it might depend on what "snap source" is closed to
> the point of selection that has been grabbed, and on what is the closest
> snap solution (or closest "snap target"). Please have a look at the
> preferences, and look for the tab with snap settings. You might want to
> try playing with the weight factor (carefully read the tool tip), and
> with the option to only snap the snap source closest to the pointer. If
> you select the latter, then recent versions of Inkscape will allow you
> to use the tab key to cycle through all of the snap sources! That should
> be pretty powerfull, but is still only available in nightly builds. It
> will be part of the next major release (v0.49) though.
>
> What version are you using? Can you provide a bit more details of what
> you're selecting, and wether you're dragging, scaling, or rotating, etc?
>
> --
> You received this question notification because you asked the question.

Revision history for this message
Best Diederik van Lierop (mail-diedenrezi) said :
#4

This is easy: Preferences -> Tools -> Geometric bounding box!

Alternatively, snapping the center of the bounding box should also work, as long as your circles have a fill and if snapping of bounding box centers has been enabled: just grab the circle close to the center, and a snap source marker should be shown at the center. Now just move the cirle around and have the center snap to whatever you want it to.

If your circle doesn't have a fill though, then you can't grab it at it's center because it's transparent.

Revision history for this message
Stephen Edwards (esdwards) said :
#5

Thanks Diederik van Lierop, that solved my question.