Compute

Solve a values record into a draft design

Changed on

Runs the Knowledge Capsule's .gh on RhinoArtisan Compute with values as its single RH_IN:100:GLOBAL input, uploads the GLB/STL and stores the result as a draft Design (not yet in the catalogue). Returns the design with public URLs, a materials map for the viewer, the resolved values and a price breakdown. Save it with POST /v3/backoffice/design {draft_id}.

post/v3/compute/solve

Request

Request body

capsule_idinteger required

Knowledge Capsule of the caller's organization. Its .gh must be uploaded.

valuesobject required

The record: a flat object keyed by the Knowledge Capsule's schema (dotted names). A nested object is flattened. Validated against KnowledgeCapsule.schema.

mode'rendering' | 'manufacturing'

Example request

{
  "values": {
    "center_stone.main.material": "DIAMOND",
    "center_stone.main.shape": "ROUND",
    "center_stone.main.size_ct": 1
  }
}

Response

Draft design with glb_url/stl_url, tech, parts (the part paths of the piece, as in the GLB extras.part), values_resolved, materials and breakdown

Changes