Is it possible? I'm thinking of things like doors. Would be handy... Do a lot of eyeballing door swing clearances etc. Maybe there is another way to do it.
Also for giving client tours it would be nice to be able to "walk" through and operate doors and drawers etc with minimum clicks and not have to leave fullscreen perspective.
Hi Ryan- not currently possible- that is, you can move the Gumball to where you like for single objects and that will stick in a session but not between sessions, nor between a save and reopening of the file in one session, and not for multiple selections.
I guess I could group the door with a point positioned in space so that it caused the gumball to fall onto the hinge axis.
That could actually work! Not sure how to force the location accurately though, it may take a few tries. Maybe, make a Rectangle> Center from the desired pivot location, slightly larger than the objects to be pivoted. Extrude BothDirections a little over sized as well. Place two points, at opposite corners of the resulting extrusion, delete the extrusion and rectangle and then group the points with your object.
I feel a script coming on.
Cool. Let me know if there's anything I can do to grease the wheels.
Hi Ryan- here's a crude start-
To use the script, extract and save the .rvb file from the attached zip archive, then drag and drop the saved rvb over an open Rhino V4 or v5 window. This will load the script, set it up to load on startup in the future and register an alias
that will run the script much like a regular command. The alias can be typed or added to a toolbar button or keyboard shortcut (F-key).
This is dumb and simple so far:
- if you want to change the pivot, you need to ungroup, delete the two added points and start over. I'll see if I can make that a bit friendlier.
-The points cannot be hidden- the gumball only pays attention to visible objects.
If this is sort of on the right track, and if I get ambitious, and it looks like it might actually be useful, it may be possible to do this more completely in Python.
The make points and group part is working but I don't think the points are going in the right place. Pivot isn't showing up where I select. I made a simple box and it worked... So I'll email you my file.
Yep, sorry- try this one...
Still some typing needed to get this really working right... some hasty assumptions made on my part.