Import a multibody model into the Simscape
Multibody environment. Use the smimport
function for this
task. You can import CAD, URDF, and Robotics System Toolbox models. Robotics
System Toolbox models require a product license to create. The function
parses the model, extracts the necessary data, and reconstructs the assembly
using Simscape Multibody blocks for its bodies, constraints, and
joints.
URDF models must be in URDF files and Robotics System Toolbox models in
rigidBodyTree
objects. CAD models must be in a suitable
XML format. Use the smexportonshape
function to
export them as such from Onshape software. Use the Simscape Multibody Link
CAD plug-in for Autodesk®
Inventor®, Creo™ Parametric, or SolidWorks® models. The plug-in is free to use. See the Simscape
Multibody XML schema for an example of a custom export app
for models from other sources.
smexportonshape | Export a CAD assembly model from Onshape cloud software |
smimport | Import a CAD, URDF, or Robotics System Toolbox model |
Overview of CAD translation with emphasis on workflow, tools, and generated models.
Install the Simscape Multibody Link Plug-In
Download and install the Simscape Multibody Link CAD export plug-in.
General steps for generating Simscape Multibody models from XML multibody description files.
Import a Robotic Arm CAD Model
Use the smimport
function to
generate a robotic arm model from a multibody description XML file.
Import an Onshape Humanoid Model
Export a humanoid robot from Onshape® software and import it into Simscape Multibody software.
Overview of CAD import from Onshape software with emphasis on import workflow, tools, and user authentication.
Export a humanoid robot from Onshape software and import it into Simscape Multibody software.
Learn about the URDF specification popular in the robotics community and create a simple URDF model for later import into the Simscape Multibody environment.
Importing a URDF model. Mapping URDF entities to Simscape Multibody blocks. A simple URDF import example.