Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way to create a composite model from import obj/stl file? #674

Closed
KunZHANG1994 opened this issue Dec 24, 2022 · 13 comments
Closed
Assignees
Labels
question Request for help or information

Comments

@KunZHANG1994
Copy link

KunZHANG1994 commented Dec 24, 2022

I would like to import an existing obj file as soft model.
I have tried the composite model, but not work.
I would like to know is there any way to create a composite model from import .obj/.stl file?
Does current version of Mujoco support to import a existing obj file as soft model?

@KunZHANG1994 KunZHANG1994 added the question Request for help or information label Dec 24, 2022
@quagla
Copy link
Collaborator

quagla commented Jan 3, 2023

Hi, that's not supported yet. Is your aim to have a 3d soft body (i.e. tetrahedral mesh) or a surface (like a cloth)?

@KunZHANG1994
Copy link
Author

Hi, that's not supported yet. Is your aim to have a 3d soft body (i.e. tetrahedral mesh) or a surface (like a cloth)?

Hi, thanks for your reply. I would like to simulate a 3D space closed surface, not a single piece of cloth. I have made a mesh file of cloth from blender. Is that possible? or Mujoco will further support?

@quagla
Copy link
Collaborator

quagla commented Jan 9, 2023

Yes it will be possible in the next release but with the caveat that the equilibrium configuration for the bending stiffness will be assumed to be the flat configuration (an angle pi across triangles). For a closed surface probably it won't matter that much because you could try setting the bending stiffness to zero since the deformations are dominated by stretching.

@KunZHANG1994
Copy link
Author

Cool, very exciting news. By the way, when will be the next release available?

@quagla
Copy link
Collaborator

quagla commented Jan 11, 2023

Probably in a couple of weeks, but if you build from source you might be able to access the new feature earlier.

@KunZHANG1994
Copy link
Author

OK! Thanks!

@quagla
Copy link
Collaborator

quagla commented Feb 7, 2023

@KunZHANG1994 We just made a new release but unfortunately the feature you requested did not make the deadline. You should keep an eye for it in the next month. I hope this does not change your plans in using MuJoCo.

@quagla quagla reopened this Feb 7, 2023
@KunZHANG1994
Copy link
Author

@KunZHANG1994 We just made a new release but unfortunately the feature you requested did not make the deadline. You should keep an eye for it in the next month. I hope this does not change your plans in using MuJoCo.

OK, Thx for telling me these. I changed my working schedule and waiting your new feature update.

@Shamp0o
Copy link

Shamp0o commented Mar 29, 2023

Is this supported, yet? Couldn't find anything related to this in the elease notes of 2.3.3 and neither could I find a pull request.

@quagla
Copy link
Collaborator

quagla commented Apr 17, 2023

We are working on a larger feature that will include this, so I'm afraid it has been delayed. Apologies for this.

@dblanm
Copy link

dblanm commented Aug 14, 2023

@quagla any update on when will this be released?

@quagla
Copy link
Collaborator

quagla commented Aug 14, 2023

Unfortunately it won't be part of the next release. I've had this code ready for a while but unfortunately it's pending on a composite refactoring that has been delayed.

copybara-service bot pushed a commit that referenced this issue Aug 30, 2023
- Removed the explicit dependency on a plugin name.
- Creation of particles from user-defined vertices (if a plugin is present).
- Add skin support for an irregular mesh
- Fixes #642 and #674.

PiperOrigin-RevId: 561313771
Change-Id: I450f91f0d3b578cc18d97ed7180a0a8944b7dd41
@quagla
Copy link
Collaborator

quagla commented Aug 30, 2023

Hi @dblanm and @KunZHANG1994 happy to let you know that this is now supported! Let me know if it works as you expected.

@quagla quagla closed this as completed Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Request for help or information
Projects
None yet
Development

No branches or pull requests

4 participants