We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This line appears to be the issue: https://github.com/kevinzakka/obj2mjcf/blob/main/obj2mjcf/_cli.py#L376
Trimesh is generating an mtl file called material.mtl, maybe this changed.
material.mtl
This is missed by "material_0" in x.name, which instead deletes any material_0.png files that have been generated.
"material_0" in x.name
material_0.png
Could pass a special name into mtl_name in trimesh.export and only clean up those after.
mtl_name
trimesh.export
The text was updated successfully, but these errors were encountered:
Hi @dm-mattyoung, would you mind making a PR if you have time?
Sorry, something went wrong.
No branches or pull requests
This line appears to be the issue:
https://github.com/kevinzakka/obj2mjcf/blob/main/obj2mjcf/_cli.py#L376
Trimesh is generating an mtl file called
material.mtl
, maybe this changed.This is missed by
"material_0" in x.name
, which instead deletes anymaterial_0.png
files that have been generated.Could pass a special name into
mtl_name
intrimesh.export
and only clean up those after.The text was updated successfully, but these errors were encountered: