Main Content

simscape.multibody.Brick Class

Namespace: simscape.multibody
Superclasses: simscape.multibody.Geometry

Create brick geometry

Since R2022a

Description

Use an object of the simscape.multibody.Brick class to represent a brick geometry. The centroid of the brick geometry is coincident with the origin of the reference frame whose axes are normal to the surfaces of the brick.

Example of a brick geometry

To specify the dimensions of the brick, use the Dimensions property.

Class Attributes

Sealed
true
ConstructOnLoad
true
RestrictsSubclassing
true

For information on class attributes, see Class Attributes.

Creation

Description

brick = simscape.multibody.Brick creates a brick geometry with default values.

brick = simscape.multibody.Brick(dimensions) creates a brick geometry with the specified dimensions along the x-, y-, and z-axes of the reference frame.

Properties

expand all

Dimensions of the brick geometry, specified as a simscape.Value object that represents a 3-by-1 or 1-by-3 array with a unit of length.

Example: simscape.Value([240 112 70], "mm")

Attributes:

GetAccess
public
SetAccess
public
NonCopyable
true

Version History

Introduced in R2022a