Turntable Command - Camera Target / Rotation Center

Is there a way to define the centre of a turntable that is run? Maybe this could be added as an option to -Turntable?

For example - a shoe which is maybe not central, when the object is turntabled the viewport will slide from left to right depending on where it is not central (if you want the object to . So each time I want to do the turntable, I would have to make a bounding box, move the object centre to the origin, run turntable, then move back.

Thoughts?

Hi @Jonathan_Hutchinson1
If you are refering to the Turntable command, it uses the camera target, so use PlaceTarget to set it. I think itā€™s the same for the animation setup turntable.
HTH, Jakob

1 Like

Brilliant. Never used that before, and even then I tried to type it in expecting it would be CameraTarget or PlaceCameraTargetā€¦ the naivety!

Macros incoming

Turntable has been unusable for me ever since (I think) Rhino 3. I start the command, and then the centre of rotation randomly jumps around, soon losing focus of any object.
Am I the only one?
:cry:

1 Like

Jakob has the solution. I think maybe some kind of NamedView is the best way to then quickly get back to a new centre of rotation.

1 Like

ā€¦but this doesnā€™t help while you are running turntableā€¦

This doesnā€™t seem to work for me. If I choose 0,0,0 as the camera target, Turntable still chooses a random centre of rotationā€¦:thinking:

You canā€™t move the camera after - or else the target will change.

With Pan/Zoom anyway

PlaceTarget on point, start Turntable, watch the random spinning!

BTW, can anyone recommend a better screen capture program than ShareX? :laughing:

@cairn
Are you running a 3dconnexion Spacemouse?

Hello - do you have something other than a mouse as input, like 3dConnexion or something?

-Pascal

Ah, Yup!
Maddeningly, the problem occasionally goes away.
Iā€™ll try unplugging the Spacemouse and see if it helpsā€¦

UpDate: No difference ā€¦ :frowning:

Strange. I have a spacemouse and it doesnā€™t affect anything.

On your video, the ā€˜Pointā€™ snap for your turntable doesnā€™t look central for the object? make a bounding box, keep the bottom surface, snap the target to ā€˜Cenā€™ of that surface.

It is, and none of the other methods help. I just gave up on thisā€¦ Instead I output a lot of spinning animations using @Holoā€™s excellent script:
https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/b/0/b00d57998bbd2d271c52db69a3142611b479947a.py

1 Like

I donā€™t have one of the blasted things, but I think there is some sort of ā€œauto centeringā€ tool that is enabled when the driver is loaded.
Have a look in Options for the Spacemouse stuff.
See if you can find something related to auto centering the view.

Maybe someone that has one of the accursed things can offer more help.

Yes!! Thanks John. :star_struck:
In the Spacemouse settings make sure Rotation Centre Auto is unchecked. Not sure the effect it supposed to have anyway, not explained. (make sure rhino is the active window when changing the settings)
You can also get to this setting within Rhino via Spacecemouse/popup_menu/Rotation centre/Auto

Now, if only I could solve my last 3DConnexion issue about the direction of rotation reversing as you move the POV through the XY planeā€¦ :thinking:

BTW John- when they work properly they are an absolute joy to use in ant 3D program, and save a ton of timeā€¦

1 Like

As I understand it, that auto centering tool makes it possible to ā€œflyā€ through a scene.
It only makes sense with a spacemouse and not with a standard desktop rodent.

Incidentally, PlaceTarget does not autocomplete in the command lineā€¦ @John_Brock

Hello - ā€˜Place targetā€™ on the toolbar button is actually a macro:

! _-ViewportProperties _CameraTarget _Enter _Pause _Enter

It might be worth making yourself an alias for that.

-Pascal

1 Like

ah gotcha, Thanks!

MoveTargetToObjects is a nice one too.

https://docs.mcneel.com/rhino/6/help/en-us/index.htm#commands/movetargettoobjects.htm?Highlight=target

2 Likes