0

I know how to write the code (*.jsx) that will draw a path in Illustrator. By path I mean a number of path points (anchor point, pair of direction points, ...).

BUT is there a way to ‘get’ the location of .Anchor, .LeftDirection, .RightDirection. from a selected path? So, from drawing to code...

3
  • 1
    Yes, obviously. Have you read the programming reference? Depending on what you need you may not need to do this at all, both EPS, PDF and SVG dumps this to a text file to begin with so if all you need is points out don't bother. Anyway, not having too much time to write an answer, there is a special SVG dumper that I have written that shows you what you need in the post: graphicdesign.stackexchange.com/questions/73629/… Should get you there.
    – joojaa
    Commented Jul 11 at 8:50
  • 1
    If you want something human readable, export it as an SVG, then open the SVG in a text editor. The syntax for SVG paths is shown and explained here: css-tricks.com/svg-path-syntax-illustrated-guide
    – Billy Kerr
    Commented Jul 11 at 12:07
  • Excellent. This in combination with SVG Path Visualizer (svg-path-visualizer.netlify.app) does the trick. Commented Jul 12 at 7:45

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.