BREP_STL2STEP 0.1.0

BREP-family STL-to-STEP reconstruction command
BREP_STL2STEP-0.1.0 is not a library.

BREP_STL2STEP

First-class BREP-family STL-to-STEP CLI crate. It depends on BREP_reconstruction; its binary name is stl-to-step.

Run it from the repository root with:

cargo run --manifest-path BREP_STL2STEP/Cargo.toml -- input.stl

or install from this checkout with cargo install --path BREP_STL2STEP.

The command writes input.step beside input.stl, refuses to replace an existing STEP or JSON report unless --force is supplied, and writes through a temporary file before the destination is replaced. STL coordinates default to millimetres; --unit accepts mm, cm, m, micron, inch, or foot (and aliases accepted by --help).

Recognition preserves safe analytic plane, cylinder, and cone regions in a hybrid model; full spheres, ring tori, capped cylinders, and capped cones also have direct analytic paths. Other repairable closed input can fall back to a faceted BREP unless --strict-analytic is set. Use --report-json PATH for the schema-version 2 JSON report; the command always prints a human-readable terminal report.

Exit statuses are 0 for success, 2 for usage, 3 for STL input, 4 for conversion, and 5 for output I/O. Run stl-to-step --help for all recognition and tolerance options.

The package is publishable and versioned 0.1.0, not yet released; it contains only this binary. It publishes after BREP_reconstruction.