Join Nearest Nodes



  • Please see the screenshot below. There are two objects (lines) in the artboard:

    Overlapping_Nodes_of_Two_Lines

    Please open this file:

    0_1686472430525_Overlapping_Nodes_of_Two_Lines.vstyler

    To join the overlapping nodes of the two lines, we must select them using Shape Editor tool (the hotkey is A), then use the Join command.

    If there are only a dozen nodes to join, we can select and join them quickly using that method. But if there are hundreds of nodes to join in a complex artwork, joining them manually will take some time to complete.

    Is it possible to create a "Join Nearest Nodes" feature, so we can simply use the Transform Tool (the hotkey is V) to select lines and join their closest nodes without having to select their nearest nodes?

    Around one decade ago, someone created it for Illustrator in a form of a JSX script, called JET_JoinNearest



  • @VectorStyler
    If the command would have an option to join the nearest nodes of two paths only when
    they are one under the other in the Layers stack, this would be very useful for editing PDFs
    exported from CAD apps, where all the shapes are exploded into separate segments — tens
    of thousands of separate objects sometimes. It would reduce the number of nodes and
    objects considerably.

    Later edit: Maybe a separate command and name for this — 'Rejoin Paths'.


  • administrators

    @gotanidea Added this to the backlog.