WOLFRAM SYSTEM MODELER

FixedShape

Visualizing an elementary shape with dynamically varying shape attributes (has one frame connector)

Wolfram Language

In[1]:=
SystemModel["RotatingMachinery.Gears.Visualizers.FixedShape"]
Out[1]:=

Information

This is a slightly modified version of the normal FixedShape class, with the following renamed parameters:

  • length -> width
  • width -> m
  • height -> x
  • extra -> z

Parameters (2)

animation

Value: true

Type: Boolean

Description: = true, if animation shall be enabled

shapeType

Value: "box"

Type: ShapeType

Description: Type of shape

Inputs (9)

r_shape

Default Value: {0, 0, 0}

Type: Position[3] (m)

Description: Vector from frame_a to shape origin, resolved in frame_a

lengthDirection

Default Value: {1, 0, 0}

Type: Axis

Description: Vector in length direction of shape, resolved in frame_a

widthDirection

Default Value: {0, 1, 0}

Type: Axis

Description: Vector in width direction of shape, resolved in frame_a

width

Type: Length (m)

Description: Width of gear wheel

m

Type: Length (m)

Description: Module of gear wheel

x

Type: Length (m)

Description: Profile shift of gear wheel

z

Default Value: 0.0

Type: ShapeExtra

Description: Number of teeth in gear wheel

color

Default Value: {0, 128, 255}

Type: Color

Description: Color of shape

specularCoefficient

Default Value: world.defaultSpecularCoefficient

Type: SpecularCoefficient

Description: Reflection of ambient light (= 0: light is completely absorbed)

Connectors (1)

frame_a

Type: Frame_a

Description: Coordinate system in which visualization data is resolved

Components (2)

world

Type: World

Description: World coordinate system + gravity field + default animation definition

vis

Type: Shape

Description: Visualizing an elementary object with variable size; all data have to be set as modifiers (see info layer)

Used in Components (1)

SpurGearVisualizer

RotatingMachinery.Gears.Visualizers

Visualizer for a spur gear