OpenGeometry.exportStep(options) writes a STEP file. It returns a promise of { text, report }.
Save the file in a browser
The report
report counts what was written: products, solids, faces, edges, cavityShells, entities and bytes. It also gives the exchangeErrorBound and the geometricTolerance, and one entry per body in bodies. skipped lists the nodes that were not written, with a reason.
Rules
- A wire or a sheet cannot be exported on its own. It throws
InvalidOperand. - A selection with no solid in it throws
EmptyResult. - Planes, cylinders, cones, spheres and tori are written as exact STEP surfaces.
report.fittedCurvescounts the curves that had to be fitted.

