betti run

Run steps one after another on a mesh kept in memory.

Free No sign-in needed.

Usage

betti run [flags] in out [step [+ step]...]

Run steps one after another on a mesh kept in memory, and write the last one's mesh to out, as in

betti run part.stl out.obj fix repair + mesh remesh -size 1% + shape defeature -size 2
betti run part.stl out.obj -recipe clean-for-print.txt

A step is a command with its flags; it reads the mesh the step before made. info and additive thickness report on the mesh as it is; save mid.obj writes it as it is. A recipe has one step to a line; # starts a comment.

Steps

infowhat a mesh is: size, parts, holes, crossings, element quality
particles fillfill a solid with particles, or line its surface, for SPH and other particle methods
particles clumpapproximate a solid by overlapping spheres of varying size, for DEM
particles spheresfill a container with spheres of given sizes, touching neither each other nor the walls, for a DEM packed bed
fix repairorient parts outward, fill holes and remove self-intersections
fix orientturn parts over so that their faces show their front to the outside
fix shellkeep only the outermost surface, nothing inside it
mesh remeshremesh into even triangles, or quads
shape hollowhollow a solid out to a shell, with drain holes
shape offsetthe surface at a distance outside or inside a solid
shape defeatureremove small holes, pockets, bosses and text
additive placeturn a part to print with the least support, and set it on the bed
additive slicecut a part into layers for printing: outlines as SVG, images as PNG, or 3MF slices
fix denoiseremove noise, as from a scan, keeping sharp edges
additive thicknessmeasure wall thickness and find thin walls
boxthe smallest box in any orientation holding a part, as for stock, packing and shipping
cad primitivesthe planes, cylinders, cones, spheres and tori a part's faces lie on, with their sizes
mesh midsurfacethe mid-surface of thin walls, with their thickness, for shell elements
shape decomposesplit a solid into convex hulls, as for collision detection
shape booleancombine two solids
fix reconstructrebuild a mesh broken throughout from samples of its outside
fix wrapwrap any input in a closed, valid surface just outside it
savewrite the mesh as it is to a file: save mid.obj

betti help <step> shows a step's flags; shape boolean takes its operation and the other solid, as in shape boolean union b.stl.

Flags

FlagTakesDefaultMeaning
-recipetextnonea file of steps, one to a line, run before those given here

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