Skip to main content
POST
STEP import, rung 2: the exact B-rep of every body from an uploaded STEP blob (C22.8 / J6.a)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
step_blob_id
string
required

blob id from POST /v1/blobs

segments
integer
default:32

Tessellation segments for curved faces (viz/mesh fidelity).

Response

Import outcome

bodies
object[]

One entry per MANIFOLD_SOLID_BREP, in file order.

census
tuple[]

(entity name, count), sorted.

curves
tuple[]

(edge curve kind, count): LINE, CIRCLE.

edges
integer
faces
integer
length_unit
string

The file's declared length unit (mm | cm | m | in | ft | ... | unspecified), read from its unit context

scale_to_mm
number

The factor the coordinates were multiplied by to land in millimetres (the imported B-rep is always in mm)

skipped
string[]
solids
integer

Bodies in the file (every MANIFOLD_SOLID_BREP); one entry each in bodies.

surfaces
tuple[]

(surface kind, count) over every face: PLANE, CYLINDRICAL_SURFACE, CONICAL_SURFACE, SPHERICAL_SURFACE, TOROIDAL_SURFACE.

vertices
integer
viz
object

The FIRST body's face-tagged viz blob reference (viz_blob_id, faces, ...); every body's is in bodies.

volume
number

Total over every body, in cubic millimetres