Cull Lists without deleting items

Hello!

I need some help in the following task:

I used an image sampler to compute a grid of lines, extruded in z axis with a value from 0 to 1, extracted by the brightness filter of the image samper. I multiplied the outcoming values by 5 to see a better result.

Is there a possibility to e.g. cull every line that is smaller than 4.8? I tried around with lists and got a list defining a true and false component for the comparison NUMBER > x, but couldnt really go much further than that.

Thanks for your help!

elevation gh.3dm (76.1 KB)
elevation.gh (153.6 KB)

Best

strudelone

Something like this?

elevation_re.gh (158.3 KB)

2 Likes

Thats it. Thanks a lot!