.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 2024-11-22T19:25:38Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos