### Topological Mapping (6/7)

Description

This step does not continue from the previous steps. It shows a hexahedra mesh which already has mechanical behavior and could be also linked to a surface mesh.

Key points

Press the Edit in Modeler button at the top of this window.

This opens a pre-built scene graph in the Modeler.

This scene includes components we are already familiar with:

- An ODE solver and a linear solver.
- MechanicalObject with geometry point positions.
- RegularGridTopology is used to create a 3D grid mesh.
- HexahedronFEMForcefield is used to create tetrahedral finite elements on this mechanical system.
- DiagonalMass describes a global mass of the mesh elements.
- Constraint components are used here to fix the four corners of the upper face of the cube.

Results

Run in SOFA and animate. Interact with the cube by holding the Shift key and dragging with the mouse.

This scene represents a 3D cube mesh under gravity. It is the same configuration as the step "Embedding the Model".

### Previous ____________ Next