Simscape multibody in R2022b
12 views (last 30 days)
I having some problems when I try to open a Multidody model in R2022b. They are models that work fien in R2021b ond previous but not in R2022b. I get an error when I try to open a stp file. I can open it in R2021b but not in R2022b.
Find attached a simple example. It runs ok in R2021b but when I try to run it in R2022b I get this warning:
['untitled_R2021b/Solid2'] : Frame F1 [Frame1]: The geometric feature the origin is based on, "planar surface 26", does not exist. The geometry may have changed. Resolve this issue in order to remove the warning.
I can't open the FileSolid Cuerpo3.stp. I get this error.
The parameter File Name is an invalid file. Error reading file C:\Users\Vicente\Desktop\Stanford\Cuerpo3.stp.
Any ideas about why this happens?
Nathan Hardenberg on 17 Jul 2023
Edited: Nathan Hardenberg on 17 Jul 2023
I do not know, why this worked for you in R2021b. I did not test it in that version, but it did not seem to work for @Shree Charan in R2021b.
But what is the problem here: The Cuerpo3.stp file does contain two solids. This is most likely not supported.
To fix this open the Cuerpo3.stp file in you CAD software of choice and only export the body that you want to really have. Or combine both/all as one body an export that.
I did that for you and exported the bodies seperatly and one combined (see attachement). Use the appropriate one and the problem should be solved.
EDIT: You also seem to have a geometric Frame (Frame F1) based on a geometric feature. Maybe you have to create this frame again, after changing the file. Not necessarily, but just something to keep in mind.