Code covered by the BSD License  

Highlights from
SimMechanics STL file importer

Be the first to rate this file! 26 Downloads (last 30 days) File Size: 11.2 KB File ID: #30972
image thumbnail

SimMechanics STL file importer



MATLAB code that automatically creates SimMechanics blocks from text-based STL files.

| Watch this File

File Information

This file contains MATLAB code that reads in a text-based STL file and creates a SimMechanics block parameterized with the information from the STL file. The user selects the material for the body, and the script calculates the mass, inertia tensor, and location of the center of gravity. The resulting SimMechanics block uses the STL file for visualization.

STL files can be exported from most CAD tools and can also be exported from Google SketchUp once a plug-in has been installed (< >).

Please read the README.txt file to get started.

To find other SimMechanics examples, search for posts with the keyword "simmechanics"
< >

To find other physical modeling examples, search for posts with the keyword "physical modeling"
< >

To learn more about MathWorks Physical Modeling Products, go to: < >

Required Products SimMechanics
MATLAB release MATLAB 7.11 (R2010b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us