• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Retrieve shear angle

Explorer ,
Apr 13, 2022 Apr 13, 2022

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? 

TOPICS
Scripting

Views

657

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
LEGEND ,
Apr 14, 2022 Apr 14, 2022

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

Votes

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
Explorer ,
Apr 14, 2022 Apr 14, 2022

Copy link to clipboard

Copied

Thank you for the response Mylenium. Is there any solution for retrieve the shear angle of the shape? 

Votes

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 Expert ,
Apr 14, 2022 Apr 14, 2022

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.

Shear-angle.gif

Votes

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
Explorer ,
Apr 14, 2022 Apr 14, 2022

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. 

Votes

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 Expert ,
Apr 14, 2022 Apr 14, 2022

Copy link to clipboard

Copied

Ah, missed that part, maybe the scripting gods can help.

Votes

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
Explorer ,
Aug 03, 2022 Aug 03, 2022

Copy link to clipboard

Copied

Hi @m1b can you please help me to rretrieve the shear angle details of pathItem and placedItem. 

Votes

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 Expert ,
Aug 03, 2022 Aug 03, 2022

Copy link to clipboard

Copied

LATEST

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

Votes

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