Torus Geometry
Display a torus in your 3-D model
Description
Connections
Parameters
See Also
A Torus Geometry component adds a torus visualization to 3-D playback.
Name
Condition
Modelica ID
frame_a
Connection frame at the center of the torus.
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 big and small radii.
theta_in
2-vector signal input defining the start and end angles of the arc.
Default
Units
eaxis
[1,0,0]
Axial unit vector.
e_axis
R
1
m
Use inputs = false
Major radius of torus.
radius1
r
0.1
Minor radius of torus.
radius2
θ
360.
deg
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), big/small radii as well as start and end angles 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