WOLFRAM SYSTEM MODELER

CustomComponent

This example illustrates how to create custom components

Package Contents

ChainLink

Chain link consisting of a rotation and a body box.

ChainPendulum

Chain pendulum with four chain links.

ChainLinkCAD

Chain link with a CAD shape attached.

ChainPendulumCAD

Chain pendulum with four chain links with CAD shapes attached.

Information

The chain pendulum example illustrates how to create a custom component. A chain pendulum can be viewed as a concatenation of chain links connected to each other. In this example, we will show how to develop a custom component chain link to be used in the pendulum model. We will also show how to attach CAD shapes to Multibody components.

For a step by step tutorial see Custom Component—Chain Pendulum.

ChainLink

The custom component chain link consists of a rigid body rotating around one of its extremities.

ChainPendulum

A chain pendulum model is built with several chain link components.

Wolfram Language

In[1]:=
SystemModel["IntroductoryExamples.CustomComponent"]
Out[1]:=