[feature request] default mouse rotating left/right rotates view dependent, should rotate around world y-Axis
Hey,
I think the mouse orientation in the 3d view is 90% right, except way the mouse rotates around the y-Axis (pulling the mouse left/right). This isn't really intuitive and actually quite confusing. The camera rotates around the camera up vector, but should rotate around the world up (or global y-Axis) vector.
Either way, there should be an option to let the viewer decide if he/she wants to rotate around the view dependent camera up vector or the world coordinate system up vector (or Y-Axis).
In occt_widget.py Line 91 I've found the rotation method called from the V3d_Viewer. V3d_Viewer has multiple rotation methods
if event.buttons() == Qt.LeftButton:
self.view.Rotation(x,y)
Maybe one of the four with the right parameters can rotate the view around the world up axis. I'll have to check, but it seems that it isn't too hard to change :-)
@KadaB, did you find a solution to this? I find the orbit style very clunky. I much prefer OpenSCAD's mouse controls.
There is a PR #220 adding a different style of turning/orbiting. Is that what you are after? I'd prefer to have the turn table method as well (see the videos in the PR).
It is also the way the github builtin viewer for stl files use. See for example https://github.com/openvmp/openvmp-models/blob/main/generated_files/parts/arduino/mega2560.stl and try to rotate the view there.