betti cad mesh
Mesh a STEP file watertight, each triangle tagged with its CAD face.
cad module Granted on request: see access and licensing.
Usage
betti cad mesh [flags] in.step out
Examples
betti cad mesh part.step part.3mf
betti cad mesh part.step part.obj -chord 0.05 -angle 15
betti cad mesh part.step part.vtu -size 2
betti cad mesh part.step part.vtu -groups bodies
betti cad mesh part.step part.obj -size 1% -quads
Flags
| Flag | Takes | Default | Meaning |
|---|---|---|---|
| -adaptive | switch | off | with -size: smaller triangles where the surface curves |
| -angle | number | none | most the surface may turn across a triangle, in degrees (0: 20) |
| -chord | number | none | most a triangle may stray from its surface, in mm (0: a thousandth of the model's size) |
| -groups | text | faces | tag triangles by their CAD faces or their bodies: faces|bodies |
| -quads | switch | off | with -size: quads of about that edge length on the exact surfaces, conformal across CAD edges (OBJ, OFF, PLY, VTU and MSH keep them; 3MF holds triangles) |
| -size | length or number | no remeshing | remesh into well-shaped triangles of about this edge length, such as 2 or 1% |
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 cad mesh. Lengths are absolute, or a percentage of the part's bounding-box diagonal, as in -size 1%.