Help greatly appreciated! I'm using 'curve proximity' to draw lines, and the length of the lines to choose which is displayed

Hi all,

Currently I have a file with terrain contour lines in which I'm finding the closest points between curves and using them to draw lines, constrained so only points of the same height are used.

What I want to do now is control which lines are 'displayed' based on their length. I'm able to sort the lines by their length but I don't know how to then use this to control which is displayed...

I suppose I need something which works out the distances and orders them by size, then draws a line between the generating points, only one line at a time and controlled by a slider.

Any help would be very much appreciated.

Files available at this Dropbox link because the Rhino file is 8MB:

https://www.dropbox.com/sh/t1eqc7csv1jzynz/AADUaHa4Y6Ve3vOQX6hAQ1DS...

  • up

    Laurent DELRIEU

    If you just want to see curves smaller than a threshold

    • you first flatten lines
    • the measure themĀ 
    • calculate the bounds so it will be possible to apply a unitized distance thresold between 0 and 1
    • the remap the length
    • test the unitized lengt with a criteria and dispatche just lines where there is a true

    you can also apply 2 distances threshold if you want ...

    1