.Modelica.Mechanics.MultiBody.Visualizers.Internal.FixedLines

Information

With model FixedLines a set of lines is defined that are located relatively to frame_a. Every line is represented by a cylinder. This allows to define simple shaped 3-dimensional characters. An example is shown in the following figure:
 

model Visualizers.Internal.FixedLines

 
The two letters "x" and "y" are constructed with 4 lines by providing the following data for parameter lines

lines = {[0, 0; 1, 1],[0, 1; 1, 0],[1.5, -0.5; 2.5, 1],[1.5, 1; 2, 0.25]}

Via parameter vectors n_x and n_y a two-dimensional coordinate system is defined. The points defined with parameter lines are with respect to this coordinate system. For example "[0, 0; 1, 1]" defines a line that starts at {0,0} and ends at {1,1}. The diameter and color of all line cylinders are identical.


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