For some reason there is a bug in Rhino that will not let me measure the radius (or diameter) of any selected objects that are in the same group with a simple straight line. Lines don’t have a radius, so I’m not sure why would they stop the “Radius” tool to do its job as expected…
I have a library of screws and nuts, each of which consist a line and a few point objects all grouped together to help me snap them to other geometry. However, the aforementioned bug will prevent me from checking the radius of those objects, unless I deselect them all and re-run the “Radius” (or “Diameter”) command. This is often inconvenient, because I usually select plenty of screws and nuts that I import or want to isolate from the main scene, thus I want to be able to measure the radius or diameter of individual polysurfaces even if they are in the same group with a line.
Yeah, this is an odd bug, I can reproduce it. Funny, it is only a problem when one or more surfaces/polysurfaces are grouped with one single line. Add a second line to the group and it works as expected. It’s as if the single line floats to the top of the list and doesn’t let you select anything else.
It also does not happen with an arc or other curve grouped with a single line, only when the line is grouped with surfaces and/or polysurfaces.
Exactly. Oddly enough, it seems like the line (an object that can never have a radius) will mess up the code of the “Radius” tool.
Hi @Rhino_Bulgaria, maybe below macro helps to circumvent that bug:
! _Radius _SelectCurve _MultiPause _SelPrev
it allows to measure multiple times, press
_Enter to re-select the object.
Thanks! This macro actually does the job while one screw consisting a line in a common group is being pre-selected. However, if two or more separate screws (with their own groups) are pre-selected before running the macro, they are not selected again after the radius measurement. Maybe it’s because the “_SelectCurve” portion of the macro requires to pick an object, thus the “_SelPrev” command will not remember all of the other objects that were initially selected. But for a single screw your macro is useful.
i did only test the single group with line case. Hoperfully the bug can be fixed in the near future.
I also hope so, because it’s essential.
Hi all - this seems to be just an assumption that if a single curve is selected, that is the thing you want to measure. I can see how that makes some sense much of the time but is weird here, especially if the curve is a line. I’ll see what we can do…
RH-75517 Radius - constrained if a curve is selected with other objects
Well, surface edges are also considered as curves in this case…
Yes- my hope is that the preference will only happen if only a single curve is selected.
I agree, that’s the natural way. The automatic radius measurement should trigger only in case that a single object (curve or surface or polysurface) is selected. Two or more objects selected together should not trigger that function.