rigyd-mujoco
Python SDK for Rigyd that converts any 3D model, text
prompt, or image into a physics-enabled MuJoCo (MJCF) asset and loads it
straight into MuJoCo as a mujoco.MjModel.
Rigyd emits a complete MJCF package —
.xml+ per-material visual STLs + CoACD collision hulls + textures, with inertials, friction, a free joint and a ground plane — so this SDK is a thin API client + loader, not a converter.Note: MuJoCo has no asset-import plugin hook (engine plugins only add actuators/sensors/forces/SDF), so the idiomatic integration is this SDK, not a compiled plugin.
Install
pip install rigyd-mujoco # or, from a clone: pip install -e .
export RIGYD_API_KEY=rgyd_live_xxx
Use
import rigyd
rigyd.configure() # reads RIGYD_API_KEY
# one call: convert + wait + return a loaded model
model = rigyd.load_model(prompt="a wooden dining chair") # text (2 credits)
model = rigyd.load_model(images=["front.png"]) # image (3 credits)
model = rigyd.load_model(file="chair.glb",
target_triangle_count=50_000) # 3D file (1 credit)
# lower level
job = rigyd.convert(prompt="a wooden dining chair")
job.wait(on_progress=lambda j: print(j.status, j.stage, j.progress))
xml = job.download(fmt="mjcf") # path to the .xml package
model = rigyd.load_model(...) ; print(rigyd.account()) # user + credit balance
Run it:
python examples/quickstart.py "a wooden dining chair" # opens the MuJoCo viewer
| Flow | Input | Cost |
|---|---|---|
| Text → SimReady | prompt= |
2 credits |
| Image → SimReady | images= (1 or 4: front, right, back, left) |
3 credits |
| 3D file → SimReady | file= (.glb/.gltf/.fbx/.obj/.stl/.ply/.usd*) |
1 credit |
How it works
Submits to api.rigyd.com, polls the job to completion, downloads the
format=mjcf result ZIP, extracts it (preserving the meshes/ + textures/
layout MuJoCo expects), and returns mujoco.MjModel.from_xml_path(...).
Layout
rigyd/
__init__.py # configure / convert / generate / load_model / account
client.py # stdlib urllib client for the Rigyd API
job.py # Job: status, wait(), download(), load()
cache.py # result-ZIP extraction + local cache
errors.py # RigydError
examples/quickstart.py
scripts/smoke_test.py
License
MIT — see LICENSE.
Metadata
Release files for rigyd-mujoco 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rigyd_mujoco-1.0.0.tar.gz | 8.8 kB | Without provenance | Details for rigyd_mujoco-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rigyd_mujoco-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for rigyd_mujoco-1.0.0-py3-none-any.whl |
Total release size: 18.1 kB
Release files / rigyd_mujoco-1.0.0.tar.gz
| Download URL | rigyd_mujoco-1.0.0.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e4ea56575194c724f1ea93436bb12a046643f4fb4854c1ac1a2f085ce535120
|
|
BLAKE2b-256 checksum How to use checksums |
385ab5c59a8bd326d5e74e03ae6b85875f796d1c085646dbc983093391dec3c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Release files / rigyd_mujoco-1.0.0-py3-none-any.whl
| Download URL | rigyd_mujoco-1.0.0-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
73ffcb20f0a80f2601008d581aeefd240de48d53e5fe4e6b77c2e12116936f94
|
|
BLAKE2b-256 checksum How to use checksums |
d5f7a4ada7ebd2246138228895fe37482fc0faacbe2f3a57b54034910a93373a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Security for rigyd-mujoco 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.