Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
smexportonshape function in matlab2021a does not export mass properties of standard content
jaime_caballero
Member Posts: 1 EDU
I am trying to perform a dynamic simulation on matlab from an assembly that I created. It has a bunch of bolts, and when I export the assembly with the smexportonshape() function on matlab it exports everything correctly, but the mass properties of the standard content do not export.
I think matlab grabs this information from the part studios and since there is no part studio (at least at simple view) of the standard content, maybe thats the reason it fails.
My standard content has material defined in the assembly, when I look up the mass properties it correctly displays in onshape. But the export command with matlab fails to export this as I previously stated.
I figure out that I can modify the matlab script that has all the properties, but I wanted to know if there is another simpler way.
One last note, when I fasten parts in an assembly, later in simscape (or any structural/dynamic/etc. simulation software) they will be "welded" in their entire overlapping surface? Or I need to fasten then just with bolts? I do not have that clear. Since I want to simulated the stress in the actual joints points (bolts fastening to rigid bodies, not two rigid bodies glued together).
Thanks
I think matlab grabs this information from the part studios and since there is no part studio (at least at simple view) of the standard content, maybe thats the reason it fails.
My standard content has material defined in the assembly, when I look up the mass properties it correctly displays in onshape. But the export command with matlab fails to export this as I previously stated.
I figure out that I can modify the matlab script that has all the properties, but I wanted to know if there is another simpler way.
One last note, when I fasten parts in an assembly, later in simscape (or any structural/dynamic/etc. simulation software) they will be "welded" in their entire overlapping surface? Or I need to fasten then just with bolts? I do not have that clear. Since I want to simulated the stress in the actual joints points (bolts fastening to rigid bodies, not two rigid bodies glued together).
Thanks
0