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.
Tags:
Permalink Reply by Pascal Golay on January 24, 2013 at 10:57am 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.
-Pascal
pascal@mcneel.com
Permalink Reply by Ryan Wynott on January 24, 2013 at 11:04am 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.
Permalink Reply by Pascal Golay on January 24, 2013 at 11:10am 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.
-pascal
pascal@mcneel.com
Permalink Reply by Pascal Golay on January 24, 2013 at 11:11am I feel a script coming on.
-Pascal
pascal@mcneel.com
Permalink Reply by Ryan Wynott on January 24, 2013 at 11:20am Cool. Let me know if there's anything I can do to grease the wheels.
Permalink Reply by Pascal Golay on January 24, 2013 at 11:58am 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
SetPivot
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.
-Pascal
pascal@mcneel.com
Permalink Reply by Ryan Wynott on January 24, 2013 at 12:11pm 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.
Permalink Reply by Pascal Golay on January 24, 2013 at 12:42pm Yep, sorry- try this one...
-Pascal
pascal@mcneel.com
Permalink Reply by Pascal Golay on January 24, 2013 at 1:38pm Still some typing needed to get this really working right... some hasty assumptions made on my part.
-pascal
pascal@mcneel.com
© 2013 Created by McNeel Admin.
