Skip to main content
POST
Assembly drawing sheet: BOM + balloons as a saved cad2d sheet (C19.4.h)

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.

auto_dims
boolean
default:false

J12.b: derive the overall width / height per projected view and a diameter callout per distinct visible circle onto a dim layer before composing (lengths in model units); the derived dims are part of the sheet id. unit thmo: on the drawing engine an explicit false leaves the sheets without their dimension layer; absent keeps the engine's dimensions.

engine
enum<string>

DR.b9: which engine draws the sheet. drawing (the default) = ss-drawing's assembly drawing (DR5 + DR.b3: views, section, exploded view, balloons with zones, the BOM with part numbers, interfaces; BOM continuation sheets saved as <project>-<n>). legacy = the C19 sheet path. Without engine, an explicit scale or a sheet outside A0-A4 selects the legacy path, named by legacy_reason.

Available options:
drawing,
legacy
intent
object

unit thmo: the assembly drawing's intent — DR5's defaults overridden: explode (0 ..= 10; 0 = no exploded view), section (bool), bom_rows_on_sheet_1 (1 ..= 200). Drawing engine only (the legacy path refuses it typed SHEET_ENGINE).

iso
boolean
default:false
materials
object

unit thmo: component id → material text for the BOM. Drawing engine only.

name
string
revisions
object[]

unit thmo: the revision table's rows (a revision triangle at each changed item's balloon). Drawing engine only.

scale
string

Explicit "a:b" or absent for the nice-scale ladder; refused typed if it does not fit.

segments
integer
default:32

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

sequence
object

AQ17: an authored ss.assembly.sequence/1 document (as sequence.plan / sequence.compile answer it) for the exploded view and its explode lines, in place of the drawing's seed explode; its distances are read in its own units (m, mm, cm, in) and drawn in mm; its component ids must be the assembly's (else 400 SEQUENCE_INVALID). The exploded view is drawn whenever a sequence is given.

sheet
string

Sheet size name (e.g. A3, A4); default per the C9 ladder.

title
object

Title-block enrichment (C19.4.g): any subset of the cells.

Response

Saved sheet project record (same shape as POST /v1/cad.sheet): id = content address, name, view/BOM/balloon reports; DR.b9: engine (ss-drawing | legacy), legacy_reason, drawing, drawing_blob, views, sheets, sheet_projects, interfaces