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.

Views: 100

Reply to This

Replies to This Discussion

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

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.

-pascal

pascal@mcneel.com

I feel a script coming on.

-Pascal

pascal@mcneel.com

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

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

Attachments:

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...

-Pascal

pascal@mcneel.com

Attachments:

Still some typing needed to get this really working right... some hasty assumptions made on my part.

-pascal

pascal@mcneel.com

RSS

Translate

© 2013   Created by McNeel Admin.

Badges  |  Report an Issue  |  Terms of Service