I recall that there was some macro command used to replicate a real mouse click with the left button. Maybe that command could be inserted into the whole macro to eliminate the need to set the end point for the dimension?
Another thing that I miss from other cad tools is the ability to measure from a face to a face (two parallel faces). Is there a tool in Rhino I’m missing or is this just not possible without a bunch of extra steps again?
How to do this in Rhino?
shape.stp (402.2 KB)
Look for “Closest points between objects” in the first post in this topic:
ClosestPt2Objects.py (3.7 KB)
Also, in post #15 there is a plug-in called “byRhinoGadget”, which contains a few similar tools, such like “Distance between 2 faces”, “Distance pt between 2 objects”, “Farthest 2 points in a curve”, “Min Max distance from 2 curves”…
Don’t think that is, but it should be fairly easy to script it.
Is it only for planar +parallel surfaces?
See if the attached does what you want, then I can probably convert it into a normal script.
(Use _GrasshopperPlayer)
distance.gh (9.1 KB)
@Rhino_Bulgaria I see that script doesn’t seem to accept surfaces in a polysurface.
At least with vertical dimensions in perspective, OneView should help and is kind of designed for things like that. Shame after all those years it still doesn’t support the SpaceMouse…
This is the reason why I completely gave up and was forced to stop using OneView for years…
Yeah, the SpaceMouse is such a no-brainer. Everyone in our office uses one and immediately loves it. After about a week nobody can imagine ever not using it. The driver in Rhino is excellent - the best built-in SpaceMouse driver in any software I have used. OneView looks like it is made for the SpaceMouse, yet it doesn’t work with it. And all because it is tied to right-clicking the viewport?
That seems like an approach that is just bound to fail at some point and seems like the laziest approach you can take as a dev. Taking some indirect trigger for an action it is not based on. OneView changes the CPlane based on camera angle, so it should check when the camera angle changes and not when something that changes the camera angle is triggered, because there might always be other ways of changing the camera angle.
There is also another plug-in which I use. It supports both, surfaces and polysurfaces.
Finds the clearance between surfaces or polysurfaces. Adds the following alias _-Clearance
Clearance.rar (1.0 KB)
I could not agree more. You pretty much explained the very problem about OneView while using a 3d mouse.
but that one also does not allow selection of sub-objects.
It asks for picking of a surface in case that it’s part of a polysurface. Or you mean lack of ability to pre-select a sub-object?
wonderfull thank you @Tom_P I really missed something like that in rhino!
note: with the second macro:
_CPlane _3Point _pause _pause r0,0,1 _dim 0,0,0 _pause _pause _CPlane _Undo
you cant dimension vertical lines because the cplane wont change.
best regards,
sebowim
Another example where measuring in 3d fails: Diameter / radius:
What I expect:
Rhino:
This is something that was requested so many times during the years… I lost hope that it will be fixed a long time ago.
You can make a macro to temporarily build a CPlane along the circle, then add the radius/diameter dimension, then revert to the previous CPlane.
! _CPlane _Object _Multipause _DimDiameter _Pause _CPlane _Undo
! _CPlane _Object _Multipause _DimRadius _Pause _CPlane _Undo
here is a python-script I made with chatgpt (via error-backfeeding, I am no programmer) in 10min for 3d-dimensions - the problem ist that it’s not associative maybe with more time the KI will make something for us.. If someone is interested you could just insert the script into chatgpt and prompt - maybe someone has the time to finish or refine it.
SCRIPT:
3D_Dim.py (1.5 KB)
best regards,
sebowim