Skip to main content
POST
Drawing sheet: recipe to saved cad2d sheet project (C9)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
recipe
object
required

CAD recipe document -- the same {features: [...]} shape POST /v1/cad.rebuild takes.

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.

engine
enum<string>

DR.b9: which engine draws the sheet. drawing (the default) = ss-drawing: the GD&T drawing POST /v1/drawing.make makes (DR2 features, DR3 datums and controls, DR6 check, DR4 views chosen by need), saved under this route's content address with this route's title block and reply keys. legacy = the C9 sheet path (three-view HLR import, exact circles in model units, explicit view surgery). Without engine, a legacy-only field (sections, aux, detail, crop, broken, a sheet outside A0-A4) selects the legacy path and the reply's legacy_reason names it; engine: drawing with such a field refuses typed SHEET_ENGINE.

Available options:
drawing,
legacy
intent
object

DR.b9: the drawing engine's intent (DR3 Intent: dialect, process, hints, overrides) -- the same object POST /v1/drawing.make takes; default ASME Y14.5-2018, machining. Joins the content address. Ignored by the legacy path.

name
string
scale
string

Drawing scale "a:b"; default = largest nice scale that fits.

sections
object[]
segments
integer
default:32
session
boolean

unit thmo: also open the sheet as a DR9 drawing session on the same recipe, intent and sheet — the reply names session, edit_uri (/drawing#session=…) and whether the session's records are the sheet's. Drawing engine only.

sheet
string

Standard sheet name (A4-A0, ANSI A-E); default A3.

Response

The saved sheet

annotations
integer
circles
integer
coincident
integer
degenerate
integer
drawing
string

DR.b9: the ss.drawing/1 document's content key (the key POST /v1/drawing.make returns for the same part).

drawing_blob
string

DR.b9: the blob holding the drawing document's canonical bytes.

engine
string

DR.b9: ss-drawing or legacy -- the engine that drew the sheet.

entities
integer
errors
integer
head
string
hidden
integer
legacy_reason
string

DR.b9: why the legacy path answered (requested, or the legacy-only fields set).

open_uri
string
plot_uri
string
project
string
recipe
string
records
integer

DR.b9: PMI records on the drawing.

scale
string
sections
object[]
sheet
string
skips
integer
views
string[]
warnings
integer