Replies: 13 comments
-
May need to create a new viewer that changes these mouse controls. This stack overflow has a good reference: |
Beta Was this translation helpful? Give feedback.
-
Maybe create a mouse mode controller? Passes the mouse event and viewer into a configurable class to handle mouse actions |
Beta Was this translation helpful? Give feedback.
-
Change it so right mouse button controls the rotation and yaw and mouse wheel still handles zooming |
Beta Was this translation helpful? Give feedback.
-
Focal point should be base or middle of cylinder? Maybe a keyboard command can raise or lower the view. |
Beta Was this translation helpful? Give feedback.
-
https://old.opencascade.com/doc/occt-6.9.1/overview/html/occt_user_guides__visualization.html |
Beta Was this translation helpful? Give feedback.
-
https://github.com/tpaviot/pythonocc-demos/blob/master/examples/core_visualization_camera.py |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Here's a link to the OpenCascade reference: self._display.View.Turn(angleX, 0, 0) spins the whole scene around, not the desired effect |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Now using a custom viewer and made it so only the right mouse button controls rotation. Need to limit the rotation somehow |
Beta Was this translation helpful? Give feedback.
-
This is working pretty well imo. Close for now? Or is there more to do? |
Beta Was this translation helpful? Give feedback.
-
More to do, low priority though. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
All reactions