- This topic has 2 replies, 3 voices, and was last updated 4 years, 3 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Programming with SOFA › [SOLVED] Run Sofa with no GUI
Tagged: 64_bits, GUI, Linux_ubuntu, Plugin_SoftRobots, SOFA_1906
Hello,
I am faced with a task where I need to run many simulations and then run an optimization over the simulation results. After this optimization is done, I will use the solution as a parameter in a my actual simulation which I would like visualized. I would like to be able to run these simulations just numerically without having to use runSofa or the GUI. I would also like this code to not interfere with the sofa context of my main simulation if possible.
Does anyone have any pointers on where to start?
Thank you
Thanks @secretdevil!
Hi @bill757
The solution pointed by Binesh is indeed to use the command runSofa -g batch
to avoid having the GUI associated to runSofa. Another alternative would be to create your own Main.cpp / executable building and running your scene.
Best
Hugo
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.