Merge anchor points
I'd like an option to merge two anchor points into one on a shape/path. This would make cleaner paths and objects.
Cam’s solution will work for a single path only.
If your object has several gaps and not one, this Unite will close each path, instead of connecting gaps. And you don’t need to select points for that, just select the path as a whole and hit Unite.
Object > Path > Join connects the closest gaps, with a straight segments, first all of them but the largest, and close the path with the second operation. It has it uses, can be applied to a path selection too, but also to a pair on points — only one pair, and only a valid pair.
A less known Average and Join commands welds two selected points.
Join tool would be another option to close gaps, with a sharp intersection of two curved or straight segments (it depends on a possibility). Unfortunately this tool can’t be automated, lacks proper feedback, options, and is very specific.
Another solution would be to use a paid plugin from AstuteGraphics suite, Connect tool. It build a new smooth segment between. The feedback is excellent, there are some options, results are almost better than stock Join, but it also can’t be automated and assigned to a hotkey.
I assume there is a mix of different 'merge', 'join', 'unite', 'connect', 'weld', etc. terms happened. The original topic started never explained exactly what they wanted, and everybody else talked about different things.
Perhaps we never know what was the original request :)
Zigmas Mallol commented
Yeah, Cam answer is the simplest, easiest way to do this. Just grab the two single points you want with the direct selection tool, and go to the pathfinder tool and unite them both.
the path Object>Path>"Clean up..." command also works well in certain cases.
Thanks, Cam that's the answer.
Ivan Sablaev (Sahba) commented
Command+Option+J will AVERAGE 2 or more points BUT it will NOT join/weld them so you end up with 2 or more points sitting on TOP of each other. (CTL+ALT+J) Also, it needs a confirmation and will do this on Horizontal axis, or Vertical axis or both. However, if you are trying to join 2 points opposite of each other on a shape, e.g. creating a centerline on a banana, you have to do this manually for each of two opposite points, then take the start and end of the curve and cut them and delete ONE of the centerline curves.
It baffles me what is the exact use of having 2 points or more on top of each other short of possible screwing up a rip engine processing a file during print or worse CAD CNC. However, it does not surprise me as our Adobe sw techs in India seem NOT to have much clue about real world production of graphics and just very creative adding razzle dazzle rubbish to an already too top heavy 30+ year software.
use the selection tool to select the two anchor points
use unite in the pathfinder tool
Ctrl + Alt + Shift + J does nothing. This should be a thing, take two anchor points that are on the same path and adjacent to one another and then there should be a command which will average the distance and place a smooth anchor point at the average between the two points it's deleting and maintain the curve. Cmon adobe you can do it, I know you can!
There is one more option that can help.
Select 2 anchor points using direct selection tool . Press keyboard shortcut Ctrl + Alt + Shift + J . It will join 2 anchor points .
Instead if you like to join anchor points by creating path between anchor points , then Ctrl + J or Object > Path > Join would help
This could be useful implemented as a modifier when dragging points.
For example, hold [ctrl/alt] when dragging one point on to another to merge them.
[Object/Path/Join] is good but can be inefficient and sometimes ineffective due to its use conditions. Would be great if this could be a more interactive and absolute process.
Herman van Boeijen commented
Does Menu item
Object > Path > Join
not do this for you?
Or would you need something like http://shspage.com/aijs/en/#join_reasonably ?
Shivendra Agarwal commented
Also you can simplify you path by:
Shivendra Agarwal commented
Join and Trim can help your need.
and for high level merging try path-finder/ shape-builder tools.