Documentation Center

  • Trial Software
  • Product Updates

Export a CAD Rigid Body

Access the Example Files

In this example, you export an assembly with one part and no constraints. Look for the following two example CAD files in the SimMechanics™ Link examples folder:

  • The full assembly file, cup_assembly.ASSEMBLYFILETYPE

  • The part, a cup, in a file called cup.PARTFILETYPE

Although it has only one part, you must export the full assembly into XML, not just the cup part.

Examine Rigid Body Parameters

Open the cup assembly file in your CAD platform and check its geometry and mass properties.

Cup Assembly in a CAD Platform

PropertyValue
Volume0.0001 cubic meters (m3)
Surface area0.0381 square meters (m2)
Density3.0 grams/cm3 = 3000 kg/m3
Mass0.2906 kilograms (kg)
Principal moments of inertia at
the center of gravity
Ix = 0.00015, Iy = 0.00067,
Iz = 0.00067 kg-m2

The inertia tensor is computed at the center of gravity, with the coordinate axes aligned with assembly base-origin axes, indicated in the figure. The x-axis is the cup's axis of symmetry, and the y- and z-axes point across the cup.

Export CAD Rigid Body

Using the SimMechanics Link interface to your CAD platform, export the assembly into Physical Modeling XML format. The XML file cup_assembly.xml appears in your working CAD folder.

Import CAD Rigid Body

Once you have generated the Physical Modeling XML file, you are ready to import the cup assembly into a SimMechanics model. For a step-by-step description of the CAD Import procedure, see Import a CAD Rigid Body.

Was this topic helpful?