Cull Corner Points On Curve

Hello All,

I have a curve and a set of points on the curve in Rhino.

I would like to cull the corner points that are highlighted here:


cornerpoints

how can I cull only the corner points from the list of points I have in this file?

here’s the GH file:
cullcornerpoints.gh (6.2 KB)

Thank you!
Renan

Assigned to Grasshopper category.

cullcornerpoints-b.gh (14.6 KB)

That corner on the far left looks like it’s not being culled but is, because it’s very close to another point. (you also happen to have a number of duplicate points.)

1 Like

Hi Ethan, thank you, this is a great way of doing it! Can you suggest any other way of doing this without using the curve evaluation angle? The angle doesn’t always work for me, as sometimes on other curves I get corner points showing up as 0 degrees.

Thanks again!

Another idea using the Cull All option of Cull Duplicates…
You can input some tolerance if your goal is to remove those two very close points on the left.

cullcornerpoints.gh (7.8 KB)

3 Likes

Perfect, just what I was hoping to do! Thank you Ethan and Teddy!!


cullcornerpoints_2022Nov20a.gh (7.4 KB)

1 Like

Nice, thank you Joseph!