Skip to main content
POST
Deterministic assembly render: components posed, merged and coloured per BOM item (C22.9.b)

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.

annotate
boolean
default:false

Draw the view label, axis triad, scale bar and bounding-box extents (C22.9.b).

colors
object

Component id -> linear RGB in [0, 1]; components without one are coloured by BOM item from a fixed eight-colour palette.

columns
integer

Columns of the contact sheet (default 4, or the view count).

explode
number
default:1

J12.c: exploded view — each component pushed radially from the assembly centre by (explode - 1) x its offset; 1 = assembled.

Required range: 1 <= x <= 10
fit
enum<string>
default:view

view: fill the frame with this view's own extents; shared: one scale across every canonical view of the solid, so relative sizes read across a set (C22.9.b).

Available options:
view,
shared
format
enum<string>
default:bmp

Image encoding; both byte-deterministic (C22.9.b).

Available options:
bmp,
png
height
integer
default:512
overlays
object[]

World-space overlays drawn over the shaded solid (C22.9.b).

segments
integer
default:32

Tessellation segments for curved faces (viz/mesh fidelity).

view
enum<string>
default:iso

Camera direction on a right-handed basis: front looks along +Y with Z up, top looks down -Z with +Y up, right looks along -X; back / bottom / left are their opposites; iso views from +X+Y+Z, iso_rear from -X-Y+Z (C22.9.b).

Available options:
front,
back,
top,
bottom,
right,
left,
iso,
iso_rear
views
string[]

Several views tiled into one contact-sheet image (overrides view); at most twelve (C22.9.b).

width
integer
default:512

Response

Rendered image

The response is of type file.