How do i snap to the vetex of a shape?

Asked by Donna Gaffney

Hi, I am using Inkscape with my Year 5 class to create tessellations. I need them to be able to use the copy and paste function and then use a snapping tool to ensure their objects fit together without gaps, however, I do not appear to be able to find the function to do this?

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
Hachmann
Solved:
Last query:
Last reply:
Revision history for this message
Donna Gaffney (mrs-gaffney) said :
#1

Vertex

Revision history for this message
Casey (kcfikle) said :
#2

Hi Donna,

I hope I can help you with this issue! In the menu bar, go to View -> show/hide and see if the snap control bar is checkmarked or not. When checked, by default it should shows up in the bottom right with three controls (Snap to Page Border, Snap to Grids, and Snap to Guides). Also, in View there is an option to display a grid that may help with working with tesselations. :-)

Best Regards,
Casey

Revision history for this message
Donna Gaffney (mrs-gaffney) said :
#3

Yes, I know where these are but none of them snap to the vertices of the shape! They all snap to the centre or the border of the shape??

Revision history for this message
su_v (suv-lp) said :
#4

On 2014-08-31 20:17 , Donna Gaffney wrote:
> use the copy and paste function and then use a snapping tool to
> ensure their objects fit together without gaps

In case you happen to use Inkscape on Macs ...

... please read this section of the Inkscape FAQ_
http://inkscape.org/en/learn/faq/#Copying_and_pasting_in_Inkscape_creates_pixellated_images_instead_of_copying_the_vector_objects
and change the X11 preferences as shown here:
https://bugs.launchpad.net/inkscape/+bug/307005/+attachment/1760181/+files/X11-pasteboard-preferences.png

Note that the changes will take effect immediately (no need to restart X11/XQuartz or Inkscape), but objects copied&pasted earlier will need to be re-copied&pasted again.

(if vector objects got pasted as bitmap images, it would explain why node snapping fails - bitmap copies don't have paths and nodes anymore which could serve as snap targets).

Additional recommended reading for Inkscape users on a Mac:
http://rhult.github.io/articles/inkscape-tips/

… but if you don't use Inkscape on Macs, please ignore this answer.

Revision history for this message
Donna Gaffney (mrs-gaffney) said :
#5

Not a mac user no

Revision history for this message
Hachmann (marenhachmann) said :
#6

I think I got what you mean: You want to snap to extreme points of a drawing, even if there is no node.

In the current version, I believe it is necessary to add a node at the place of the line where you want it to snap to, if you want to snap it at a specific location - apart from the exact middle of a line segment.

So:
Double click on curve at vertex point to add a node when curve is selected with node tool. Make sure the new node is a 'pointed node' (the one which is a little square). Also select 'snap to pointed node' (or similar, German version here) from the snapping buttons.

For the next inkscape version, there is a new function 'snap to extreme points in x direction / in y direction' (or similar), doing what you want directly.

Revision history for this message
Donna Gaffney (mrs-gaffney) said :
#7

This sounds like what I want to do but following your instructions having little success! Double click on points and two square boxes come up! Then clicked on edit paths by nodes icon and make selected nodes corner but nothing happens!!

Revision history for this message
Best Hachmann (marenhachmann) said :
#8

Mmh, here it works.
So, a little more fine-grained:

Inserting the node
1. Select the object using mouse
2. double-click object or hit F2 to enter node editing mode
3. Click once on the line segment where you want to add a node.
4. Double-click at the exact point where you want to add the node.
5. Click on button to make sure the new node is a corner node.

Activating the snapping:
6. Activate snapping (uppermost snapping button active)
7. Activate snapping to nodes (6th button from top in snapping buttons column)
8. Activate snapping to corner nodes (9th button from top)

9. Move objects very close to each other. In the document settings, you can set the distance at which snapping starts.
10. If it does not work: make sure that both objects you are trying to snap have a snap-activated-feature (e.g. a corner node, if nothing else is activated) at the place where you want to snap them together.

Revision history for this message
Hachmann (marenhachmann) said :
#9

Oh, and here I noticed a bug: Sometimes it does not snap, but it will, if you zoom in closer.

Revision history for this message
Donna Gaffney (mrs-gaffney) said :
#10

I think with this advice and a bit of playing I've worked this out now. Thanks