| Crates.io | ycbust |
| lib.rs | ycbust |
| version | 0.2.5 |
| created_at | 2025-11-30 03:03:49.839325+00 |
| updated_at | 2025-12-25 19:33:51.467568+00 |
| description | Library and CLI tool for downloading and extracting the YCB Object and Model Set for 3D rendering and simulation |
| homepage | https://github.com/Agentic-Insights/ycbust |
| repository | https://github.com/Agentic-Insights/ycbust |
| max_upload_size | |
| id | 1957780 |
| size | 95,788 |
A Rust library and CLI tool for efficiently downloading and extracting the YCB Object and Model Set. Designed for quick setup of 3D rendering and simulation environments (e.g., Bevy, Rapier).
Note:
ycbustcan be used both as a standalone CLI tool and as a library in your Rust projects. See the Usage section for CLI examples and crate documentation for library API details.
cargo install ycbust
Pre-built binaries are available on the Releases page.
google_16k meshes (high-quality, water-tight meshes best for rendering and physics)..tgz extraction and cleanup.Download Representative Subset (Default)
Downloads 3 common objects (Cracker Box, Sugar Box, Tomato Soup Can) to /tmp/ycb.
ycbust --subset representative
Download to Custom Directory
ycbust -o ./my_ycb_data
Download Full Dataset (All File Types)
Includes berkeley_processed, google_16k, etc.
ycbust --full
Download 10 Objects
ycbust --subset ten
Download All Objects
ycbust --subset all
Usage: ycbust [OPTIONS]
Options:
-o, --output-dir <OUTPUT_DIR> Output directory [default: /tmp/ycb]
-s, --subset <SUBSET> Subset to download [default: representative]
(representative, ten, all)
--overwrite Overwrite existing files
--full Download all file types (default: google_16k only)
-h, --help Print help
For each object, the tool creates a directory structure like this:
/output_dir/
├── 003_cracker_box/
│ └── google_16k/
│ ├── textured.obj <-- Main mesh for rendering
│ ├── texture_map.png <-- Texture
│ └── ...
└── ...
For rendering, point your asset loader to the google_16k/textured.obj file. It will automatically pick up the material and texture map if they are in the same folder.
This project uses just as a command runner.
# List all available commands
just
# Build the project
just build
# Run all tests
just test
# Download sample data (representative subset) to /tmp/ycb-test
just run-demo