Copy link to clipboard
Copied
Hi all , I would like to know how to retrieve the value of shear angle which is applied to the pathItems(ex:shear angle applied to the rectangle, here rectangle is created using path) . How can we retrieve the value of shear angle in this scenario?
Copy link to clipboard
Copied
You basicalyl can't after the fact since it's not applied parametrically. In some simple cases like a rectangle you could re-calculate it based on distinct anchor points and their positional differences compared to where they would be in unsheared state, but this quickly falls apart on more complex paths.
Mylenium
Copy link to clipboard
Copied
Thank you for the response Mylenium. Is there any solution for retrieve the shear angle of the shape?
Copy link to clipboard
Copied
In simple cases you could create a vertical line, turn on View > Smart Guides, shear the line and read the angle.
Copy link to clipboard
Copied
Hi Ton Frederiks , I want to retrieve the shear angle of the shape through the script. need script to retrieve the shear angle of shape.
Copy link to clipboard
Copied
Ah, missed that part, maybe the scripting gods can help.
Copy link to clipboard
Copied
Hi @m1b can you please help me to rretrieve the shear angle details of pathItem and placedItem.
Copy link to clipboard
Copied
Hi @Abpujar, well @Mylenium's comment is correct. There is no way that I know of, unless you know the order of transformations that were done on the shape. For example, was it skewed or rotated first? Can you post an example file? I have an idea or two, but I'm not hopeful that they will work.
- Mark