Skip to main content
POST
Every part's pose at a point of a build or explode sequence

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
sequence
object
required

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, diverge_from_axis), 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.

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).

build
boolean
fraction
number

0 ..= 1.

placements
object[]

Each component's assembled placement, when the assembly itself is not sent.

segments
integer

Tessellation segments for the rebuild (8 ..= 128, default 16).

step
integer
time
number

A timeline position (step + fraction) instead of the pair.

Response

time, step, fraction, steps, components[] {id, pose, offset, rotation, moved}, bodies[], key, build