Cylindrical Geometry
Display a cylinder in your 3-D model
Description
Connections
Parameters
See Also
The length of the cylinder is displayed between the points at which the component are connected in the model workspace. If you connect this shape to the frames of a single component,
a cylinder shape is displayed over the implicit geometry that represents the component in the 3-D workspace.
If you connect this component to the frames of two different modeling components,
the cylinder shape spans multiple components.
If the Partial Cylinder option is used, a third frame (frame_c) is used to define the orientation,
The parameter θ defines the covered angle (right-hand rule)
Name
Condition
Modelica ID
frame_a
Defines the location of the first edge for the cylinder length.
frame_b
Defines the location of the second edge for the cylinder length.
frame_c
Defines the reference orientation of the partial cylinder.
inputColor
Dynamic Color = true
Defines the shape color. Must be connected to the output of a Color Blend component.
r_in
Use inputs = true
2-vector signal input defining the inner and outer radii of the cylinder.
theta_in
Use partial = true
2-vector signal input defining the start and end angles of the cross-section. The angles are defined w.r.t. vector from frame_a to frame_c.
Default
Units
outer radius
0.1
m
Use inputs = false
Outer radius of the cylinder.
radius
inner radius
0
Inner radius of the cylinder.
innerRadius
Partial Cylinder
When checked (true) a third frame (frame_c) is enabled to define the reference orientation of the partial cylinder.
usePartial
θ
360.
deg
Partial Cylinder = true
Angle of display arc.
theta
color
red
Dynamic Color = false
Color of the cylinder. For information on using the color selection tools, see Selecting Colors.
Dynamic Color
Select this option to enable the Dynamic Color port. With the Dynamic Color port enabled, you can use the Color Blend component to change color throughout the simulation.
isInputColor
Transparent
Select this option to make the geometry component transparent.
transparent
Use Inputs
When checked (true), inner/outer radii (as well as start and end angles, if partial) are given via real input signals.
useInput
Visualization Components
Multibody Overview
The 3-D Visualization Environment
Adding Attached Shapes from the MapleSim Component Library
Adding Attached Shapes from an External File
Download Help Document