Extruded Solid
Solid extruded element with geometry, inertia, and color
Libraries:
Simscape /
Multibody /
Body Elements
Description
The Extruded Solid block adds to the attached frame a solid element with geometry, inertia, and color. The solid element can be a simple rigid body or part of a compound rigid body—a group of rigidly connected solids, often separated in space through rigid transformations. Combine Extruded Solid and other solid blocks with the Rigid Transform blocks to model a compound rigid body.
Geometry parameters include shape and size. You can choose from a list of preset shapes or import a custom shape from an external file in STL or STEP format. By default, for all but STL-derived shapes, the block automatically computes the mass properties of the solid from the specified geometry and either mass or mass density. You can change this setting in the Inertia > Type block parameter.
A reference frame encodes the position and orientation of the solid. In the default configuration, the block provides only the reference frame. A frame-creation interface provides the means to define additional frames based on solid geometry features. You access this interface by selecting the Create button in the Frames expandable area.
Derived Properties
You can view the calculated values of the solid mass properties directly in the
block dialog box. Setting the Inertia > Type parameter to Calculate from Geometry
causes
the block to expose a new node, Derived Values. Click the
Update button provided under this node to calculate the
mass properties and display their values in the fields below the button.
Derived Values Display
Visualization Pane
The block dialog box contains a collapsible visualization pane. This pane provides instant visual feedback on the solid you are modeling. Use it to find and fix any issues with the shape and color of the solid. You can examine the solid from different perspectives by selecting a standard view or by rotating, panning, and zooming the solid.
Select the Update Visualization button to view the latest changes to the solid geometry in the visualization pane. Select Apply or OK to commit your changes to the solid. Closing the block dialog box without first selecting Apply or OK causes the block to discard those changes.
Extruded Solid Visualization Pane
Right-click the visualization pane to access the visualization context-sensitive menu. This menu provides additional options so that you can change the background color, split the visualization pane into multiple tiles, and modify the view convention from the default +Z up (XY Top) setting.
Exporting Geometry Properties
The Extruded Solid block can generate a convex hull geometry representation from an extruded solid. This geometric data can be used to model spatial contact forces.
As shown in the figure, the convex hull geometry is an approximation of the true geometry. Note that the block calculates the physical properties, such as mass and inertia, based on its true geometry.
L-shape sold
Examples
Limitations
On Mac, the visualization pane runs slow if the generated geometry has a large number of triangles or vertices. To mitigate this issue, you can decrease the number of points in the cross-section.
Ports
Frame
Geometry
Parameters
Extended Capabilities
Version History
Introduced in R2019b