Simulate Shift Key in Rhino Using SpaceNavigator

Questions and answers about 3Dconnexion devices on Windows.

Moderator: Moderators

Post Reply
ReedPen
Posts: 2
Joined: Wed Mar 05, 2014 7:33 pm

Simulate Shift Key in Rhino Using SpaceNavigator

Post by ReedPen »

I'm trying to figure out how to make my right spaceNavigator button simulate the Shift key in rhino. I want to be able to select multiple objects without letting go of the SpaceNavigator, as this is something I do rather frequently.

I cannot use the 3D mouse Properties to change the effect of the Buttons in Rhino (Probably because the 3D mouse button assignments have been defaulted to the Rhino Properties menu)

But the Rhino options only seem to allow me to assign Command Macros to the buttons, and not key stroke combinations. I don't think there is a Command Macro for just the shift key.

Is there a way to force Rhino to default to 3D mouse Properties? Or is there a command macro for the shift key?

Does anyone know a workaround?

I'm new to both Rhino and the SpaceNavigator.

Thanks !

- Don
Fred
Moderator
Moderator
Posts: 997
Joined: Wed Dec 06, 2006 7:15 am
Location: Rochester, NY
Contact:

Re: Simulate Shift Key in Rhino Using SpaceNavigator

Post by Fred »

If your using the current driver for the SpaceNavigator.
The shift key is located under the Keyboard dropdown menu under Buttons.
chemosavi
Posts: 19
Joined: Fri Jun 20, 2014 4:26 am

Re: Simulate Shift Key in Rhino Using SpaceNavigator

Post by chemosavi »

I just updated to Version 10.1.0 and on Rhino I can no longer switch say the esc button to the shift button. I have to assign a macro to do this but the macro works completely different than a regular key.
To further explain, when trying to select multiple objects a person would hold the shift key down while doing so.
Trying to use a macro instead executes the shift function as a press and release situation and will not let you select other objects.

In other programs like 3ds max or chrome this is not the case. You can easily switch the alt key to the ctrl no problem.

HELP!
20 core Xeon Workstation @3.1gz
3 Titan x's
Space Mouse Pro
jwick
Moderator
Moderator
Posts: 3418
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Re: Simulate Shift Key in Rhino Using SpaceNavigator

Post by jwick »

You need to use the driver's built-in keys (Shift, Alt, Ctrl, Esc, etc), not a macro. As you see, macros get pressed and quickly released.
If your rhino executable is Rhino.exe (not Rhino4.exe), I see we didn't predefine them.

You can add them yourself. Add these lines in the ButtonActions section of the rhino.xml file under Program Files/3Dconnexion/3DxWare/3DxWinCore/Cfg.

Code: Select all

    <!-- Keyboard Functions -->
    <ButtonAction Type="Keyboard">
      <ID>KB_Esc</ID>
      <Name>STR_KB_ESC</Name>
    </ButtonAction>
    <ButtonAction Type="Keyboard">
      <ID>KB_Alt</ID>
      <Name>STR_KB_ALT</Name>
    </ButtonAction>
    <ButtonAction Type="Keyboard">
      <ID>KB_Shift</ID>
      <Name>STR_KB_SHIFT</Name>
    </ButtonAction>
    <ButtonAction Type="Keyboard">
      <ID>KB_Ctrl</ID>
      <Name>STR_KB_CTRL</Name>
    </ButtonAction>
    <ButtonAction Type="Keyboard">
      <ID>KB_Tab</ID>
      <Name>STR_KB_TAB</Name>
    </ButtonAction>
    <ButtonAction Type="Keyboard">
      <ID>KB_Space</ID>
      <Name>STR_KB_SPACE</Name>
    </ButtonAction>
    <ButtonAction Type="Keyboard">
      <ID>KB_Enter</ID>
      <Name>STR_KB_ENTER</Name>
    </ButtonAction>
    <ButtonAction Type="Keyboard">
      <ID>KB_Insert</ID>
      <Name>STR_KB_INSERT</Name>
    </ButtonAction>
    <ButtonAction Type="Keyboard">
      <ID>KB_Delete</ID>
      <Name>STR_KB_DELETE</Name>
    </ButtonAction>
    <ButtonAction Type="Keyboard">
      <ID>KB_Home</ID>
      <Name>STR_KB_HOME</Name>
    </ButtonAction>
    <ButtonAction Type="Keyboard">
      <ID>KB_End</ID>
      <Name>STR_KB_END</Name>
    </ButtonAction>
    <ButtonAction Type="Keyboard">
      <ID>KB_PageUp</ID>
      <Name>STR_KB_PAGEUP</Name>
    </ButtonAction>
    <ButtonAction Type="Keyboard">
      <ID>KB_PageDown</ID>
      <Name>STR_KB_PAGEDOWN</Name>
    </ButtonAction>
Then they will show up in the GUI and you can map them to your device buttons.
chemosavi
Posts: 19
Joined: Fri Jun 20, 2014 4:26 am

Re: Simulate Shift Key in Rhino Using SpaceNavigator

Post by chemosavi »

I'm using 10.1.4 and this Cfg (XML) file does not exist in the location you specified nor can I find it anywhere else. The option to map the esc,, Alt, etc. buttons is missing from Rhino 5.9.4. The exe file for Rhino is Rhino.exe. Not Rhino5.
Any help would be greatly appreciated since mapping these buttons in the 3dconnexion properties does not work either.
20 core Xeon Workstation @3.1gz
3 Titan x's
Space Mouse Pro
chemosavi
Posts: 19
Joined: Fri Jun 20, 2014 4:26 am

Re: Simulate Shift Key in Rhino Using SpaceNavigator

Post by chemosavi »

I have resolved the mapping issue I was having with Rhino and the alt, esc, shift, etc. keys.
If these keys are assigned in the Rhino keyboard assignments within Rhino, they cannot be re-mapped in the 3DConnexion properties panel.
Those assignments within Rhino must be removed before they can be mapped (customized as well) by the 3DConnexion properties panel.
20 core Xeon Workstation @3.1gz
3 Titan x's
Space Mouse Pro
newtonianb
Posts: 2
Joined: Tue Oct 28, 2014 8:15 am

Re: Simulate Shift Key in Rhino Using SpaceNavigator

Post by newtonianb »

How exactly do you assign more than one key to a SpaceNavigator motion. For example if I push down on the Space Navigator how can I execute CTRL+W
Post Reply