How to make node handle angle snap to line angle

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 node handle angle snap to line angle

Postby Grobe » Fri May 20, 2011 9:21 am

Hi. Before I describe the issue, I post two Inkscape screenshots:

Image1 - Holding Shift to make node handle snap to 15 degrees steps:
nodeHandle1.png
nodeHandle1.png (3.45 KiB) Viewed 2610 times
As you can see, there is a slightly error in angle to make it same angle as the upper rightmost segment. If I want to snap.

To get node handle angle to align with segment angle, I must activate "Snap to paths". This is what I must do to avoid a result like this:
nodeHandle2.png
nodeHandle2.png (4.78 KiB) Viewed 2610 times

This is when node handle only snaps to 15 to degrees steps and not line angle.

Question I have: Is it possible to get Inkscape make rotation snap to +-90 and 180 degrees to the closest segment without first manually align the angle of the node handle to a segment?

Thanks
:lol:

User avatar
BobSongs
Posts: 324
Joined: Fri Sep 14, 2007 2:18 pm
Location: Montreal, Canada

Re: How to make node handle angle snap to line angle

Postby BobSongs » Mon Jun 06, 2011 3:02 pm

Wow, this is a real puzzler. First: holding Shift while moving the node does nothing for me. I seem to get the 15 degree jumps when I hold down Ctrl instead.

Have you tried going through Inkscape's preferences? (Ctrl + Shift + P). Somewhere in that labyrinth of choices might lie the answer to the 15 degree snap.

I'd suggest giving that a try and feel free to tell us what you find.

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: How to make node handle angle snap to line angle

Postby ~suv » Mon Jun 06, 2011 6:25 pm

BobSongs wrote:First: holding Shift while moving the node does nothing for me. I seem to get the 15 degree jumps when I hold down Ctrl instead.
Confirmed - I guess it was a typo in Grobe's initial post.

Grobe wrote:Is it possible to get Inkscape make rotation snap to +-90 and 180 degrees to the closest segment without first manually align the angle of the node handle to a segment?
For the feature request: no, not all requested options for constrained dragging of node handles do work with the new node tool in 0.48 (see for example bug #590755 “ctrl-dragging node handle does not snap to a line collinear with the opposite handle”).

But what you can do with regard to your example (where the adjacent segment is a straight line):
after dragging out one handle, convert the cusp node into a smooth node using the buttons on the controls bar (or the keyboard shortcut Shift+S). This will align the handle with the straight line segment (resulting in a "semi-smooth" node).
semi-smooth-nodes-1.png
semi-smooth-nodes-1.png (13.13 KiB) Viewed 2491 times

Dragging the node handle of such a "semi-smooth" node will be constrained to the direction of the straight line segment (without the need to use any modifiers while dragging it):
semi-smooth-nodes-2.png
semi-smooth-nodes-2.png (16.46 KiB) Viewed 2491 times

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

Re: How to make node handle angle snap to line angle

Postby brynn » Tue Jun 07, 2011 5:00 am

Oh, very clever, ~suv!
Image

That's happened to me countless times, as I like to do a lot of node editing. But I never thought about using it to my advantage, lol. Nice!


Return to “Help with using Inkscape”