betti fix repair
Orient parts outward, fill holes and remove self-intersections.
fix module Granted on request: see access and licensing.
Usage
betti fix repair [flags] in out
Examples
betti fix repair scan.stl fixed.3mf
betti fix repair -small-parts 0.001 part.stl fixed.obj
Flags
| Flag | Takes | Default | Meaning |
|---|---|---|---|
| -keep-holes | switch | off | do not fill the holes of solids |
| -kind | text | auto | what the parts are: auto (as betti info classifies each), solid (holes are filled, crossings resolved by union) or sheet (crossings cut, edges kept open) |
| -parity | switch | off | decide by the parity of the faces rays cross, which takes every part for the boundary of one solid: cavities face into themselves, but bodies inside bodies become cavities |
| -small-parts | number | none | remove parts with less than this fraction of the total area, such as 0.001 |
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 fix repair. Lengths are absolute, or a percentage of the part's bounding-box diagonal, as in -size 1%.