Skip to main content
POST
Check a part's manufacturability against a process and a shop (the DfM report)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
subject
object
required

Exactly one of: {recipe, units?}, {brep_blob}, {step_blob}, {assembly, options?, request?, plan?, dfa?, mating?, units?} (400 DFM_SUBJECT otherwise).

material
string

The material name (default unspecified; cost reads it).

part
string

The part's name in the measure keys (geom:<part>.dfm.<scope>.<measure>); no ., |, :, braces, * or spaces. Default part.

pmi
object

An ss.pmi/1 set read with the part (dimensions, tolerances, surface finishes).

process
string

The process id: milling_3ax | milling_3plus2 | milling_5ax | turning | turn_mill | drilling | injection_moulding | die_casting | sand_casting | investment_casting | forging | sheet_laser_brake | sheet_punch_brake | fdm | sla | sls | lpbf | mjf | welding | tube_bending.

profile

A seeded shop id (generic_milling, …), an inline shop document, or an ss.dfm.profile/1 {kind, process, material, quantity, shop}. Absent: the seeded shop for process.

project
string

MF17b: the project the part belongs to (a studio project id). A stored report becomes an artifact (kind dfm_report, GET /v1/plm.artifacts?kind=dfm_report) whose row links to the project with the Manufacturability panel open on the report; the answer carries the row as artifact.

quantity
integer

Parts in the lot (default 1).

store
boolean

false skips storing the report (the key is still returned). Default true.

Response

report_key, stored, cached, report (ss.dfm.report/1: kind, subject {part, kind (recipe | brep | step | assembly), key}, process, profile (the profile's key), shop, catalogue (the catalogue's key), findings[] {rule, process, severity (error | warning | advice), entities[] {kind (face | edge | part), index, name?, stable?}, witness[[x,y,z]], measured, limit, limit_hi?, unit, comparator, source, confidence, cost_delta?, fix?, note?}, measures {geom:.dfm..: value (SI)}, summaries {setups?, pull?, flat_pattern?, build?}, pending[] {rule, unit} (rules that apply but are not evaluated yet, with the MF unit that builds them), notes[])