modelPartialVector

Interface for 3D animation of a vector quantity (force, torque etc)

Information

This model is documented at Modelica.Mechanics.MultiBody.Visualizers.Advanced.Vector.

Parameters

TypeNameDefaultDescription
Types.VectorQuantityquantityTypes.VectorQuantity.ForceQuantity of the coordinates

Components

TypeNameDefaultDescription
Frames.OrientationRFrames.nullRotation()Orientation object to rotate the world frame into the vector frame
SI.Position[3]r{0, 0, 0}Position vector from origin of world frame to origin of vector frame, resolved in world frame
Real[3]coordinates{0, 0, 0}Coordinates of the vector resolved in vector frame
Types.ColorcolorTypes.Defaults.ArrowColorColor of vector
Types.SpecularCoefficientspecularCoefficient0.7Material property describing the reflecting of ambient light (= 0 means, that light is completely absorbed)
BooleanheadAtOriginfalse= true, if the vector is pointing towards the origin of vector frame
BooleantwoHeadedArrowfalse= true, if the arrow has two heads after each other (pointing in the same direction)