double nodes

General discussions about Inkscape.
schoggi
Posts: 20
Joined: Wed Jul 10, 2013 8:30 pm

double nodes

Postby schoggi » Sun Jun 22, 2014 5:25 pm

Hello out there,
I have 2 small Problems...
1. on a project , probably by copying, I have lots of nodes stacked on top of eachother,( Grey nodes without outlines) is there a way to remove those superfluous and keep only one??? at some places I got 3 on top eachother, other places 6 or more
and I want to obtain only a drawing with single nodes for plotter use....
2. this forum and site is so enormous to explore about this opic and I get no direct results from the "SEARCH" funtion :?

thanks a bunch in advance :tool_node:

User avatar
ragstian
Posts: 1181
Joined: Thu Oct 11, 2012 2:44 am
Location: Stavanger-Norway

Re: double nodes

Postby ragstian » Sun Jun 22, 2014 8:01 pm

Hi.

Two methods;

1:
Select the object with the too many nodes.
Perform a 'Path Union' either by the dropdown Path menu or
by keyboard (Ctrl + +) (you have to use the 'plus' on the numerical keypad)

2:
Select the object with the too many nodes.
Perform a 'Path Simplify' (Ctrl + L)

Have a look at 'The Manual' - to get up to 'expert level on node editing.

Good Luck
RGDS
Ragnar
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: double nodes

Postby Lazur » Sun Jun 22, 2014 8:26 pm

The cleanest way would be to use the node editor tool.
Rectangle select one of those stacked nodes, click on the unconnect nodes icon, which will result in only double nodes.
After that, click the merge nodes together icon
-both of the merge nodes and unconnect nodes icon are in the node tool's toolbar-.

If you have a large number of these stacked nodes, I would suggest Ragnar's first method too.
Hmm almost.
With the restriction there are no overlapping segments of the path with eachother.

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

Re: double nodes

Postby brynn » Mon Jun 23, 2014 2:38 am

Union may be the best solution, solution, depending on your circumstances on the canvas. I don't use it much, in a situation like this, because it sometimes changes the arrangement of the nodes. And I don't like having the nodes rearranged.

One thing I do sometimes, is drag a selection box around the stack (with Node tool :tool_node: ), and then click "Join selected nodes" button. That only works if the nodes are consecutive nodes on the same path. Overlapping nodes of different paths, or non-consecutive nodes, will not join like that.

If they are either not consecutive nodes, or they are on different paths, here's what I do. Like before, drag a selection box around the stack of nodes (with Node tool :tool_node: ). Then hold the Shift key, while you click once on top of the stack. That deselects the top node, leaving all those underneath still selected. Then just delete. Actually might be best to hold Ctrl key while deleting, especially if nodes are non-cusp/corner nodes.

Edit
The search feature in this forum needs a good deal of tweaking. But even under the best of circumstances, it's often hard to search, if you are new to a program. I've found that knowing the proper terminology is often the only way to search successfully.

User avatar
Maestral
Posts: 982
Joined: Sat Aug 27, 2011 7:10 am

Re: double nodes

Postby Maestral » Mon Jun 23, 2014 5:31 am

Most of these methods (if not all) would make changes on the shape/path/object, when applied.

Also, I`m pretty much sure those nodes are not on top of each other but very, very close to each other. So, if you zoom in, you`ll see how many of them is there, and then:

- Use :tool_node: to select wanted ones,
- place the cursor above the node which you find the most suitable to preserve the shape`s/path`s/object`s original (desired) appearance.*
- Shift + J
- you`ll end up with just one node, which is still in the same place.

*Node will turn red when you place the cursor right above it. If you place a cursor close to it (not exactly over it), nothing would change and the nodes would join while not preserving the desired appearance.

From time to time, you`ll need to adjust the result of this method but it will surely be closer to the original/desired appearance than other automated methods would.
:tool_zoom: <<< click! - but, those with a cheaper tickets should go this way >>> :!:

schoggi
Posts: 20
Joined: Wed Jul 10, 2013 8:30 pm

Re: double nodes

Postby schoggi » Tue Jun 24, 2014 3:02 am

ok thanks a lot all of you
Problem solved
had a lot of same objects on top of eachother
where I should have had 700 nodes I had 7000
still don t know how that did happen :x


Return to “General Discussions”