Skip to main content
POST
The part's should-cost on a profile (ss.dfm.cost/1) and its cost curve over quantities

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
subject
object
required

As dfm.check's: exactly one of {recipe, units?}, {brep_blob}, {step_blob}, {assembly, options?, request?, plan?, dfa?, mating?, units?} (400 DFM_SUBJECT otherwise).

material
string

A material the shop's cost section prices (steel 1018, aluminium 6061-t6, abs, zinc zamak 3, ...); aliases accepted.

part
string

The part's name (no ., |, :, braces, * or spaces). Default part.

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.

quantities
integer[]

The curve's quantities (each priced exactly).

Required range: x >= 1
quantity
integer

Parts in the lot (default 1): the estimate's totals are at this quantity.

store
boolean

false skips storing the answer as a blob (the key is still returned). Default true.

Response

cost_key, stored, estimate (ss.dfm.cost/1: kind, part, process, material, quantity, currency, shop, drivers {family, ...}, lines[] {group (material | setup | tooling | machine | labour | post | overhead), item, feature?, basis, time_s?, per_part, per_lot, tooling, tool_life?, source, confidence}, features[], totals {material, processing, setup_per_lot, tooling, overhead, per_part, markup, price, cycle_time_s}, sources {key: {source, confidence}}, overhead_fraction, markup_fraction, confidence, notes[]), curve[] {quantity, per_part, price}