SofaPython: PythonScriptDataEngine (PSDE)
You can think of the PSDE as a possibility of subclassing the Sofa ‘DataEngine’ in a scripted way. In the second example provided it is shown how a versatile ROI functionality can be implemented with the help of the PSDE.
The PSDE works similar to a function block in Simulink or comparable software. The user can define a block (a PSDE) declaring its Inputs, Outputs (I/Os) and its behavior using Python alone. It has some similarities with the “PythonScriptController” (PSC).
Details and documentation on pull-request #583.