Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,102 @@
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
-
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
+
tags:
|
| 4 |
+
- usd
|
| 5 |
+
- usdz
|
| 6 |
+
- isaac-sim
|
| 7 |
+
- simready
|
| 8 |
+
- 3d
|
| 9 |
+
- robotics
|
| 10 |
+
pretty_name: SimReady Dataset Sample with Real Objects
|
| 11 |
+
size_categories:
|
| 12 |
+
- n<1K
|
| 13 |
---
|
| 14 |
+
|
| 15 |
+
# SimReady Dataset Sample with Real Objects
|
| 16 |
+
|
| 17 |
+
100 SimReady assets for NVIDIA Isaac Sim, one self-contained `.usdz` per object. Each
|
| 18 |
+
asset has a physics setup and two visual levels of detail. Both the level of detail and
|
| 19 |
+
the collider type are USD variant sets, so you can switch them in Isaac Sim without
|
| 20 |
+
re-exporting.
|
| 21 |
+
|
| 22 |
+
## Contents
|
| 23 |
+
|
| 24 |
+
| | |
|
| 25 |
+
|---|---|
|
| 26 |
+
| Assets | 100 `.usdz` and `.glb` files |
|
| 27 |
+
| Up axis / units | Z-up, meters (`metersPerUnit = 1`), kilograms |
|
| 28 |
+
| Visual LODs | `0` = native mesh, `1` = 300k-triangle mesh (**default**) |
|
| 29 |
+
| Colliders | `sdf` (**default**) and `convexHull` |
|
| 30 |
+
| Physics | rigid body with mass, physics materials, collider meshes |
|
| 31 |
+
|
| 32 |
+
Inside each package, the root prim is `/Asset`:
|
| 33 |
+
|
| 34 |
+
```
|
| 35 |
+
/Asset
|
| 36 |
+
└─ bodies/<object>/
|
| 37 |
+
├─ mesh_obj visual mesh (the selected LOD)
|
| 38 |
+
├─ colliders/ collider meshes (purpose "guide": not rendered)
|
| 39 |
+
└─ grasp/ grasp vectors, if present (purpose "guide")
|
| 40 |
+
```
|
| 41 |
+
|
| 42 |
+
## Download
|
| 43 |
+
|
| 44 |
+
```python
|
| 45 |
+
from huggingface_hub import snapshot_download
|
| 46 |
+
|
| 47 |
+
path = snapshot_download(repo_id="ALLSIDES/ALLSIDES-Dataset-Sample-with-Real-Objects", repo_type="dataset")
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
## Using the assets in Isaac Sim
|
| 51 |
+
|
| 52 |
+
Drag a `.usdz` into the viewport or the Stage window, or add it as a reference from
|
| 53 |
+
Python. Either way, the asset appears under a prim of your choice (e.g. `/World/Object`),
|
| 54 |
+
and both variant sets are available on that prim.
|
| 55 |
+
|
| 56 |
+
### In the UI
|
| 57 |
+
|
| 58 |
+
Select the asset's top prim in the Stage window. In the **Property** panel, under
|
| 59 |
+
**Variants**, set:
|
| 60 |
+
|
| 61 |
+
- **`lod`**: `1` (300k triangles, default) or `0` (native, full resolution);
|
| 62 |
+
- **`collision_mode`**: `sdf` (default) or `convexHull`.
|
| 63 |
+
|
| 64 |
+
### From Python
|
| 65 |
+
|
| 66 |
+
```python
|
| 67 |
+
import omni.usd
|
| 68 |
+
|
| 69 |
+
stage = omni.usd.get_context().get_stage()
|
| 70 |
+
prim = stage.DefinePrim("/World/Object", "Xform")
|
| 71 |
+
prim.GetReferences().AddReference("/path/to/<asset>.usdz")
|
| 72 |
+
|
| 73 |
+
prim.GetVariantSet("lod").SetVariantSelection("0") # native mesh
|
| 74 |
+
prim.GetVariantSet("collision_mode").SetVariantSelection("convexHull")
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
The selections are stored on your stage, not in the `.usdz`. The package itself stays
|
| 78 |
+
unchanged and read-only.
|
| 79 |
+
|
| 80 |
+
### Level of detail (`lod`)
|
| 81 |
+
|
| 82 |
+
- **`1`** (default) is the 300k-triangle version, meant for simulation and synthetic data.
|
| 83 |
+
- **`0`** is the original scan-resolution mesh.
|
| 84 |
+
|
| 85 |
+
Each level is stored in its own file inside the package, and only the selected level is
|
| 86 |
+
composed into the scene.
|
| 87 |
+
|
| 88 |
+
### Colliders (`collision_mode`)
|
| 89 |
+
|
| 90 |
+
- **`sdf`** (default): signed-distance-field mesh collision on a precise collider mesh.
|
| 91 |
+
It's accurate for non-convex shapes and is what the SimReady COL.001 check requires.
|
| 92 |
+
- **`convexHull`**: convex-hull colliders. They're cheaper and work with more PhysX
|
| 93 |
+
features, but less accurate for concave geometry.
|
| 94 |
+
|
| 95 |
+
Only the selected kind is active; the other is deactivated. Mass and physics materials
|
| 96 |
+
are the same in both modes.
|
| 97 |
+
|
| 98 |
+
## Notes
|
| 99 |
+
|
| 100 |
+
- Colliders and grasp vectors use `purpose = "guide"`, so they don't show up in rendered
|
| 101 |
+
images or synthetic data.
|
| 102 |
+
- To modify an asset, extract the `.usdz` (it's a zip archive).
|