WOLFRAM SYSTEMMODELER

FixedLines

Visualizing a set of lines as cylinders (e.g., used to display characters)

Wolfram Language

In[1]:=
Click for copyable input
SystemModel["Modelica.Mechanics.MultiBody.Visualizers.Internal.FixedLines"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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.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.

Connectors (1)

frame_a

Type: Frame_a

Description: Coordinate system in which visualization data is resolved

Parameters (1)

animation

Value: true

Type: Boolean

Description: = true, if animation shall be enabled

Components (2)

world

Type: World

Description:

x_label

Type: Lines

Description: