3D Visualization

New in OpenModelica 1.11 is that OMEdit has built-in 3D visualization, which replaces third-party libraries (such as Modelica3D) for 3D visualization.

Running a Visualization

The 3d visualization is based on OpenSceneGraph. In order to run the visualization simply right click the class in Libraries Browser and choose “Simulate with Animation” as shown in Figure 88.

_images/omedit_simulate_animation.png

Figure 88 OMEdit Simulate with Animation.

One can also run the visualization via Simulation > Simulate with Animation from the menu.

Viewing a Visualization

After the successful simulation of the class the visualization window will show up automatically as shown in Figure 89.

_images/omedit_visualization.png

Figure 89 OMEdit 3D Visualization.