Skip to main content
POST
Compile 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.

segments
integer
default:32

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

study
object

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.

Response

The compile outcome (study_key, report, mate_statuses, bodies, motors, forces, sensors, tasks, refusals, anchors)