Advertisement


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


Question

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

2015/07/01
1
1
7/1/2015 8:48:00 PM

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.

2016/01/05
2
1/5/2016 3:12:00 AM