I use Inkscape when designing for my cutting machine. Sometimes there will be a need to clean up the paths for excessive duplicate nodes or join splitted paths. Other inkscape extensions have solved this for real duplicate nodes, but often the duplicates are not exacly the same coordinate and a tolerance is needed. The simplify option in Inkscape might help, but often it ruins the design or do not do what I need it to. So I have written an Inkscape extension that clean up my nodes the way I want it to.
What the extension does
Remove duplicate nodes
As it’s name says, the extension will always remove nodes that have the exact same position within the same (sub)path. As what seem to be exact same position might be slightly different the next options will allow for some discrepancies.
Remove close nodes
You can specify a tolerance for how close the nodes should be to regard them as duplicates. This allow for removing close-to-duplicate nodes . Also use this to reduce the amount of nodes, but for that purpose you might be better off with the built in Simplify tool.

Close paths
Specify a tolerance for how close the end nodes of a path should be to regard it as a closed path. The nodes will be interpolated and the path will be closed. This will operate on each subpath separately if your path is combined of multiple subpaths (Ctrl+ K).
Join subpaths
If your path is combined of multiple subpaths (Ctrl+ K) these subpaths can be joined if the end nodes are closer than a specified tolerance. You can join by adding a straight line (sure not to ruin the rest of the design) or by interpolating the end nodes (smoother join). The algorithm will start with the first subpath, find the minimum distance to all other end nodes and join if closer than the tolerance. You may allow for reversing paths.

How to download the extension
- Go to my Inkscape Resources and download the zip file (arrow down button)
- or if you have an GitLab account you could download from here
- The zip file containing the files removeDuplicateNodes .inx and .py
- Unzip and place the files in your User extensions folder. (Check Inkscape Preferences (Shift+Ctrl+P) and find your local User extensions folder specified in the System tab).
- Restart Inkscape to update with the new extensions. You will find these in menu Extensions > Cutlings > Remove duplicate nodes…
How to use the extension
If you want to join separate paths, make sure to combine these first (select them and Ctrl + K). Select the paths for which you want to clean up nodes. Select Extensions > Cutlings > Remove duplicate nodes… Set your selections and tolerances. Apply (or Live preview to watch what will happen while playing with the settings).
Hi and thanks
Remove duplicate nodes, shows up in “Modify Path” and not in Cutlings.
Best regards
Asger
I preferred the extension when I could set the distance between nodes. I had it at 0.005 mm, and that worked better for me. Now I have to fix duplicate nodes myself far more often. And I preferred it under “Cutlings” in the Extensions menu. Higher up the menu and fewer extensions in the pop-up list.
It’s still the best Inkscape extension. I just found it more useful before.
Thanks!
Sorry to not come back to you straight away – I guess this message drowned in summer vacation. I have edited the precision from 2 decimals to 3 decimals. Hope that works for you. I’ve been trying to add this extension to come by default with Inkscape. That is partly why it is now put in the Modify Path submenu. Read more about the new version in the readme here: https://gitlab.com/EllenWasbo/inkscape-extension-removeduplicatenodes
You can edit the inx file to force another submenu of your choise. Just eddit the submenu name close to the end of the inx-file.
HUZZAH! Thank you so much!
It’s bizarre. I ran it . . . and it didn’t work. No changes at all.
It talked to itself for a considerable period (there were several duplicates), but there were no changes, not on “Life preview” or on applying.
I tried a bunch of different values in the fields and there isn’t any sign of life.
I’ll try CleanUpPath and see if it works better for me.
CleanUpPath doesn’t work for me either.
I’ve got some error messages, if you’re interested.
Maybe you can send the error messages and a bit info on your setup (operating system, inkscape version) on email ellen at wasbo.net and I will look into it when I find time – a bit busy these days so please be patient.