Examples & Documentation

Examples

You will find an example scene for each component of the plugin in the examples directory. Most of these examples require the activation of the SofaPython plugin.

If you work on a new component, please think about adding some examples before stopping its development. You will also find an html file whose content will appear in an embedded window when running the example. The purpose of this window is to give an explanation of what the scene is doing.

Again, when the time comes, do not forget to explain your example.

Please try to make an example as simple as possible. Don’t make your simulation do several things. The simulation should only show how your component works, without ambiguity.

Documentation

Please do not leave your code without any documentation. Anybody should be able to start working from where you leave.

Comments are closed.