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

FlagTakesDefaultMeaning
-concavitylength or number2%how far a hull may stray from its part, such as 1 or 0.5%
-max-partsintegerno limitthe most hulls

Output flags

FlagTakesDefaultMeaning
-jsonswitchoffprint the result as JSON
-qswitchoffprint nothing but errors
-vswitchoffalso 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%.