Model Import
To create a Simscape
Multibody model from a CAD, URDF, or Robotics System Toolbox™ model, use the smimport
function. The function
parses the model, extracts the necessary data, and reconstructs the assembly
using Simscape
Multibody blocks for its bodies, constraints, and joints.
The URDF models must be in URDF files, Robotics System Toolbox models must be in rigidBodyTree
(Robotics System Toolbox) objects, and
CAD assemblies must be in a suitable XML format. To convert CAD assemblies
into XML files, you can use the smexportonshape
function or the
Simscape Multibody Link plug-in. To convert Onshape® CAD assemblies, use smexportonshape
. Use
the Simscape
Multibody Link plug-in for Autodesk®
Inventor®, PTC®
Creo™, or SolidWorks® models. You can also convert models from other sources. For
more information, see the Simscape
Multibody XML schema.
Functions
smexportonshape | Export a CAD assembly model from Onshape |
smimport | Import a CAD, URDF, or Robotics System Toolbox model |
Topics
Desktop CAD Import
- Install the Simscape Multibody Link Plugin
Download and install the Simscape Multibody Link plugin. - Convert CAD Assembly into Simscape Multibody Model
Workflows to convert a CAD assembly into a Simscape Multibody model. - Import a CAD Assembly Model
You import a CAD assembly model into Simscape™ Multibody™ software using thesmimport
function.
Onshape CAD Import
- Import an Onshape Humanoid Model
Export a humanoid robot from Onshape software and import it into Simscape Multibody software. - Onshape Import
Overview of CAD import from Onshape software with emphasis on import workflow, tools, and user authentication.
URDF Import
- Import a URDF Humanoid Model
Export a humanoid robot from Onshape software and import it into Simscape Multibody software. - URDF Primer
Learn about the URDF specification popular in the robotics community and create a simple URDF model for later import into the Simscape Multibody environment. - Import URDF Models
Importing a URDF model. Mapping URDF entities to Simscape Multibody blocks. A simple URDF import example.