### Topological Mapping (5/7)

Description

This step shows that it is possible to define mechanical behavior directly on a child topology. This can be useful, as often the surface mesh is only a small part of the entire topology.

Key points

- Springs are added to the edges on surface of the mesh using TriangularBendingSprings.
- TriangleModel components can be added to interact with the model (using Shift and the mouse).

Add a TriangularBendingSprings component to the Triangles Mesh node. Change the uniform stiffness for all the springs property to 10.

Results

Run in SOFA and Animate. Deform the cylinder by holding down the Shift key and dragging the triangles with the mouse.

In this step, edges on the surface of the mesh have springs, so the cylinder doesn't bend as much as in the previous steps. The advantage is that elements in the rest of the cylinder are not taken into account, resulting in faster computation.

### Previous ____________ Next