Skip to main content
POST
Per-face thickness, draft and access values for a part (the DfM heat maps)

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} (400 DFM_SUBJECT otherwise). An assembly has no faces of its own and is refused (400 DFM_INVALID).

fields
enum<string>[]

The fields to compute; default all three.

Available options:
thickness,
draft,
access
material
string

The material name (default unspecified).

part
string

The part's name (as dfm.check). Default part.

process
string

The process id (as dfm.check). It picks the machine for access (milling, drilling and turning only) and, for a casting process, the shop's required draft.

profile

A seeded shop id, an inline shop document, or an ss.dfm.profile/1 (as dfm.check). Absent: the seeded shop for process.

pull
number[]

The pull direction for draft; absent: the best pull of the mould analysis's search.

Required array length: 3 elements
quantity
integer

Parts per order (default 1).

Required range: x >= 1
segments
integer

Chords per circle of the returned viz blob (default 48). The face ids do not depend on it.

Required range: 8 <= x <= 128
store
boolean

false skips the blob writes (the keys are still returned; viz.blob_uri is null).

Response

fields_key, stored, cached, fields (ss.dfm.fields/1: kind, subject {part, kind, key}, process, profile, shop, metres_per_unit, faces (the face count), thickness? {unit: mm, faces[] {face, sphere_min, sphere_mean, wall_min?, wall_mean?, samples}, range [lo, hi], min_wall?, nominal_wall?, max_wall?, bound}, draft? {unit: deg, pull, pull_from (search | given), required, required_source, faces[] {face, half (cavity | core | either | straddle | undercut), class? (positive | negative | vertical | straddle), min_draft?, needs_draft, undercut}, min_draft?, parting_edges[], undercuts[] {faces[], class (side_action | lifter | redesign), area_mm2}, draw_depth}, access? {kinematics, faces[] {face, status, coverage, setup?, tool?}, setups[] {direction, faces[], tools[]}, cover (exact | greedy)}, skipped[] {field, why}, notes[]), viz {blob, blob_uri, segments, faces, triangles} (the SSBVIZ2 blob whose per-triangle face ids the values index)