When I import a Creo model to Simscape Multibody, some of my reference frames are not being imported. Is there something I need to do in Creo or in Simscape?
3 views (last 30 days)
Show older comments
I have imported a Creo model via the multibody link to Simscape. When I open the model in Mechanics Explorer, the model itself has been imported correctly, but not all the reference frames are imported (I set reference frames at the desired locations in Creo). I want my reference point at a specific location on my model so that I can measure the position (x, y, z). How can I ensure that all reference frames are imported correctly and set a reference point at a specific location?
0 Comments
Accepted Answer
Lorenzo
on 21 Mar 2025
Hello,
The File Solid Block in Simscape Multibody can import different file formats (STEP, STL, etc.) but by default only imports the main refernce system of the CAD Part. If you have other reference systems and want to import them to, I would reccomend you to follow a two step approach:
1) Export the location of the coordinate system from CAD to Excel
2) Import the coordinate system from Excel to Simscape Multibody
For the first part, you need to create a macro (maybe with VBA code? Not sure if Creo uses VBA). For the second step you can use only MATLAB code. If you have interested I have this full workflow implemented for SolidWorks.
Best,
Lorenzo
2 Comments
Lorenzo
on 25 Mar 2025
Hello Shumirai,
I have attached my example as a zip file containing a zipped MATLAB project. If you open the project you will find the full description of the workflow to import coordinate systems into Simscape Multibody.
Regarding your second question, Simscape does not import the the cartesian axis wrong. Probably the global orientation of your Simscape Multibody model is not the same as the one used by Creo. Therefore, since the axis are referred with respect to the Global orientation, they look different. Could this be the case?
Best,
Lorenzo
More Answers (0)
See Also
Categories
Find more on Simscape Multibody in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!