A CLI for processing composite Wavefront OBJ files for use in MuJoCo.
Python
384
68 commits
updated Oct 15, 2024
obj2mjcf is a CLI for proccessing composite Wavefront OBJ files for use in MuJoCo. It automatically:
obj2mjcf was used to process model meshes for MuJoCo Menagerie:
As of June 2022, MuJoCo does not support composite OBJ files consisting of groups or objects (o or g OBJ tags) and only 1 material can be assigned per mesh. This means that you have to manually split your OBJ file into sub-meshes, a process that is tedious and error-prone. This tool is meant to automate this process.
Important. MuJoCo support for OBJ files is only available in versions 2.1.2 and above. Make sure you upgrade to the latest version via the Releases page.
The recommended way to install this package is via PyPI:
pip install --upgrade obj2mjcf
Type the following at the command line for a detailed description of available options:
obj2mjcf --help
28 followers · starred Apr 2025
19 followers · starred May 2025
A CLI for processing composite Wavefront OBJ files for use in MuJoCo.
Python
384
68 commits
updated Oct 15, 2024
obj2mjcf is a CLI for proccessing composite Wavefront OBJ files for use in MuJoCo. It automatically:
obj2mjcf was used to process model meshes for MuJoCo Menagerie:
As of June 2022, MuJoCo does not support composite OBJ files consisting of groups or objects (o or g OBJ tags) and only 1 material can be assigned per mesh. This means that you have to manually split your OBJ file into sub-meshes, a process that is tedious and error-prone. This tool is meant to automate this process.
Important. MuJoCo support for OBJ files is only available in versions 2.1.2 and above. Make sure you upgrade to the latest version via the Releases page.
The recommended way to install this package is via PyPI:
pip install --upgrade obj2mjcf
Type the following at the command line for a detailed description of available options:
obj2mjcf --help
28 followers · starred Apr 2025
19 followers · starred May 2025