X,Y location of Freeform Gradient Points

New Here ,
Jun 12, 2020 Jun 12, 2020

Copy link to clipboard

Copied

Has anyone discovered how to identify the EXACT (x,y) coordinates of the points in a free form gradient?

 

Yes, I know you could drag guides and get generally close, however we are trying to find the exact coordinates. 

 

Any help would be appreciated!

 

Cheers

TOPICS
Draw and design , Feature request , How to , Tools

Views

188

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 17, 2021 Dec 17, 2021

Copy link to clipboard

Copied

Hi there @ohhhsea , ever found a solution for this?

I'm currently needing to have these coordinates to give to an engineering team. 

 

Cheers!

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Dec 17, 2021 Dec 17, 2021

Copy link to clipboard

Copied

That may be a feature request:

https://illustrator.uservoice.com

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Dec 17, 2021 Dec 17, 2021

Copy link to clipboard

Copied

There is nothing I know of inside the application to get 100.00% accurate coordinates on freeform gradient stops. You can also use window >> info and hover over the gradietn stop, but that is as accurate as pulling guides, just quicker.

You would need need a script to pull from the code.
@CarlosCanto 

 

Gradients are quite forgiving with the color chanegs being subtle over an area rather than hard stop changes of a noise type gradient. Have to ask: do you really need this level of accuracy?

 

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 17, 2021 Dec 17, 2021

Copy link to clipboard

Copied

@MikeGondek I've got a gradient with over 70 stops and I'm asked to give coordinates for an engeneering team that wants to try and create it by programming. There are a few plug-ins where you can measure different kinds of objects etc. and have them all neatly put out with text, lines and such. So I could draw dots on theplace of one of these freeform gradient stops, but either I'm missing something, or it isn't really suited for the ask. 

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Dec 17, 2021 Dec 17, 2021

Copy link to clipboard

Copied

hi @MikeGondek and @Tom Coolen  It might be possible to pull the info out of the file.

 

in this sample I made a triangle with one side sitting on the horizon, applied freeform gradient and left the default 3 points at each corner.

 

then, saved the file uncompressed, then opened it with a text editor and searched for "ColorPoints"

 

as you can see below, the color of each gradient point is listed in each line that ends with a k, the four values are the cmyk values in decimal format

the next line gives you five numbers, the last two are the x,y coordinates of the point. I'm pretty sure the numbers represent the percentage of the size of the shape, so 0.5 would be in the middle of the shape.

 

/SmoothShadingStyle : (Adobe Diffusion Coloring Style) 3 /ColorPoints ,
0 O
0.597222805023193 0 0.883298993110657 0 k
1 w
1 1 0 0.074999953727292 0.949999974130389
/ColorPoint ,
0.885343670845032 0.808224558830261 0 0 k
1 1 0 0.925000030347277 0.949999974130389
/ColorPoint ,
0.088502325117588 0.152040883898735 0.31189438700676 0 k
1 1 0 0.499999992037285 0.100000000032654
/ColorPoint ,

 

since the engineers are writing their own program, give them that portion of the text, they should be able to figure it out.

 

hope it helps

Carlos

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 17, 2021 Dec 17, 2021

Copy link to clipboard

Copied

LATEST

Thank you very much, going to give this a go. Appreciate your generosity. 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines