Box Geometry
Display a rectangular prism in your 3-D model
Description
Connections
Parameters
See Also
The length of the prism is displayed between the points at which frame_a and frame_b are connected in the model workspace. frame_a, frame_b, and frame_c all define the orientation of the prism base.
Name
Condition
Modelica ID
frame_a
Defines the location of the first edge for the prism length, and a point for the orientation of the prism base.
frame_b
Defines the location of the second edge for the prism length, and a second point for the orientation of the prism base.
frame_c
Defines a third point for the orientation of the prism base.
inputColor
Dynamic Color = true
Defines the shape color. Must be connected to the output of a Color Blend component.
h_in
Use inputs = true
Signal input defining the height of the box.
w_in
Signal input defining the width of the box.
Default
Units
height
1
m
Use inputs = false
Height of the prism.
width
Width of the prism.
color
red
Dynamic Color = false
Color of the prism. 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), height and width 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