Import cad model
- Mruthunjay Mani
- Posts: 1
- Joined: Sat Jan 27, 2024 9:44 pm
Import cad model
I am trying to import a model of an exoskeleton into opensim. I am not sure on how to do it exactly. Is there a detailed explanation on how to import it. Am i supposed to edit anything in the xml files or is it a straightforward import similar to CAD softwares? I saw the toy example with an ankle exoskeleton attached but was not sure how it was attached. Can anyone explain in detail? I am new to the software.
Tags:
- Sanura Dunu Arachchige
- Posts: 5
- Joined: Wed Jun 21, 2023 11:53 pm
Re: Import cad model
I have the same issue. I have posted a question too. Still no answer. Seems we gotta find it ourselves.
I am using OpenSim Creator another software that allows you to modify OpenSim models. Try it out if you have not done it already. Also, let me whether if it is working for you properly
I am using OpenSim Creator another software that allows you to modify OpenSim models. Try it out if you have not done it already. Also, let me whether if it is working for you properly
- Ayman Habib
- Posts: 2252
- Joined: Fri Apr 01, 2005 12:24 pm
Re: Import cad model
Hello,
CAD models as much as OpenSim models contain not just the geometry/meshes that you see visually, they also contain other info: Joint definitions, Constraints, possibly forces, controllers, .... As such there's no universal format to transfer arbitrary CAD models into OpenSim or into any other modeling platform as far as I can tell. Some abstractions defined in one CAD system may not be possible in another. You can import the geometry/meshes using OpenSim Creator or by editing XML files directly and attaching stl/obj/vtp files but the rest has to be reimplemented in the OpenSim format. Whether you do that by writing a script that parses the CAD model or recreating from scratch is up to you.
Hope this helps,
-Ayman
CAD models as much as OpenSim models contain not just the geometry/meshes that you see visually, they also contain other info: Joint definitions, Constraints, possibly forces, controllers, .... As such there's no universal format to transfer arbitrary CAD models into OpenSim or into any other modeling platform as far as I can tell. Some abstractions defined in one CAD system may not be possible in another. You can import the geometry/meshes using OpenSim Creator or by editing XML files directly and attaching stl/obj/vtp files but the rest has to be reimplemented in the OpenSim format. Whether you do that by writing a script that parses the CAD model or recreating from scratch is up to you.
Hope this helps,
-Ayman
- Sanura Dunu Arachchige
- Posts: 5
- Joined: Wed Jun 21, 2023 11:53 pm
Re: Import cad model
Hi Ayman,
Thank you very much for the reply. Sorry took a while to reply. . My issue with importing a CAD model is that its scale goes way off... Exoskeleton components that I try to import becomes huge compared to opensim models that I try to use. Is there any way around that?
I am thinking of crating the exoskeleton model in opensim creator not with basic shapes (would look way off compared to what's real).
Thank you very much for the reply. Sorry took a while to reply. . My issue with importing a CAD model is that its scale goes way off... Exoskeleton components that I try to import becomes huge compared to opensim models that I try to use. Is there any way around that?
I am thinking of crating the exoskeleton model in opensim creator not with basic shapes (would look way off compared to what's real).