eDrawings VR mode

Questions and answers about 3Dconnexion devices on Windows.

Moderator: Moderators

Post Reply
Craigms
Posts: 2
Joined: Sun Jun 13, 2021 4:51 pm

eDrawings VR mode

Post by Craigms »

I'm trying to get the spacemouse working in the new VR mode in eDrawings. It works correctly when viewing 3d models in normal mode, allowing 3d manipulation of the model but in VR mode (File-Open in VR) only the 2D mouse works which is a bit odd.
The working 2D mouse controls in VR mode are zoom (mousewheel), pan (right click + drag) and rotate (middle click + drag).

I've modified the xml to map them, and I have zoom working. However for the pan and rotate I need a mouse button to be held down and I can't figure out how to do that in the xml. Using the <Modifier> tag only seems to work for Ctrl, Shift etc.
Does anyone know the tag to do this in the xml?

Code: Select all

		
<!-- add right mouse button modifer to this action to pan: -->
        <Axis>
          <Enabled>true</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_X</ActionID>
            <Min>-512</Min>
            <Max>511</Max>
          </Input>
          <Output>
            <ActionID>HIDMouse_X</ActionID>
            <Reversed>false</Reversed>
          </Output>
        </Axis>
<!-- add right mouse button modifer to this action to pan: -->
        <Axis>
          <Enabled>true</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_Y</ActionID>
            <Min>-512</Min>
            <Max>511</Max>
          </Input>
          <Output>
            <ActionID>HIDMouse_Y</ActionID>
            <Reversed>false</Reversed>
          </Output>
        </Axis>
<!-- zoom working correctly: -->
        <Axis> 
          <Enabled>true</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_Z</ActionID>
            <Min>-512</Min>
            <Max>511</Max>
          </Input>
          <Output>
            <ActionID>HIDMouse_Wheel</ActionID>
            <Reversed>true</Reversed>
          </Output>
        </Axis>
 
jwick
Moderator
Moderator
Posts: 3331
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Re: eDrawings VR mode

Post by jwick »

E.g.,

Code: Select all

        <Axis>
          <Enabled>true</Enabled>
          <Input>
            <ActionID>HIDMultiAxis_Y</ActionID>
            <Min>-512</Min>
            <Max>511</Max>
          </Input>
          <Output>
            <ActionID>HIDMouse_Y</ActionID>
            <Scale>2.80</Scale>
            <Modifiers>
              <Modifier>RightMouse</Modifier>
            </Modifiers>
          </Output>
        </Axis>
Where the allowed Modifiers are: Control, Shift, Alt, Windows, LeftMouse, MiddleMouse, RightMouse
IIRC, you may not be able to use more than one at a time.

But of course, this is the wrong way to do this. VR mode should support the 3D mouse natively, just like the rest of eDrawings.
Craigms
Posts: 2
Joined: Sun Jun 13, 2021 4:51 pm

Re: eDrawings VR mode

Post by Craigms »

Thanks for your help - yup that worked... sort of!
You were right, I can only use one at a time, and the mouse cursor also moves on screen so need to keep recentering the cursor with the actual mouse.

It's a bit odd that eDrawings doesn't support it natively in VR when it does in normal mode, was hoping for a quick fix but oh well!
jwick
Moderator
Moderator
Posts: 3331
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Re: eDrawings VR mode

Post by jwick »

Please ask eDrawings support about this.

It looks like a very nice product.

A 3D mouse, a headset and a 3D pointing device (their laser pointer) would all work very well together. It is unreasonable to ask a user to "get up and walk around a scene", or "spin around in his chair", when the 3D mouse paradigm is a well understood way of doing those view manipulations.
Mr Solidworks
Posts: 1
Joined: Thu Aug 12, 2021 7:45 am

Re: eDrawings VR mode

Post by Mr Solidworks »

I also think that it is a very good idea, and as you requested.
If you speak with eDrawings support, or Solidworks support ask for "Enhancement SPR1220719"
Post Reply