Segments by angles of a 2D Bench


I’m new on grasshopper (working with R6) but I wanted to know what would be the best method to generate curves/segments of a group of lines (or points by using their coordinates) defined by a range of angles.

This is for determinate the segments of 2D benchs of an open pit and similar to this graphic:

Segment 4 is below 15°
Segment 3 is between 15° and 45°
Segment 2 is above 45°
and Segment1 should be lower than Segment 2

I was looking for alternatives to draw these segments, one mentioned Topologizer, but this only takes in consideration only the distance. This is somewhat I’m trying to achieve:
bench_segments.dxf (144.4 KB)

I hope someone can guide me