- This topic has 4 replies, 3 voices, and was last updated 7 years, 9 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Programming with SOFA › [SOLVED] How to create an advanced simulation in C++?
Tagged: Cutting Simulation
Hi,
I have using modeler to create some basic .scn files and i also have saw video “Create your own advanced simulation with SOFA” on youtube. It is a simulation of cutting of a human liver using quadratic finite elements. It’s cool!
I want to know how to create a simulation like it with SOFA in C++ (with function of moving, cutting a rigid or soft object)? Do you have any tutorial about it?
Thank you!
Hi,
Thank you for your interest in SOFA!
To get you started I strongly suggest you to check the examples in
– examples/Components: basic examples for a lot of SOFA Components in XML
– examples/Demos: ready-to-use complete demos in XML
– examples/Tutorials: very nice step by step tutorials in XML
– applications/tutorials: basic to advanced SOFA simulations in C++
The last folder may interest you most since it is in C++ but reading some XML examples can also be a good way to understand SOFA architecture.
Hope this helps,
Guillaume.
In addition, for more info, another topic is about your question wq57fan:
https://www.sofa-framework.org/community/forum/topic/sample-code/
Best,
Hugo
Thank you!
I’m learning now, i will pay attention to the updating!
You’re welcome @wq57fan.
There is now a documentation page on it: Write a scene in Cpp
Do not hesitate to open new topics if you need it or assist user based on your own experience. Best,
Hugo
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.