The QSofaGLViewTools library provides an easy-to-use PyQt widget for viewing SOFA cameras in python3 and makes it easy for users to build their own python-based simulations and have full control over the simulation environment. Features are still being added and examples are included to show usage.
The main widget to be used for creating the view is a QSofaGLView widget. Alternatively a camera may be added to a node for you and simultaneously sets up a MechanicalObject to keep track of the degrees of freedom of the camera. This is handy to work with built-in SOFA engines. A third usage is available for quick and dirty visualization of SOFA python scripts.
Several are provided to get started (e.g. EndoscopicLight.py, or how-to-use an XBox controller to control a view!).