Skip to main content
POST
Run a motion study (MO8)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
assembly
object
required

Assembly document: components (each a part recipe + pose) and mates -- the same shape the /assembly app saves. A mate reference may carry anchor (the face's stable name) beside face.

study
object
required

The motion study document (ss.motion.study/1): study_type, t_end, frames_per_s, integrator {kind: gstiff | si2_gstiff | generalized_alpha, accuracy, h0, hmin, hmax, max_iterations, jacobian_reeval, h, rho_inf}, gravity, density + materials, elements (motor | force | torque | spring | torsional_spring | bushing | contact | stop), sensors (proximity | interference | dimension | expression), tasks (trigger: time | sensor | task; action: motor_on/off/change, force_on/off/change, mate_suppress/restore, stop), results, keys.

async
boolean

MO15: run the solve as a job (202 with job_id / poll / events); the finished job carries the same outcome as the synchronous path.

compute
object

MO15.b: the fleet placement of an async solve when the gateway has a queue (default the gateway's pool); the runner's motion arm solves the job and registers the artifact.

name
string

The artifact's name.

segments
integer
default:32

Tessellation segments for curved faces (the mass properties and contact hulls come from the same tessellation).

Response

study_key, result_key, result_blob_id, blob_uri, compile, run {frames, report, events, tasks, stopped_at, integrator, stats}, cached