.Modelica.Mechanics.MultiBody.Visualizers.Torus

Information

Model Torus visualizes a torus. The center of the torus is located at connector frame_a (visualized by the red coordinate system in the figure below). The left image below shows a torus with R = 0.5 m and r = 0.2 m. The right images below shows the torus with the additional parameter settings:

opening    =   45 degree
startAngle = -135 degree
stopAngle  =  135 degree

In the advanced menu the discretization of the surface visualization can be defined by the number nR of points along the major radius of the torus and by the number nr of points along the minor radius of the torus. In case the torus is closed (that is, opening = 0 degree), the actual number of points is one less (that is nR - 1, nr - 1), because the first and the last point of the parametrization coincide in this case.

Revisions


Generated at 2020-06-05T21:39:08Z by OpenModelica 1.16.0~dev-442-g2e5bc9f