Upload docs/convex_decomposition_spec.md with huggingface_hub
Browse files
docs/convex_decomposition_spec.md
CHANGED
|
@@ -87,6 +87,20 @@ meshes/*.stl
|
|
| 87 |
|
| 88 |
The script writes generated pieces to `meshes/<mesh_name>/part_000.obj`, records hashes and parameters in `logs/decomposition.json`, and creates MJCF include files under `mjcf/`.
|
| 89 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
### `metadata.yaml`
|
| 91 |
|
| 92 |
Minimum fields:
|
|
|
|
| 87 |
|
| 88 |
The script writes generated pieces to `meshes/<mesh_name>/part_000.obj`, records hashes and parameters in `logs/decomposition.json`, and creates MJCF include files under `mjcf/`.
|
| 89 |
|
| 90 |
+
For each generated convex part, the script also records size and complexity statistics in both `logs/decomposition.json` and `logs/parts_summary.csv`:
|
| 91 |
+
|
| 92 |
+
```text
|
| 93 |
+
bbox_extents # x/y/z axis-aligned bounding-box dimensions
|
| 94 |
+
bbox_center # axis-aligned bounding-box center
|
| 95 |
+
bbox_volume
|
| 96 |
+
mesh_volume
|
| 97 |
+
surface_area
|
| 98 |
+
num_vertices
|
| 99 |
+
num_faces
|
| 100 |
+
```
|
| 101 |
+
|
| 102 |
+
Use `logs/parts_summary.csv` to find parts that are too small, too large, or unexpectedly complex before using them as collision geometry.
|
| 103 |
+
|
| 104 |
### `metadata.yaml`
|
| 105 |
|
| 106 |
Minimum fields:
|