betti shape decompose
Split a solid into convex hulls, as for collision detection.
shape module Granted on request: see access and licensing.
Usage
betti shape decompose [flags] in out
Examples
betti shape decompose part.stl hulls.obj
betti shape decompose -concavity 0.5% -max-parts 16 part.stl hulls.3mf
Flags
| Flag | Takes | Default | Meaning |
|---|---|---|---|
| -concavity | length or number | 2% | how far a hull may stray from its part, such as 1 or 0.5% |
| -max-parts | integer | no limit | the most hulls |
Output flags
| Flag | Takes | Default | Meaning |
|---|---|---|---|
| -json | switch | off | print the result as JSON |
| -q | switch | off | print nothing but errors |
| -v | switch | off | also show the stages of each step, and their times |
This page is generated from betti help shape decompose. Lengths are absolute, or a percentage of the part's bounding-box diagonal, as in -size 1%.