Products & Services Solutions Academia Support User Community Company

Learn more about SimMechanics Link   

Custom Export with the SimMechanics Link API

About CAD Translation with Custom Export

The translation process from an externally defined machine representation to a SimMechanics model is the same whether you use the standard export with a supported external third-party platform or create your own custom exporter. The SimMechanics Link exporter translates mechanical system data from an external application, such as a computer-aided design (CAD) platform. You can use this translated data to generate a SimMechanics model of your original mechanical system.

Reasons for Custom Export

You must create and use your own custom exporter when:

Requirements for CAD Translation with Custom Export

CAD translation includes CAD assembly export and SimMechanics model import. Export requires:

Import requires SimMechanics software.

Custom Translation Steps in Common with Standard Export

You generate SimMechanics models from Physical Modeling XML files. You use mechanical import and then visualize the models with stereolithographic (STL) files. Custom export creates an XML file to represent a CAD assembly and a set of STL files to represent the surface geometries of the assembly bodies. This part of CAD translation is the same as standard export.

See the Getting Started with Export and Computer-Aided Design Translation chapters.

From Physical Modeling XML to Visualizable SimMechanics Model

Custom Translation Steps Different from Standard Export

For custom export, you must create a custom exporter module that interacts with the APIs of both the CAD platform and the SimMechanics Link utility. From a CAD assembly, this custom exporter module creates a selective, intermediate representation of the machine that persists for one session. The module then finishes by creating the same files as the standard export does:

Custom Export: From CAD Assembly to Physical Modeling XML

Requirements for Creating a Custom Exporter

To create a custom exporter:

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS