Skip to main content
POST
DX10 -- explore the options: shape variants from a latent space of reference parts, screened by Predict, the best Explored and Refined, the winner an editable recipe

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
geometry
object
required

Exactly one of primitive | csg | mesh_blob | brep_blob | assembly

material
object
required

{e [Pa], nu, rho [kg/m^3], yield [Pa]?, id?} (the surrogate's Poisson ratio)

conditions
object[]

fixed_support faces and exactly one force (the surrogate's inputs); a gravity condition is left out

options
object

{variants 1..=64 per generation (default 16), generations 1..=4 (default 2: each later one resamples around the best confident variants so far, the step halved), top 0..=8 (Explored, default 3), refine 0..=3 (Refined with the part, at most top; default 0), objective stiffness (min max |u| at no more volume; default) | lightweight (min volume at no more max |u| and p99 von Mises) | stress (min p99 von Mises at no more volume), tolerance (the constraints' slack, default 0.02), spread (the latent step, (0, 4], default 1), seed (default 0), min_confidence (default 0.5), explore_fidelity 1..=5 (default 2), element_size (Refine's mesh [m], default 0.003)}; an unknown key refuses

segments
integer
default:32

the tessellation the faces are read on

Response

kind 'preview', preview true, label, stage 'options', shape_model {format, digest, weights, latent, grid, cell, dataset_id, train_cases, spec_hash, measured}, options, objective_note, counts {proposed, screened, refused, duplicates, flagged, eligible, explored, refined}, base {predict {max_displacement, p99_von_mises, volume, confidence}, latent {score, value, knn, recon, fits_grid}, explore, refine}, variants [{id, rank, origin, latent_score, convert {converter, features, iou, iou_neutral, mesh_triangles, condition_map, recipe_digest}, recipe, conditions, predict, objective, feasible, eligible, refused?, duplicate_of?}], explored [{id, explore {kind 'preview', max_displacement, p99_von_mises, ...}, objective, feasible, predict_vs_explore, refine}], winner {id, recipe, conditions, objective_explore, explore, predict, refine, refine_request {route, request}, note} | null, training_candidates [{id, why}], timings_ms, note