Extruded Solid
Solid extruded element with geometry, inertia, and color
Libraries:
Simscape /
Multibody /
Body Elements
Description
The Extruded Solid block models an extruded solid centered at the
origin of the reference frame. The extrusion of the solid is in the
z-direction, and the solid extrudes symmetrically about the
positive and negative z-axis. Use the
Regular extrusion type to define the number of sides and
the outer radius of the cross-section, or the General
extrusion type to specify a custom cross-section.

By default, the block has only one reference frame that defines the position and
orientation of the solid. To create additional frames on the body, in the
Frames section, select the Create button
.
You can use the block to model a single rigid body or create a compound rigid body by combining it with other solids that are rigidly connected and positioned using Rigid Transform blocks.
Compute Inertia Properties
You can compute the inertia properties of a solid, if you set the Inertia > Type parameter to
Calculate from Geometry. This setting exposes the
Inertia button in the toolstrip of the Property Inspector. To
compute the inertia properties, click the Inertia button and the visualization pane displays
the computed values.
![]()
The block defines the center of mass in the reference frame of the solid and specifies the moments and products of inertia in the inertia frame of resolution, which aligns its axes with the reference frame and positions its origin at the center of mass of the solid.
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.

Visualize Solid
The Property Inspector includes a visualization pane that provides instant visual feedback on the solid. Use the pane to check and adjust the shape and color of the solid. To inspect the solid from different angles, select a standard view, interact with the view selection cube or orientation triad, or rotate, pan, and zoom the display.

To view the latest changes to the solid geometry in the visualization pane, in the toolstrip, click Refresh. You can also display the frames on the solid and change the background color of the visualization pane by clicking Frames and Background in the toolstrip.
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








