Skip to content
Discussion options

You must be logged in to vote

Hi @3van0,

Sorry for the late reply.
As Hugo explained, your simulation can be driven either by the SOFA GUI either by your python code:

  • if the GUI drives your simulation, your python code will not be executed except the code written in event handlers (such as onAnimateBeginEvent or onAnimateEndEvent);
  • if the python code drives your simulation with Sofa.Simulation.animate, you must do it without GUI.

That's why we use an external tool written with Vedo to render the objects at each time step while our python code drives the simulation. This rendering window is obviously not interactive for the same reasons but at least it allows you to visualize things.

Our tool is a part of a large pro…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@hugtalbot
Comment options

Comment options

You must be logged in to vote
2 replies
@yafei136
Comment options

@hugtalbot
Comment options

Answer selected by yafei136
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants