Skip to main content
POST
Validate and store an assembly sequence document

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
assembly
object

The assembly (components with recipes and poses, mates): the engine rebuilds the parts, solves the mates and places every component (metres, centroids as the explode-line points).

components
string[]

The assembly's component ids, when the assembly is not sent.

seat_explode_steps
object

AQ13.b: the SOLIDWORKS explode-step list as scripts/aq_seat_explode.py records it (the seat's own step records, or an authored run with its readback and shank), imported as the document's steps (seat-1, seat-2, …) instead of sequence. A step the seat refused, an unknown kind, a radial step without the shank axis or an empty component list is a typed 400 SEQUENCE_IMPORT.

sequence
object

The ss.assembly.sequence/1 document: {kind, assembly_ref, base[], subassemblies[], steps[], constraints[], provenance}. A step is {id, components[] | subassembly, bodies?, motion, fasteners[], tool?, camera?, callouts[], text?, checks}; motion.kind is translate (direction, distance, reverse, rotate {axis, angle_deg, reverse, about_each_origin, about}, auto_space), rotate (axis, angle_deg, reverse, about_each_origin, about), radial (origin, axis, distance, angle_deg about each component's move direction, diverge_deg tilting the radial direction toward the axis — or toward diverge_toward, the diverge entity's direction (AQ16); on_axis, the direction a component sitting on the axis moves along, the seat's manipulator pick, else a fixed perpendicular), path (waypoints[] of {t, r}) or expand (play the sub-assembly's own steps). Distances in the assembly's unit, angles in degrees, directions in the assembled world frame.

Response

key, blob_uri, kind, steps, flat, movers, base, sequence, components_checked