WISH: Select By Length

I’m thinking of a selection tool that could work similarly for object edges and also for curves. This would likely have to be two separate commands for them though.

Select Object Edge By Length:
First select the object(s) you want to perform the command on, then select either option (1) an edge (it would measure the length of) or option (2) input a length, and then it selects all edges with that common length. When specifying the length you could also optionally specify a range.

Select Curves By Length
Option (1) Select a curve (it would measure the length of) or option (2) input a length, and then it selects all curves with the common length. When Specifying the length you could also optionally specify a range.

The following two scripts will cover your request #2… with a few additional bells and whistles. I may actually combine them into one.

–Mitch

SelCrvsByLength.py (2.5 KB)

SelSameLenCrvs.py (2.7 KB)

4 Likes

Thanks Mitch! I will give this a try.

whoa! These scripts are so essential and powerful, they should be stardard commands. @pascal

1 Like

Thanks @Helvetosaur!

Thanks too

Is there a script for sel arc by radius like your selcrvsbylength?
I searched before my question but couln’t find it.

Yep, here are a couple…

SelByRadius.py (2.8 KB)
SelSameRadArcsCircles.py (3.0 KB)

Note neither of these distinguishes between arcs and circles - I could modify either one to do so I suppose…

Thank you again, this works for me.