Upload AGENTS.md with huggingface_hub
Browse files
AGENTS.md
CHANGED
|
@@ -46,6 +46,28 @@ assets/<source>/derived/<asset_type>/<category>/<asset_id>/
|
|
| 46 |
|
| 47 |
Use `derived/` for convex decomposition, collision meshes, cleaned meshes, conversions, and other generated outputs. Do not overwrite raw assets.
|
| 48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
Whenever a source is reorganized during import, record the original upstream layout and the current layout in:
|
| 50 |
|
| 51 |
```text
|
|
|
|
| 46 |
|
| 47 |
Use `derived/` for convex decomposition, collision meshes, cleaned meshes, conversions, and other generated outputs. Do not overwrite raw assets.
|
| 48 |
|
| 49 |
+
For convex decomposition, use:
|
| 50 |
+
|
| 51 |
+
```text
|
| 52 |
+
assets/<source>/derived/convex_decompositions/<category>/<asset_id>_<variant>/
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
+
Preferred generator:
|
| 56 |
+
|
| 57 |
+
```bash
|
| 58 |
+
python scripts/run_convex_decomposition.py assets/<source>/raw/<asset_type>/<category>/<asset_id> --mesh <relative_mesh_path> --variant coacd_v1
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
Generated MuJoCo include files have different insertion contexts:
|
| 62 |
+
|
| 63 |
+
```text
|
| 64 |
+
mjcf/convex_assets_include.xml # include at MJCF root/top level
|
| 65 |
+
mjcf/convex_geoms_include.xml # include inside the target body
|
| 66 |
+
mjcf/convex_collision_include.xml # standalone wrapper for preview/convenience
|
| 67 |
+
```
|
| 68 |
+
|
| 69 |
+
Do not edit the raw source `model.xml` when adding convex collision geometry. Integrate the derived includes in downstream task scenes or in separate derived MJCF files.
|
| 70 |
+
|
| 71 |
Whenever a source is reorganized during import, record the original upstream layout and the current layout in:
|
| 72 |
|
| 73 |
```text
|