convert
Convert STL, OBJ, or PLY mesh files into editable STEP B-rep CAD models with fitted planes, cylinders, spheres, and cones. Returns a fidelity report with deviation and volume error.
Instructions
Convert an STL/OBJ/PLY mesh into a STEP B-rep with fitted planes, cylinders, spheres, cones, and constant-radius fillets.
Args: input_path: path to the mesh file. output_path: STEP path to write (default: input with .step suffix). tol: fit tolerance in model units (~ mesh noise); default 0.1% of bbox diagonal. cylinders: also fit cylinders (holes, bosses, plane-plane fillets). spheres: also fit spheres (domes, spherical bosses). cones: also fit cones (chamfers, countersinks, tapered bosses). Returns the fidelity report (method, faces, deviation, volume error) and output path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tol | No | ||
| cones | No | ||
| spheres | No | ||
| cylinders | No | ||
| input_path | Yes | ||
| output_path | No |