Illustrator/Photoshop: how to get path points’ coordinates?

How to get black points' coordinates?

Hi everybody

In the picture there is a line with black points. While I know how to get the anchor points coordinates with the mouse cursor, I would love to know how to get the information of the black points’ coordinates.
An additional goal would be to export the points’ coordinates into a text file.

Can someone help me?

Cheers and thanks for any hints,
Matt

Answer

To help with your additional goal:

I am working on a project that has this requirement, so I put together a small Illustrator script that exports a JSON file including points in each layer. It’s pretty basic right now, but you may find it useful: https://github.com/elcontraption/illustrator-point-coordinate-exporter

As of now it only works with polygons, and there is no differentiation between shapes in a layer. It will output an object named for each layer, containing an array of all points within that layer.

Attribution
Source : Link , Question Author : Matt , Answer Author : darinreid

Leave a Comment