problem of slow simulation for the imported CAD files of robot

I have simulated my humanoid robot in the Choreonoid and I have exported the CAD files of my robot from solidworks file to VRML files,
There is a problem that by increasing the size of VRML file the simulation time increases drastically. I have tried a lot of methods to decrease the size of the VRML file but it was not successful.
I guess the Gazebo simulation software solve this problem by separating the visualize part of the model with the collision part, therefore we can have a complicated geometry for the visualize robot and a simple model for modeling the collision.
Would anyone help me that I use the visualization of my whole robot in Choreonoid without increasing the time of simulation?

Thanks in advance

Yes, using coarse mesh for visualization and primitive shape for collision detection is effective in this case, and is possible to use in Choreonoid as well.

If you use body format (recommended), you can use Visual and Collision elements to define each shapes:

If you prefer VRML, it is possible by using Surface node:

1 Like

Thank you very much for your help. I have used .wrl format and It works fine. I have attached the image of the imported humanoid robot to Choreonoid :blush:

1 Like