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

FlagTakesDefaultMeaning
-adaptiveswitchoffwith -size: smaller triangles where the surface curves
-anglenumbernonemost the surface may turn across a triangle, in degrees (0: 20)
-chordnumbernonemost a triangle may stray from its surface, in mm (0: a thousandth of the model's size)
-groupstextfacestag triangles by their CAD faces or their bodies: faces|bodies
-quadsswitchoffwith -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)
-sizelength or numberno remeshingremesh into well-shaped triangles of about this edge length, such as 2 or 1%

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 cad mesh. Lengths are absolute, or a percentage of the part's bounding-box diagonal, as in -size 1%.