Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


Prevent Offset Trimmed Path Stroke from Returning on the Other Side

Explorer ,
Jun 14, 2021 Jun 14, 2021

Copy link to clipboard

Copied

When Trimming a shape path, how do I prevent the Offset from looping back around to the other end of an open path?   It's behaving like a wormhole portal - out one end and back in the beginning...  I just want it to leave.

 

Thanks

 

Marc

TOPICS
How to

Views

54

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 ,
Jun 15, 2021 Jun 15, 2021

Copy link to clipboard

Copied

LATEST

You could always simply limit the range of your input sliders by tying Offset and the start/ end together with some simple linear() expression, i.e. if the offset exceeds a certain range, the end or start compensates. Pseudo-code to be applied to the end or start property:

 

linear(offset,0,100,20,100);

 

Figuring out the exact values would take some experimentation, though. Unfortunately there is no simple way to derive the exact path length in pixels (unless one were to re-create the entire Bézier formula in the expression) to facilitate those calculations.

 

Mylenium

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