Skip to main content
May 23, 2018
Answered

Evenly place anchor points along a path, while keeping its form

  • May 23, 2018
  • 2 replies
  • 1926 views

Best Adobe Illustrator Community,

I want to evenly place anchor points along a path, which has been created from a graph by using the Line Graph Tool, while keeping its form. The reason is that I want to create a dashed line of this path where every dash regards one or more anchor points, instead of selecting the path and using Object > Path > Join and hence making the dashed line regard the length of the path. The more specific reason for this is that I want to add an arrow to a dash, which is made up by a (joined) number of anchor points. This will create a dashed line where one dash has an arrow (to indicate direction) while keeping the distance between the dashes equal.

The graph/path regards the function y = x2 and the image below shows the result if you immediately dash the unjoined path/graph. As you can see the dashes are unevenly placed since the graph/path is nonlinear:

The dashes in the image above do regard the anchor points, but I want the distance between every dash to be equal...

The enlarged image below shows the result if you select and join the graph/path, then select Dashed Line and lastly make sure that Direct Select is selected (the latter will reveal the anchor points):

As you can the dashes don't regard the anchor points, so you won't be able to join a number of anchor points and add an arrow to that created path without making the distances unequal.

Help would be highly appreciated but the last image raises one more question… How do I reverse the dashed line in the last image (if I ever wanted to) so that the last, shortened, dash is in the other end?

Thank you so much on beforehand!

Best regards,

Andreas

This topic has been closed for replies.
Correct answer Monika Gause

To get anchor points at even distance, apply the Effect > Distort & Transform > Roughen. Set the first value to 0, then set the second value to whatever you need.

You will need to try it out. In order to see an effect of this you need to Object > Expand appearance.

2 replies

May 23, 2018

The priority is to simply add an arrow to a dash with some inequality being allowed (I suppose), which might not even be noticeable to the average inspection, and this is possible by using the procedure illustrated in the last image. But it would have been ​really nice to achieve equal distances

Monika Gause
Community Expert
Monika GauseCommunity ExpertCorrect answer
Community Expert
May 23, 2018

To get anchor points at even distance, apply the Effect > Distort & Transform > Roughen. Set the first value to 0, then set the second value to whatever you need.

You will need to try it out. In order to see an effect of this you need to Object > Expand appearance.

May 24, 2018

Monika, Guten Tag!

Applying Roughen to other more simple objects did place the anchor points at even distance… It did not do that for my curve (probably because it's complexity), but it still added more anchor points for me to play with without altering the shape significantly (if you place the original and the roughened on top of each other, some distortion is noticeable)

As I increase the second value it adds more anchor points, so I suppose the anchor points approach even distances...

Thank you!

Jacob Bugge
Community Expert
Community Expert
May 23, 2018

Andreas,

Have you tried to (re)create it as a normal curved path with only the needed Anchor Points using the Pen Tool, then adding Anchor Points as desired?

May 23, 2018

I suppose I have made a reasonable attempt at that but I really desire mathematical precision and using the pen tool for this is more strenuous…