Issue with Creo Assembly Import: Control Point Misalignment Due to Translation Offset in Simscape
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Shumirai
el 14 de Mayo de 2025
Respondida: Jacob Mathew
el 5 de Ag. de 2025
I'm importing a PTC Creo assembly into Simscape to model dynamic motion. In Creo, I defined a control point that I want to use to drive the position of the entire assembly. This point is defined relative to a fixed reference point.
To enable this in Simscape, I created a dummy block in Creo and added a planar connection so that Simscape would generate a Planar Joint at the control point. The import completes successfully, and the model shows up in Simscape with the correct structure.
There's a problem: the control point appears at the reference point location instead of where it should be. I found that I can fix this manually by going into the Transform block associated with the dummy component and changing the Translation setting from TranslationCartesianOffset to TranslationNone(Picture below) Once I do this, the control point moves to the correct position.
My question: Why does the control point default to the reference point location in Simscape, and is there a way to automatically preserve the offset during the import process?

0 comentarios
Respuesta aceptada
Jacob Mathew
el 5 de Ag. de 2025
I tried replicating this behavior using the Import a CAD Assembly Model example. You can open this example by running the command below:
openExample("sm/ImportedCADModelExample");
When running the example to import the Robot CAD Assembly using the smimport function, it uses a Rigid Transform block as you have shown. Here too, the block parameters of Rigid Transform show that under the Translation section, the Method is set to Cartesian and the corresponding Offset is the value smiData.RigidTransform(25).translation
However, if I double click and add the block manually, it defaults to None for the Translation Method property. This is in correspondence with the documentation as well, where None is the default value for the Translation Method Property. You can reference it below:
It looks like when the CAD file being imported has specific metadata related to Translation and Rotation, MATLAB auto populates the necessary parameters with those values.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Simulation and Analysis en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!