Skip to content

Commit

Permalink
Update README.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinzakka committed Jun 13, 2022
1 parent 51177aa commit e870b9a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,9 @@ bash install_vhacd.sh
## Usage

```bash
usage: obj2mjcf [-h] --obj-dir STR [--obj-filter STR] [--save-mtl] [--save-mjcf] [--verbose] [--vhacd-args.enable]
[--vhacd-args.max-output-convex-hulls INT] [--vhacd-args.voxel-resolution INT] [--vhacd-args.volume-error-percent FLOAT]
[--vhacd-args.max-recursion-depth INT] [--vhacd-args.disable-shrink-wrap] [--vhacd-args.fill-mode {FLOOD,SURFACE,RAYCAST}]
[--vhacd-args.max-hull-vert-count INT] [--vhacd-args.disable-async] [--vhacd-args.min-edge-length INT]
[--vhacd-args.split-hull]
usage: obj2mjcf [-h] --obj-dir STR [--obj-filter STR] [--save-mtl] [--save-mjcf] [--compile-model] [--verbose] [--vhacd-args.enable] [--vhacd-args.max-output-convex-hulls INT] [--vhacd-args.voxel-resolution INT]
[--vhacd-args.volume-error-percent FLOAT] [--vhacd-args.max-recursion-depth INT] [--vhacd-args.disable-shrink-wrap] [--vhacd-args.fill-mode {FLOOD,SURFACE,RAYCAST}] [--vhacd-args.max-hull-vert-count INT]
[--vhacd-args.disable-async] [--vhacd-args.min-edge-length INT] [--vhacd-args.split-hull]

required arguments:
--obj-dir STR path to a directory containing obj files. All obj files in the directory will be
Expand All @@ -58,16 +56,17 @@ optional arguments:
--obj-filter STR only convert obj files matching this regex (default: None)
--save-mtl save the mtl files
--save-mjcf save an example MJCF file
--compile-model compile the MJCF file to check for errors
--verbose print verbose output

optional vhacd args arguments:
arguments to pass to V-HACD

--vhacd-args.enable enable convex decomposition using V-HACD
--vhacd-args.max-output-convex-hulls INT
maximum number of output convex hulls (default: 64)
maximum number of output convex hulls (default: 32)
--vhacd-args.voxel-resolution INT
total number of voxels to use (default: 400000)
total number of voxels to use (default: 100000)
--vhacd-args.volume-error-percent FLOAT
volume error allowed as a percentage (default: 1.0)
--vhacd-args.max-recursion-depth INT
Expand Down
2 changes: 1 addition & 1 deletion obj2mjcf/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.0.8"
__version__ = "0.0.9"

0 comments on commit e870b9a

Please sign in to comment.