simscape.multibody.RegularExtrusion Class
Namespace: simscape.multibody
Superclasses: simscape.multibody.Geometry
Description
Use an object of the simscape.multibody.RegularExtrusion class to represent
extruded geometry with a regular polygonal cross-section. The cross-section is in the
xy-plane of the reference frame whose origin is coincident with the
centroid of the extruded geometry. The x-axis of the reference frame is
always an axis of symmetry of the cross section, and the y-axis of the
reference frame is an axis of symmetry of the cross section when the value of
NumberOfSides property is even. The direction of the extrusion is along
the z-axis of the reference frame.

To specify the dimensions of the geometry, use the NumberOfSides,
OuterRadius, and Length properties.
Class Attributes
Sealed | true |
ConstructOnLoad | true |
RestrictsSubclassing | true |
For information on class attributes, see Class Attributes.
Creation
Description
creates a regular extruded geometry with default values.extrusion = simscape.multibody.RegularExtrusion
creates a regular extruded geometry with the specified number of sides, radius, and
length.extrusion = simscape.multibody.RegularExtrusion(ns,radius,length)
Properties
Version History
Introduced in R2022a

