Simplify polyline based on angle

Hi all,
Is there some plug-ins or other ways we can simplify a polyline based on its segments’ angle? rather than the points density? What I want to do is, when there is a specific segment’s angle is larger than a given number, say, 110°, it would delete this control point(as shown below)


Thanks for any suggestion.

Simplify Polyline based on Angle.3dm (67.7 KB)

This could be a way.


Simplify Polyline based on Angle_re.gh (9.1 KB)

4 Likes

Reduce component does this in one go I think.

1 Like

Thanks Kim and Teddy, I have tried and found that both way works!
Many thanks for the help~ :smiley: