Delete internal points on a curve - only keep end points and kinks

Is there a simple way to achieve this? delete all interal points, although polyline is made up of many points, they are on the same line, i want clean up the line and only keep end points and kinks.

Can someone please help to achieve this.

polyline (4.8 KB)


Hi @Vikas_Venkatesha
If I understand you correctly, take a look at the Simplify Curve component.
HTH, Jakob

Moved to Grasshopper category.

There is also the Reduce component for polylines which removes “insignificant” vertices within a given tolerance.

1 Like