SeaDek/Teak lines - Find curves less than .128

Is there an existing script or workflow to quickly scan a large design for curves less then a specific distance?

For example, run though a design and highlight curves less then .128.

Have you tried _SelShortCrv?

That doesn’t seam to work. I have a .125 distance and it didn’t highlight it. I tested with an offset open curve (lines) and a circle offset. That would have been great if it worked!

Are you trying to find short segments in joined curves?

Short distances between parallel curves, not segments.

Well that’s something else than what I thought you meant with curves less than .128

1 Like

@Eric you will need to script this. Select pairs of curves, then analyze the distance between them. There are RhinoCommon methods to do this. Do you have a sample file you can share?

(without scripting)

use
_offsetMultiple
twice with

 0 .128
-0.128

use same reference point

run
_intersect
on above result
there might be some issues regarding the start / endpoints

alternative is to use _pipe - but there might be self-intersections inside the pipes…

Yup, I actually have someone helping with a script. Thank you!

That’s an interesting take on it. However, I have large datasets and running that manually through dozens of samples would be a be time consuming. Thanks for the tip… I actually have another use case for that workflow… so thanks!