> ## Documentation Index
> Fetch the complete documentation index at: https://eddy-ac74d702.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Explore preview (DX2 / DX2.b / DX2.c structural, modal and random vibration, DX3 thermal, DX13 electric / electric_thermal / electrostatic, DX4 flow) -- a cut-cell hex8 solve (flow: a D3Q19 lattice-Boltzmann run) on the live voxel field, unverified, outside the result path

> Ansys Discovery's Explore mode, done our way (discovery-track.md DX2 slice 1): the part's kernel B-rep is tessellated with face tags and voxelized (the DX1 field), one hex8 element per voxel whose SDF coverage is at least the floor (0.1), the ONE element stiffness scaled by coverage (cut-cell), nodes at voxel corners. Conditions select B-Rep faces by id and act on the exposed voxel faces nearest their triangles: fixed_support, force (a total spread over the face), pressure (normal, -p h^2 d per quad -- the exact resultant for any orientation), gravity (rho g h^3 cov per voxel), symmetry (zero normal displacement on a planar face, axis-aligned or inclined -- an inclined plane is solved in the projected subspace). DX2.b adds: displacement {face, translation [m, null = free], rotation? [rad], origin?} (prescribed; with a rotation the face moves rigidly, every component prescribed), moment {face, moment [N m]} (zero net force, the exact moment), added_mass {face, mass [kg]} (inertia: it takes gravity, acceleration, velocity and the modal mass), bearing_load {face, total [N]} (a cylindrical face: the radial part on the compressive half by projected area, the axial part uniform), bolt_preload {face, axial_force [N] | adjustment [m] | torque [N m] with k_factor (0.2) and diameter?} (the shank's cylindrical face: an axial eigenstrain in the voxel slab of the section through the face centroid; a force is reached by superposing the unit-adjustment response, one more PCG solve; the response's bolts [...] report each section's force and adjustment), acceleration {a [m/s^2]} (inertial -rho a), velocity {omega [rad/s], origin?} (centrifugal), spring {face, kind longitudinal | torsional, stiffness [N/m | N m/rad], preload?, direction?} (to ground on the face's mean displacement / rotation: a rank-one term), remote_force {face, location, force} (the force at the face centroid plus the offset moment), remote_displacement {face, location, translation, rotation} (rigid, every component). DX2.c adds the remaining supports: sliding_support (alias frictionless_support) {face} (zero normal displacement, tangential free: a plane holds its normal -- an axis bit when axis-aligned, an inclined constraint otherwise -- a cylinder its radial direction per node, any other curved face the normal of the facet nearest each node), hinged_support {face} (a cylindrical face: radial and axial held, free to turn about its fitted axis), cylindrical_support {face, radial?, axial?, tangential?} (each direction held unless false), ball_support {face} (the face tied rigidly to its voxel nodes' centroid -- a rigid multi-point constraint whose orthogonal projector, reduced by the supports that share its nodes, keeps PCG on a symmetric positive definite operator -- the centroid held, the rotations free; reactions[].moment reports the moment about the ball point). Without a fixed support (or a fully prescribed displacement) the supports must together hold every rigid-body motion: a Gram check of the six rigid modes against the projector and the springs names any motion left free. An assembly geometry (geometry.assembly: primitives placed) is bonded multi-material: touching parts share voxels with a coverage-weighted Lame mix, `materials` {part id: material} gives each part its own (the rest take `material`), all_faces names each face's body and the response lists the bodies; a part with contact refuses (sliding contact is not in Explore). Isotropic linear elastic, small strain. Solver: matrix-free PCG with a geometric multigrid V-cycle over the voxel grid (or the Jacobi diagonal: `preconditioner`), node-centric (no atomics), f64 on the CPU (byte-deterministic referee) or fp32 WGSL on the GPU with the V-cycle device-resident and f64 iterative refinement (engine 'gpu'; typed PREVIEW_GPU_UNAVAILABLE without an adapter, never a silent CPU fallback; a solve that hits the iteration cap answers converged: false, never hidden); a `session` token warm starts the re-solve from the previous displacement (an in-memory bounded LRU -- nothing reaches the store) and, on the gpu arm, keeps the token's device session (DX5: the multigrid hierarchy and buffers stay on the gateway's device between calls, reused while the grid is unchanged, only changed level data re-sent, evicted LRU by count and device bytes and released on eviction; reported in solver.gpu_session); fixed iteration cap plus relative-residual tolerance, both reported. Outputs: max displacement, max and 99th-percentile von Mises (voxel stair-steps make the max noisy -- read p99), their locations, each used face's mean_displacement (the mean over its voxel nodes), reactions per support with the force balance, factor of safety when the material has a yield, iterations / residual / timings, optional base64 displacement + von Mises buffers (<= 2^19 voxels) and the face list (include_faces). Refusals: physics other than structural, modal, random_vibration or thermal (PREVIEW_EXPLORE_PHYSICS -> DX4 flow, DX13 em), a psd condition outside physics random_vibration (PREVIEW_EXPLORE_CONDITION), supports that leave a rigid-body motion free (INVALID_PREVIEW naming it), a condition the voxel model cannot carry soundly (PREVIEW_EXPLORE_CONDITION naming why: a non-cylindrical bearing, bolt, hinged or cylindrical face, a bore picked for a bolt, a shank under three voxels across, a rotation or remote displacement with a free component, an inclined constraint or a ball support on a displaced node, two ball supports sharing nodes), assembly parts with contact (PREVIEW_EXPLORE_CONTACT), overlapping bodies or a body with no support, conflicting prescriptions at shared nodes, unknown or unresolved face ids, grids past the WebGPU buffer cap (PREVIEW_CAP); engine 'gpu' carries every DX2.b / DX2.c operator (multi-material, non-zero prescribed displacements, inclined constraints -- inclined or curved sliding faces and hinged / cylindrical supports among them -- springs, bolts, ball supports' rigid ties; DX GPU waves 3-4) and answers the CPU's solution to the tolerance. DX2.b (physics 'modal'): the first `modes` (1..=20, default 6) natural frequencies and mass-normalised mode shapes of the same voxel model and supports -- lumped mass plus added mass, LOBPCG with the multigrid V-cycle as the preconditioner, f64 CPU, deterministic; `prestress: true` adds the geometric stiffness of the static solve of the same conditions (tension stiffens, compression softens; a base state past buckling refuses), and without it the loads are named in loads_ignored. engine 'gpu' runs LOBPCG's operator products and V-cycle preconditioner on the device (the Rayleigh-Ritz stays f64 on the CPU; DX GPU wave 4), and so random_vibration and the pre-stress solve; a session does not warm start modal (session_note). DX2.c (physics 'random_vibration'): the modes of the same supports plus psd conditions {type psd, direction [x, y, z], table [[f Hz, G], ...], unit? '(m/s^2)^2/Hz' (default) | 'g^2/Hz', damping? (0.02, one ratio for every input)} -- base acceleration PSDs, log-log interpolated and zero outside the table; the modal covariance C_jk = Gamma_j Gamma_k int G Re(H_j conj H_k) df by the trapezoid on a grid of 16 points per half-power width (the table rows and modal frequencies on it); several inputs add variances (uncorrelated); per node and axis the 1-sigma displacement relative to the base, sqrt(phi^T C phi) with the cross terms kept (the frequency-domain CQC), and per voxel Segalman's 1-sigma von Mises sqrt(E[sigma_vm^2]) from the stress-component covariance. The response adds random_vibration {damping, combination, inputs [{condition, direction, unit, band, input_rms, input_rms_g, grid_points, mass_fraction}], modal_rms, results {displacement_1sigma_max, displacement_1sigma_max_at, max_1sigma_displacement(_at), max_von_mises_1sigma(_at), p99_von_mises_1sigma, levels [{sigma 1 | 2 | 3, probability, max_displacement, max_von_mises, p99_von_mises, fos_p99?}], note}} and buffers element_index_b64, displacement_1sigma_b64, von_mises_1sigma_b64. Gated: a spring-mass cube against Miles' equation (-0.01 %), a cantilever against /v1/solve.random_vibration on the same hex8 grid. DX3 (physics 'thermal'): steady heat conduction on the same voxel field and face mapping -- the scalar trilinear hex8 scaled by coverage, conditions by B-Rep face id: temperature {face, t [K]} (fixed, Dirichlet), convection {face, h [W/(m^2 K)], t_ext [K]} (a lumped Robin term on the face's voxel quads), heat {face, total [W]} | {face, per_area [W/m^2]} | {per_volume [W/m^3]} (the body) | {total [W]} without a face (the body, by volume), insulated {face} (the natural condition); per-area quantities weigh each face's quads so the face's total area is exact. At least one temperature or convection. Material: {k [W/(m K)]}. Solver: matrix-free PCG with a scalar geometric multigrid (an exact coarsest solve), f64 on the CPU, byte-deterministic; default tolerance 1e-6. Outputs: max / min / 99th-percentile temperature with locations, max and p99 heat flux |k grad T| per voxel, heat_flows [{condition, face?, kind, heat_out [W], nodes}] and heat_balance {heat_in, convected_out, fixed_out, imbalance, residual} (closes to the solver tolerance), optional temperature + heat-flux buffers. engine 'gpu' runs the scalar multigrid on the device (the DX3 GPU arm: a device-resident scalar V-cycle whose coarsest level is solved by its dense inverse, double-single Krylov recurrences, the f64 verdict and refinement on the CPU; PREVIEW_GPU_UNAVAILABLE without an adapter); a session token warm starts thermal from the previous temperature as it does structural. Thermal refusals: structural or other conditions (PREVIEW_EXPLORE_CONDITION -> DX3.b radiation / contact / transient, DX4 CHT), no conductivity, no temperature or convection. DX13 (physics 'electric' | 'electric_thermal' | 'electrostatic'): steady conduction div(sigma grad V) = 0 and electrostatics div(eps grad V) = 0 as DX3's scalar system with sigma (or epsilon_r) for k -- the same multigrid, CPU or GPU arm and session warm start; conditions voltage {face, v [V]} (a terminal; at least one, the ground), current {face, total [A] | per_area [A/m^2]} (into the face; electric), charge {face, total [C] | per_area [C/m^2]} (electrostatic), insulated {face}; electric_thermal adds DX3's temperature / convection / heat and puts the electric solve's exact element power (P_e / 8 per corner) into the thermal solve as the Joule heat, one-way, or with material.sigma_table [[T, sigma], ...] a Picard fixed point (sigma per element at its mean corner temperature) to 1e-6 of the temperature range (PREVIEW_EXPLORE_UNSUPPORTED after 30 passes). A voltage face on a cut cell is corrected (the terminal element's coverage scaled by 1/c^2, exact in 1D); default tolerance 1e-7. em_region {padding [m]} (electrostatic only): the solve domain is a box padding beyond the part minus the part (the part's faces the conductors' terminals; an assembly of primitives is taken, each part a conductor; em_region.faces names the six wall ids). Material: sigma [S/m] (alias electrical_conductivity), sigma_table, epsilon_r (alias permittivity), k for electric_thermal. Outputs: results {max / min potential and their locations, max and p99 |E|, |J| and the Joule heat (electric) or |D| and the energy (electrostatic), joule_power, resistance (two voltage levels: dV / I; one level fed by currents: P / I^2) or capacitance (|Q| / dV), two_terminal}, terminals [{condition, kind, face, voltage (face mean), flow_out}], balance {quantity current | charge, loads_in, terminals_out, imbalance, residual}, thermal {solver, results, heat_flows (a joule row), heat_balance, coupling {mode one_way | sigma_of_t, passes, change, tolerance, joule_power}} for electric_thermal, em_region, buffers potential / e_field / current_density + joule_heat or flux_density + energy_density / temperature. EM refusals: no or invalid sigma / epsilon_r / table, a condition of the other physics or a thermal one outside electric_thermal, ports and other high-frequency conditions (PREVIEW_EXPLORE_CONDITION -> DX13.b), no ground, an assembly outside an electrostatic em_region (PREVIEW_EXPLORE_MULTIBODY). DX1.b field controls (cells_across_gap, fidelity_rule, local_fidelity, coverage, sharp_edges) work as on /v1/preview.field and shape the grid the solve runs on. V-tier doctrine: a preview, not a result -- no result key, nothing persisted, labelled 'preview -- not verified'. The CPU path is byte-deterministic in every field except timings_ms (wall clock) and adapter; the GPU path is fp32 and gated against the CPU, not deterministic. DX4 (physics flow): a D3Q19 lattice-Boltzmann preview on the same field -- regularized BGK with a Smagorinsky LES closure (Van Driest damped), interpolated bounce-back walls; material {rho, mu} or {id: water | air}; conditions by B-Rep face id (external flow: by side x_min..z_max): inlet {speed | mass_flow | pressure}, outlet {pressure (default 0) | speed | mass_flow}, wall {velocity?}, slip_wall, symmetry; flow {domain: internal | external, box?, turbulence: auto | laminar | smagorinsky (sst and geko refuse typed), smagorinsky_cs?, collision?, walls?, u_lattice?, max_steps?, window?, streamlines?}; run to a windowed steady state (an LES: its long-time mean); answers velocity and pressure (buffers), the pressure drop, wall forces per face (drag, lift), the mass balance, streamlines, the units and the window history. Refused typed: Mach above 0.3, a laminar flow the grid cannot hold (PREVIEW_FLOW_UNSUPPORTED), a blow-up (PREVIEW_FLOW_DIVERGED), conditions outside the slice (PREVIEW_EXPLORE_CONDITION).



## OpenAPI

````yaml openapi.json POST /v1/preview.explore
openapi: 3.1.0
info:
  description: >-
    Deterministic, content-addressed geometry + structural-FEA engine. Every
    result carries provenance (model hash, pinned solver build, params, runtime
    profile) and is reproducible byte-for-byte from its report. Identical inputs
    return the same result_key with the second call served from cache.


    Authentication: when the deployment sets SS_REQUIRE_AUTH=1, pass an API key
    in the `x-api-key` header (create keys via the admin endpoints or the
    /console app). Admin endpoints require `x-admin-token` when SS_ADMIN_TOKEN
    is set.


    Rate limits: a key may carry a request-rate limit (`limits` on its record:
    requests a minute and a burst, set by an admin at mint or through `POST
    /admin/keys/{key_hash}/limits`), and a deployment may set one for every key
    without its own (SS_KEY_RATE_DEFAULT; unset = unlimited). Past it, any `/v1`
    or `/admin` call by that key is 429 `RATE_LIMITED` with `retry-after`
    (seconds) and `x-ratelimit-limit` / `x-ratelimit-remaining` /
    `x-ratelimit-reset`; an allowed call by a limited key carries the
    `x-ratelimit-*` headers too. The limit holds per gateway replica. Other 429s
    (RESOURCE_LIMIT, SESSION_LIMIT, size caps) are not transient and carry no
    `retry-after`; the SDKs retry a 429 only when it does.


    Errors are always typed: `{"error": {"code": "INVALID_GEOMETRY" |
    "MESH_FAILED" | "SOLVE_DIVERGED" | "RESOURCE_LIMIT" | "UNKNOWN_SOLVER" |
    "UNAUTHORIZED" | "NOT_FOUND" | ..., "message": "..."}}`.
  title: Eddy API
  version: 0.1.0
servers:
  - description: the hosted engine (Sydney)
    url: https://api.eddy.engineer
  - description: a local engine (cargo run -p ss-api)
    url: http://127.0.0.1:8080
security: []
tags:
  - description: 'Eddy IAM: API keys and usage metering'
    name: admin
  - description: Health and documentation
    name: meta
  - description: >-
      Eddy PLM (L track): Teamcenter-class PLM - item masters and revisions,
      EBOMs, ECR/ECO change control with hash-chained signoffs, effectivity +
      configurations, the vault, AP242 structure interchange, the digital-thread
      certificate
    name: plm
  - description: >-
      Eddy Parts, the 3D CAD application on the native kernel: recipes, edits,
      sketches, features, sections, drawings, export.
    name: cad
  - description: 'Eddy Assemblies: assemblies and mates.'
    name: asm
  - description: 'The engine: geometry -> mesh -> FEA -> result'
    name: solve
  - description: >-
      Eddy BIM, on the BIMCraft engine (BC track): projects as content-addressed
      documents with their history, every edit a command run server-side, views,
      schedules and sheets drawn by the engine, IFC and DXF in and out, .rvt in
      behind the rvt feature, measures for the verification matrix.
    name: bim
  - description: 'Eddy Verify and Eddy B3: reports, verification, runs, blobs'
    name: provenance
  - description: >-
      Eddy Bridge (IG20): fixed kinds of job run on the customer's own vendor
      seat under the customer's licence, results back as labelled external
      results
    name: bridge
  - description: CAM.
    name: cam
  - description: Eddy Flow, the CFD application (/cfd).
    name: cfd
  - description: Circuit simulation (MNA).
    name: circuit
  - description: >-
      Eddy Surrogates: corpora, datasets, sweeps and training runs over solver
      traces.
    name: training
  - description: >-
      Eddy ProcessSim (/multisim, A track): multi-method simulation - discrete
      events, agents and stocks-and-flows on one calendar - the AnyLogic-class
      engine.
    name: multisim
  - description: >-
      Eddy Requirements (Q track): DOORS-class requirements platform - modules,
      typed traceability links, baselines, the live verification matrix, the
      authoring recorder, ReqIF interchange
    name: req
  - description: 'Eddy Redline: markup and review.'
    name: review
  - description: 'Eddy Datasets: the data plane.'
    name: data
  - description: >-
      The generative design loop's perception (J12): the design packet — every
      picture an agent needs to see a recipe or assembly, content-addressed.
    name: design
  - description: >-
      Eddy Manufacturability (MF track): a part, an assembly or an imported STEP
      body checked against a process and the shop that will make it — findings
      on the faces and parts they are about, every limit cited with its
      confidence, the rule catalogue and the seeded shop profiles.
    name: dfm
  - description: >-
      Eddy Earthing (EG track): soil surveys and layered soil fitting, the IEEE
      80 hand method, our own boundary-element solver in uniform and layered
      soil, safety (touch and step) against cited criteria, the fault current
      split, risk-based criteria, transferred potentials and hazard zones, large
      farm grids, field test plans and calibration, grid generation, reports and
      sheets - refereed by SimPEG, pyGIMLi, groundinsight and FEA; paid values
      only from adopted value tables
    name: earthing
  - description: 'Eddy Circuits: schematics, boards, the E-track projects.'
    name: eda
  - description: Eddy Fields, the electromagnetics application (/em).
    name: em
  - description: 'Eddy QuickFlow: instant previews.'
    name: preview
  - description: 'Eddy Structures, the FEA application (/fea): studies, meshing, results.'
    name: fea
  - description: >-
      Eddy Kernel, the native B-rep kernel's services: healing, clearance,
      signed distance, STEP import. The kernel's booleans, sketches, features
      and meshers are reached through the cad tag; its ledger is the K track
      (/docs/tracks/k-track), its page /docs/solvers/ss-geometry.
    name: geometry
  - description: >-
      Eddy Generation Plants (GP track): solar, wind and battery plants on
      terrain - the site's buildable area, weather documents (ERA5, NASA POWER,
      EPW, customer files, our TMY), PV yield with rows, trackers and bifacial,
      row packing with piles and blocks edited by commands, wind yield and
      wakes, noise, shadow flicker, visual impact, micro-siting, BESS sizing,
      duty and layout, the MV collector as a power network, access roads and
      civil quantities, P50 / P90 and the yield report - refereed against pvlib,
      PySAM, solarfactors, PyWake, FLORIS and windpowerlib; paid values only
      from adopted value tables; design and screening, never bankable
    name: gp
  - description: >-
      Eddy Product Graph, on ParamDB (PX track): materials and suppliers as
      documents; one dependency graph per product across every document kind —
      BOM lines and items, materials, supplier offers, studies in any solver
      domain, requirement checks — with impact before work, propagation that
      evaluates exactly the frontier, and the derivative layer (rank, tolerance)
      composed over the graph.
    name: graph
  - description: >-
      Eddy Optics (/optics, OP track): lens files, the glass catalogs, the
      vocabulary.
    name: optics
  - description: >-
      The physical-AI interchange (IX track): UsdPhysics / MJCF / URDF in, the
      USD sublayer and MJCF out, calibration of the training engines' parameters
      from the truth, the audit of their rollouts, the foreign-audit corpus
      family.
    name: interop
  - description: >-
      Eddy Knowledge: the curated engineering reference library — standards
      notes, design guides, material data and house rules that staff maintain —
      searched lexically by models and people; live bases only.
    name: knowledge
  - description: >-
      Eddy Math (X track): the MATLAB-style numeric workbench - a stated
      MATLAB-language subset evaluated as a pure function over content-addressed
      workspaces, Octave-refereed
    name: lab
  - description: >-
      Eddy AI Gateway: the Anthropic Messages shape forwarded to the
      deployment's TrueFoundry gateway (Claude on Google Cloud), the caller
      tagged, the model allowlisted per role, the tokens metered.
    name: llm
  - description: >-
      Collaboration (CO16–CO18): the project event stream, presence (who is here
      and which view — nothing finer), comment threads with anchors and
      mentions, and notifications.
    name: collab
  - description: >-
      Eddy IAM - organisations and teams (CO3): the tenancy unit projects, live
      sessions, comments, notifications and activity are scoped by. Invites by
      email bind on first sign-in.
    name: orgs
  - description: >-
      Eddy Motion (MO track): the study document on an assembly's mates, the
      multibody solve, result series, traces, interference over time, loads for
      an FEA study, mate references by stable face name.
    name: motion
  - description: >-
      Eddy ParamDB, the parametric database: the store's management surface
      (status, refs, log, objects, GC, flush, init) behind the console's ParamDB
      service.
    name: pdb
  - description: >-
      Eddy Power Systems (PW track): the network document and device libraries,
      load flow, short circuit, protection and time-current curves,
      coordination, arc flash, sizing, motor starting and harmonics - our own
      solvers, refereed by pandapower and OpenDSS; paid values only from adopted
      value tables
    name: power
  - description: Saved app documents (the console's project library)
    name: projects
  - description: >-
      Eddy Live - live co-editing (CO13): one chain per project on ParamDB,
      every edit a micro-commit with a CAS; the loser of a race gets a typed
      conflict and catches up. Zero per-app code: any registered family's
      vocabulary, or JSON Patch.
    name: live
  - description: >-
      Variants (CO13b): explore your own design or simulation options on a
      private branch forked at zero copy, share it, compare it as a node diff
      with results, and merge it back as one whole state (a two-parent commit)
      when you want.
    name: variants
  - description: Result post-processing.
    name: results
  - description: >-
      Eddy Maps, the spatial engine (/spatial, SP track): frames, terrain,
      volumes and paths — and the S-track spatial aggregates over result fields.
    name: spatial
  - description: >-
      Eddy Build Guides (AQ track, /instructions): the assembly sequence
      document (explode steps, the build as its reverse), the planner with its
      path / stability / tool-access checks and the fast check of a given order,
      the animation with its auto camera, the render (AV1 / GIF / APNG / glTF /
      USD) and the step sheets, public share links, service procedures, DFA
      scoring and the precedence graph.
    name: sequence
  - description: 'Eddy Sim2Real: rigid-body simulation and rollouts.'
    name: sim
  - description: 'Eddy 1D: system simulation, Modelica-style networks and signal flow.'
    name: system
paths:
  /v1/preview.explore:
    post:
      tags:
        - preview
      summary: >-
        Explore preview (DX2 / DX2.b / DX2.c structural, modal and random
        vibration, DX3 thermal, DX13 electric / electric_thermal /
        electrostatic, DX4 flow) -- a cut-cell hex8 solve (flow: a D3Q19
        lattice-Boltzmann run) on the live voxel field, unverified, outside the
        result path
      description: >-
        Ansys Discovery's Explore mode, done our way (discovery-track.md DX2
        slice 1): the part's kernel B-rep is tessellated with face tags and
        voxelized (the DX1 field), one hex8 element per voxel whose SDF coverage
        is at least the floor (0.1), the ONE element stiffness scaled by
        coverage (cut-cell), nodes at voxel corners. Conditions select B-Rep
        faces by id and act on the exposed voxel faces nearest their triangles:
        fixed_support, force (a total spread over the face), pressure (normal,
        -p h^2 d per quad -- the exact resultant for any orientation), gravity
        (rho g h^3 cov per voxel), symmetry (zero normal displacement on a
        planar face, axis-aligned or inclined -- an inclined plane is solved in
        the projected subspace). DX2.b adds: displacement {face, translation [m,
        null = free], rotation? [rad], origin?} (prescribed; with a rotation the
        face moves rigidly, every component prescribed), moment {face, moment [N
        m]} (zero net force, the exact moment), added_mass {face, mass [kg]}
        (inertia: it takes gravity, acceleration, velocity and the modal mass),
        bearing_load {face, total [N]} (a cylindrical face: the radial part on
        the compressive half by projected area, the axial part uniform),
        bolt_preload {face, axial_force [N] | adjustment [m] | torque [N m] with
        k_factor (0.2) and diameter?} (the shank's cylindrical face: an axial
        eigenstrain in the voxel slab of the section through the face centroid;
        a force is reached by superposing the unit-adjustment response, one more
        PCG solve; the response's bolts [...] report each section's force and
        adjustment), acceleration {a [m/s^2]} (inertial -rho a), velocity {omega
        [rad/s], origin?} (centrifugal), spring {face, kind longitudinal |
        torsional, stiffness [N/m | N m/rad], preload?, direction?} (to ground
        on the face's mean displacement / rotation: a rank-one term),
        remote_force {face, location, force} (the force at the face centroid
        plus the offset moment), remote_displacement {face, location,
        translation, rotation} (rigid, every component). DX2.c adds the
        remaining supports: sliding_support (alias frictionless_support) {face}
        (zero normal displacement, tangential free: a plane holds its normal --
        an axis bit when axis-aligned, an inclined constraint otherwise -- a
        cylinder its radial direction per node, any other curved face the normal
        of the facet nearest each node), hinged_support {face} (a cylindrical
        face: radial and axial held, free to turn about its fitted axis),
        cylindrical_support {face, radial?, axial?, tangential?} (each direction
        held unless false), ball_support {face} (the face tied rigidly to its
        voxel nodes' centroid -- a rigid multi-point constraint whose orthogonal
        projector, reduced by the supports that share its nodes, keeps PCG on a
        symmetric positive definite operator -- the centroid held, the rotations
        free; reactions[].moment reports the moment about the ball point).
        Without a fixed support (or a fully prescribed displacement) the
        supports must together hold every rigid-body motion: a Gram check of the
        six rigid modes against the projector and the springs names any motion
        left free. An assembly geometry (geometry.assembly: primitives placed)
        is bonded multi-material: touching parts share voxels with a
        coverage-weighted Lame mix, `materials` {part id: material} gives each
        part its own (the rest take `material`), all_faces names each face's
        body and the response lists the bodies; a part with contact refuses
        (sliding contact is not in Explore). Isotropic linear elastic, small
        strain. Solver: matrix-free PCG with a geometric multigrid V-cycle over
        the voxel grid (or the Jacobi diagonal: `preconditioner`), node-centric
        (no atomics), f64 on the CPU (byte-deterministic referee) or fp32 WGSL
        on the GPU with the V-cycle device-resident and f64 iterative refinement
        (engine 'gpu'; typed PREVIEW_GPU_UNAVAILABLE without an adapter, never a
        silent CPU fallback; a solve that hits the iteration cap answers
        converged: false, never hidden); a `session` token warm starts the
        re-solve from the previous displacement (an in-memory bounded LRU --
        nothing reaches the store) and, on the gpu arm, keeps the token's device
        session (DX5: the multigrid hierarchy and buffers stay on the gateway's
        device between calls, reused while the grid is unchanged, only changed
        level data re-sent, evicted LRU by count and device bytes and released
        on eviction; reported in solver.gpu_session); fixed iteration cap plus
        relative-residual tolerance, both reported. Outputs: max displacement,
        max and 99th-percentile von Mises (voxel stair-steps make the max noisy
        -- read p99), their locations, each used face's mean_displacement (the
        mean over its voxel nodes), reactions per support with the force
        balance, factor of safety when the material has a yield, iterations /
        residual / timings, optional base64 displacement + von Mises buffers (<=
        2^19 voxels) and the face list (include_faces). Refusals: physics other
        than structural, modal, random_vibration or thermal
        (PREVIEW_EXPLORE_PHYSICS -> DX4 flow, DX13 em), a psd condition outside
        physics random_vibration (PREVIEW_EXPLORE_CONDITION), supports that
        leave a rigid-body motion free (INVALID_PREVIEW naming it), a condition
        the voxel model cannot carry soundly (PREVIEW_EXPLORE_CONDITION naming
        why: a non-cylindrical bearing, bolt, hinged or cylindrical face, a bore
        picked for a bolt, a shank under three voxels across, a rotation or
        remote displacement with a free component, an inclined constraint or a
        ball support on a displaced node, two ball supports sharing nodes),
        assembly parts with contact (PREVIEW_EXPLORE_CONTACT), overlapping
        bodies or a body with no support, conflicting prescriptions at shared
        nodes, unknown or unresolved face ids, grids past the WebGPU buffer cap
        (PREVIEW_CAP); engine 'gpu' carries every DX2.b / DX2.c operator
        (multi-material, non-zero prescribed displacements, inclined constraints
        -- inclined or curved sliding faces and hinged / cylindrical supports
        among them -- springs, bolts, ball supports' rigid ties; DX GPU waves
        3-4) and answers the CPU's solution to the tolerance. DX2.b (physics
        'modal'): the first `modes` (1..=20, default 6) natural frequencies and
        mass-normalised mode shapes of the same voxel model and supports --
        lumped mass plus added mass, LOBPCG with the multigrid V-cycle as the
        preconditioner, f64 CPU, deterministic; `prestress: true` adds the
        geometric stiffness of the static solve of the same conditions (tension
        stiffens, compression softens; a base state past buckling refuses), and
        without it the loads are named in loads_ignored. engine 'gpu' runs
        LOBPCG's operator products and V-cycle preconditioner on the device (the
        Rayleigh-Ritz stays f64 on the CPU; DX GPU wave 4), and so
        random_vibration and the pre-stress solve; a session does not warm start
        modal (session_note). DX2.c (physics 'random_vibration'): the modes of
        the same supports plus psd conditions {type psd, direction [x, y, z],
        table [[f Hz, G], ...], unit? '(m/s^2)^2/Hz' (default) | 'g^2/Hz',
        damping? (0.02, one ratio for every input)} -- base acceleration PSDs,
        log-log interpolated and zero outside the table; the modal covariance
        C_jk = Gamma_j Gamma_k int G Re(H_j conj H_k) df by the trapezoid on a
        grid of 16 points per half-power width (the table rows and modal
        frequencies on it); several inputs add variances (uncorrelated); per
        node and axis the 1-sigma displacement relative to the base, sqrt(phi^T
        C phi) with the cross terms kept (the frequency-domain CQC), and per
        voxel Segalman's 1-sigma von Mises sqrt(E[sigma_vm^2]) from the
        stress-component covariance. The response adds random_vibration
        {damping, combination, inputs [{condition, direction, unit, band,
        input_rms, input_rms_g, grid_points, mass_fraction}], modal_rms, results
        {displacement_1sigma_max, displacement_1sigma_max_at,
        max_1sigma_displacement(_at), max_von_mises_1sigma(_at),
        p99_von_mises_1sigma, levels [{sigma 1 | 2 | 3, probability,
        max_displacement, max_von_mises, p99_von_mises, fos_p99?}], note}} and
        buffers element_index_b64, displacement_1sigma_b64,
        von_mises_1sigma_b64. Gated: a spring-mass cube against Miles' equation
        (-0.01 %), a cantilever against /v1/solve.random_vibration on the same
        hex8 grid. DX3 (physics 'thermal'): steady heat conduction on the same
        voxel field and face mapping -- the scalar trilinear hex8 scaled by
        coverage, conditions by B-Rep face id: temperature {face, t [K]} (fixed,
        Dirichlet), convection {face, h [W/(m^2 K)], t_ext [K]} (a lumped Robin
        term on the face's voxel quads), heat {face, total [W]} | {face,
        per_area [W/m^2]} | {per_volume [W/m^3]} (the body) | {total [W]}
        without a face (the body, by volume), insulated {face} (the natural
        condition); per-area quantities weigh each face's quads so the face's
        total area is exact. At least one temperature or convection. Material:
        {k [W/(m K)]}. Solver: matrix-free PCG with a scalar geometric multigrid
        (an exact coarsest solve), f64 on the CPU, byte-deterministic; default
        tolerance 1e-6. Outputs: max / min / 99th-percentile temperature with
        locations, max and p99 heat flux |k grad T| per voxel, heat_flows
        [{condition, face?, kind, heat_out [W], nodes}] and heat_balance
        {heat_in, convected_out, fixed_out, imbalance, residual} (closes to the
        solver tolerance), optional temperature + heat-flux buffers. engine
        'gpu' runs the scalar multigrid on the device (the DX3 GPU arm: a
        device-resident scalar V-cycle whose coarsest level is solved by its
        dense inverse, double-single Krylov recurrences, the f64 verdict and
        refinement on the CPU; PREVIEW_GPU_UNAVAILABLE without an adapter); a
        session token warm starts thermal from the previous temperature as it
        does structural. Thermal refusals: structural or other conditions
        (PREVIEW_EXPLORE_CONDITION -> DX3.b radiation / contact / transient, DX4
        CHT), no conductivity, no temperature or convection. DX13 (physics
        'electric' | 'electric_thermal' | 'electrostatic'): steady conduction
        div(sigma grad V) = 0 and electrostatics div(eps grad V) = 0 as DX3's
        scalar system with sigma (or epsilon_r) for k -- the same multigrid, CPU
        or GPU arm and session warm start; conditions voltage {face, v [V]} (a
        terminal; at least one, the ground), current {face, total [A] | per_area
        [A/m^2]} (into the face; electric), charge {face, total [C] | per_area
        [C/m^2]} (electrostatic), insulated {face}; electric_thermal adds DX3's
        temperature / convection / heat and puts the electric solve's exact
        element power (P_e / 8 per corner) into the thermal solve as the Joule
        heat, one-way, or with material.sigma_table [[T, sigma], ...] a Picard
        fixed point (sigma per element at its mean corner temperature) to 1e-6
        of the temperature range (PREVIEW_EXPLORE_UNSUPPORTED after 30 passes).
        A voltage face on a cut cell is corrected (the terminal element's
        coverage scaled by 1/c^2, exact in 1D); default tolerance 1e-7.
        em_region {padding [m]} (electrostatic only): the solve domain is a box
        padding beyond the part minus the part (the part's faces the conductors'
        terminals; an assembly of primitives is taken, each part a conductor;
        em_region.faces names the six wall ids). Material: sigma [S/m] (alias
        electrical_conductivity), sigma_table, epsilon_r (alias permittivity), k
        for electric_thermal. Outputs: results {max / min potential and their
        locations, max and p99 |E|, |J| and the Joule heat (electric) or |D| and
        the energy (electrostatic), joule_power, resistance (two voltage levels:
        dV / I; one level fed by currents: P / I^2) or capacitance (|Q| / dV),
        two_terminal}, terminals [{condition, kind, face, voltage (face mean),
        flow_out}], balance {quantity current | charge, loads_in, terminals_out,
        imbalance, residual}, thermal {solver, results, heat_flows (a joule
        row), heat_balance, coupling {mode one_way | sigma_of_t, passes, change,
        tolerance, joule_power}} for electric_thermal, em_region, buffers
        potential / e_field / current_density + joule_heat or flux_density +
        energy_density / temperature. EM refusals: no or invalid sigma /
        epsilon_r / table, a condition of the other physics or a thermal one
        outside electric_thermal, ports and other high-frequency conditions
        (PREVIEW_EXPLORE_CONDITION -> DX13.b), no ground, an assembly outside an
        electrostatic em_region (PREVIEW_EXPLORE_MULTIBODY). DX1.b field
        controls (cells_across_gap, fidelity_rule, local_fidelity, coverage,
        sharp_edges) work as on /v1/preview.field and shape the grid the solve
        runs on. V-tier doctrine: a preview, not a result -- no result key,
        nothing persisted, labelled 'preview -- not verified'. The CPU path is
        byte-deterministic in every field except timings_ms (wall clock) and
        adapter; the GPU path is fp32 and gated against the CPU, not
        deterministic. DX4 (physics flow): a D3Q19 lattice-Boltzmann preview on
        the same field -- regularized BGK with a Smagorinsky LES closure (Van
        Driest damped), interpolated bounce-back walls; material {rho, mu} or
        {id: water | air}; conditions by B-Rep face id (external flow: by side
        x_min..z_max): inlet {speed | mass_flow | pressure}, outlet {pressure
        (default 0) | speed | mass_flow}, wall {velocity?}, slip_wall, symmetry;
        flow {domain: internal | external, box?, turbulence: auto | laminar |
        smagorinsky (sst and geko refuse typed), smagorinsky_cs?, collision?,
        walls?, u_lattice?, max_steps?, window?, streamlines?}; run to a
        windowed steady state (an LES: its long-time mean); answers velocity and
        pressure (buffers), the pressure drop, wall forces per face (drag,
        lift), the mass balance, streamlines, the units and the window history.
        Refused typed: Mach above 0.3, a laminar flow the grid cannot hold
        (PREVIEW_FLOW_UNSUPPORTED), a blow-up (PREVIEW_FLOW_DIVERGED),
        conditions outside the slice (PREVIEW_EXPLORE_CONDITION).
      operationId: previewExplore
      requestBody:
        content:
          application/json:
            schema:
              properties:
                cells_across_gap:
                  default: 2
                  description: >-
                    DX1.b cells-across-gap rule, 1..=64: a wall or gap with
                    fewer voxels across is a thin feature (measured by ray from
                    each triangle's centroid); with fidelity_rule
                    'cells_across_gap' it also drives the voxel size
                  type: number
                conditions:
                  description: >-
                    structural (DX2 slice 1), by B-Rep face id: {type:
                    fixed_support, face} | {type: force, face, total: [fx, fy,
                    fz]} | {type: pressure, face, pressure} | {type: gravity, g:
                    [gx, gy, gz]} | {type: symmetry, face}; DX2.b: {type:
                    displacement, face, translation: [ux|null, uy|null,
                    uz|null], rotation?, origin?} | {type: moment, face, moment}
                    | {type: added_mass, face, mass} | {type: bearing_load,
                    face, total} | {type: bolt_preload, face, axial_force |
                    adjustment | torque, k_factor?, diameter?} | {type:
                    acceleration, a} | {type: velocity, omega, origin?} | {type:
                    spring, face, kind, stiffness, preload?, direction?} |
                    {type: remote_force, face, location, force} | {type:
                    remote_displacement, face, location, translation, rotation};
                    DX2.c: {type: sliding_support, face} | {type:
                    hinged_support, face} | {type: cylindrical_support, face,
                    radial?, axial?, tangential?} | {type: ball_support, face};
                    supports that hold every rigid-body motion (a fixed_support,
                    a fully prescribed displacement / remote_displacement, or
                    sliding / hinged / ball supports, symmetry planes and
                    springs together); modal takes the supports and added mass
                    (loads only with prestress); random_vibration takes them
                    plus {type: psd, direction, table: [[f, G], ...], unit?,
                    damping?}. thermal (DX3): {type: temperature, face, t} |
                    {type: convection, face, h, t_ext} | {type: heat, face?,
                    total | per_area | per_volume} | {type: insulated, face}; at
                    least one temperature or convection
                  items:
                    type: object
                  type: array
                coverage:
                  default: sdf
                  description: >-
                    DX1.b boundary coverage: 'sdf' = clamp(1/2 - sdf/h, 0, 1)
                    (exact on faces parallel to a voxel face) | 'exact' = the
                    9-ray fraction (ss_geometry occupancy_coverage) on every
                    voxel within half a diagonal of the surface
                  enum:
                    - sdf
                    - exact
                  type: string
                em_region:
                  description: >-
                    DX13 electrostatic: solve in a box padding [m] beyond the
                    part, the part a conductor hole ({padding})
                  type: object
                engine:
                  default: cpu
                  description: >-
                    cpu (f64, byte-deterministic referee) | gpu (structural and
                    thermal: the WGSL multigrid with double-single Krylov
                    recurrences and f64 iterative refinement, typed
                    PREVIEW_GPU_UNAVAILABLE without an adapter)
                  type: string
                fidelity:
                  default: 3
                  description: >-
                    fidelity level 1..=5 (voxel budget 2^15 .. 2^24; the DX1
                    ladder)
                  type: integer
                fidelity_rule:
                  default: slider
                  description: >-
                    DX1.b: 'slider' (the level or voxel size stands) |
                    'cells_across_gap' (refine to the coarsest finer level --
                    or, past level 5, the explicit size -- that gives the
                    thinnest wall or gap cells_across_gap voxels; never coarser
                    than the slider; PREVIEW_CAP past the WebGPU cap, never a
                    clamp)
                  enum:
                    - slider
                    - cells_across_gap
                  type: string
                geometry:
                  $ref: '#/components/schemas/GeometryIn'
                include_buffers:
                  default: false
                  description: >-
                    also return buffers {node_index_b64 (u32 LE),
                    displacement_b64 (f32 LE x3), element_index_b64 (u32 LE),
                    von_mises_b64 (f32 LE)}; allowed up to 2^19 voxels (fidelity
                    <= 2); thermal: {node_index_b64, temperature_b64 (f32 LE,
                    K), element_index_b64, heat_flux_b64 (f32 LE, W/m^2)}
                  type: boolean
                include_faces:
                  default: false
                  description: >-
                    also return all_faces: every B-Rep face's id, triangle
                    count, area, centroid and mean normal, to pick condition
                    faces from
                  type: boolean
                local_fidelity:
                  description: >-
                    DX1.b local fidelity regions: the one uniform grid is
                    refined to the coarsest level whose voxel size resolves
                    every region's size; fidelity_choice reports the cost and
                    what DX1.c nested patches would cost instead (not built)
                  items:
                    properties:
                      faces:
                        description: 'a face set instead of a box: the box of its triangles'
                        items:
                          type: integer
                        type: array
                      hi:
                        items:
                          type: number
                        maxItems: 3
                        minItems: 3
                        type: array
                      lo:
                        items:
                          type: number
                        maxItems: 3
                        minItems: 3
                        type: array
                      size:
                        description: voxel size wanted in the region (model units)
                        type: number
                    required:
                      - size
                    type: object
                  type: array
                material:
                  description: >-
                    structural: isotropic linear elastic {e [Pa], nu, rho
                    [kg/m^3], yield [Pa]?, id?} (yield enables fos_max /
                    fos_p99); thermal: {k [W/(m K)] (alias conductivity), id?};
                    electric: {sigma [S/m]}; electric_thermal: {sigma |
                    sigma_table [[T K, sigma S/m], ...], k}; electrostatic:
                    {epsilon_r}
                  type: object
                materials:
                  additionalProperties:
                    type: object
                  description: >-
                    DX2.b multi-material: {part id: {e, nu, rho, yield?}} for an
                    assembly geometry; a part not listed takes `material`
                  type: object
                max_iterations:
                  default: 3000
                  description: PCG iteration cap
                  type: integer
                model:
                  description: >-
                    physics predict: the surrogate to predict with, a field
                    training run id (/v1/train.field); absent or `served`, the
                    checked-in DX9 model
                  type: string
                modes:
                  default: 6
                  description: 'DX2.b modal: how many modes (1..=20)'
                  type: integer
                physics:
                  default: structural
                  description: >-
                    structural (DX2 / DX2.b / DX2.c) | modal (DX2.b) |
                    random_vibration (alias psd; DX2.c: the modes plus psd
                    conditions) | thermal (DX3) | topology (DX11: SIMP topology
                    optimization, the `topology` block; sync with a handle or
                    async: GET /v1/preview.explore.topology/{handle}) | electric
                    | electric_thermal | electrostatic (DX13) | flow (alias
                    fluid; DX4: the D3Q19 lattice-Boltzmann preview) | predict
                    (DX9: the trained field surrogate, also engine surrogate:
                    displacement and von Mises at the voxel nodes with a
                    confidence = the distance to the training set; kind preview,
                    never a result; refused typed: PREDICT_CONDITIONS beyond
                    fixed supports + one force, PREDICT_MATERIAL at another
                    Poisson ratio, PREDICT_MODEL_UNAVAILABLE; the referee is
                    /v1/preview.explore.predict.compare)
                  type: string
                preconditioner:
                  default: multigrid
                  description: >-
                    PCG preconditioner on either engine: multigrid (one
                    geometric V-cycle over the voxel grid, device-resident on
                    the gpu arm) | jacobi (the inverse diagonal); the response's
                    solver block reports which ran, its levels, iterations,
                    refinement_rounds and converged
                  type: string
                prestress:
                  default: false
                  description: >-
                    DX2.b modal: pre-stress with the static solve of the same
                    conditions
                  type: boolean
                probes:
                  description: >-
                    DX stress probes (structural only): the field interpolated
                    at each point -- the voxel-centre stresses (cut cells below
                    coverage 0.5 excluded) recovered to the voxel corners (the
                    mean of eight, or a linear patch fit at the surface),
                    interpolated trilinearly, von Mises of the interpolated
                    tensor; displacement is the FE field at the point.
                    /v1/results/{result_key}/probe answers the same probe on the
                    truth path.
                  items:
                    properties:
                      at:
                        description: the point [x, y, z] (model units)
                        items:
                          type: number
                        maxItems: 3
                        minItems: 3
                        type: array
                      quantity:
                        enum:
                          - von_mises
                          - sxx
                          - syy
                          - szz
                          - sxy
                          - syz
                          - szx
                          - displacement
                          - ux
                          - uy
                          - uz
                        type: string
                    required:
                      - at
                      - quantity
                    type: object
                  maxItems: 1024
                  type: array
                segments:
                  default: 48
                  description: curved-face tessellation segments (8..=256)
                  type: integer
                session:
                  description: >-
                    explore-session token: the previous solve under this token
                    warm starts this one (in-memory LRU of 8 sessions / 256 MiB,
                    never persisted); on engine gpu the token also keeps its
                    device session (DX5: hierarchy + buffers, LRU of 8 sessions
                    / 2 GiB of device buffers, released on eviction)
                  type: string
                sharp_edges:
                  description: >-
                    DX1.b sharp-edge capture: flag the voxels a B-Rep edge with
                    a dihedral above angle_deg runs through; subsample gives
                    them a 4^3 sub-cell SDF coverage (sdf coverage only)
                  properties:
                    angle_deg:
                      default: 30
                      type: number
                    subsample:
                      default: false
                      type: boolean
                  type: object
                stream_buffers:
                  default: false
                  description: >-
                    Explore app wave 4: the same field buffers as ONE binary
                    blob behind a short-lived handle, at every fidelity level
                    (up to 2^25 voxels): the response's buffer_stream {uri,
                    handle, format 'SSXBUF1', bytes, expires_in_s 120, sections
                    [{name, dtype u32|f32, components, count, offset, bytes}],
                    note}; GET buffer_stream.uri (/v1/preview.buffers/{handle})
                    for the bytes. Sections: node_index, element_index and the
                    physics' fields (structural displacement x3 + von_mises;
                    thermal temperature + heat_flux; modal mode_shape_1..n x3;
                    random vibration also displacement_1sigma x3 +
                    von_mises_1sigma). In memory only, never persisted, no
                    result key
                  type: boolean
                tolerance:
                  default: 0.00001
                  description: >-
                    relative residual |r|/|b| at which the solve stops (default
                    1e-5 structural, 1e-6 thermal); modal: the eigen-residual |K
                    phi - lambda M phi| / (lambda |M phi|) (default 1e-5)
                  type: number
                topology:
                  description: >-
                    DX11 (physics 'topology'): Explore topology optimization on
                    the same voxel operator. objective: 'stiffness' (min
                    compliance) | {type: max_frequency, modes? (2, the bound
                    formulation over the first modes, robust to repeated
                    eigenvalues)} | {type: target_frequency, hz} | {type:
                    balance, weight (0..1 on stiffness)} | 'min_stress' (the
                    p-norm, P 8, of the qp-relaxed von Mises, q 0.5, adaptively
                    normalised; its adjoint solved on the same operator) |
                    {type: remove_material, fos} (minimum volume with that
                    stress measure under yield / fos; needs the material's
                    yield). reduction: {volume_fraction} kept | {percent}
                    removed | {volume} [m^3] kept (default 50 % kept;
                    remove_material ignores it). Manufacturing: min_thickness
                    [m] (the density filter's radius is half of it; default 1.5
                    voxels), max_thickness [m] (a local-volume constraint: no
                    solid ball of that diameter + 2h; MMA), overhang {angle
                    [deg] (45), direction [axis]} with table_direction [axis]
                    (the build plate's normal; Langelaar's AM filter layer by
                    layer from the table, the support region the voxels of the
                    layer below within h cot(angle)), pull {direction [axis],
                    both? (false)} (the casting / milling filter: one way,
                    nothing hidden from the tool; both ways, one contiguous
                    segment a column, a parting plane anywhere), extrude
                    {direction [axis]} (the density constant along the axis
                    through the whole part, so every void the run leaves runs
                    through it and a cut through the part can take it: after the
                    density filter each column of the part's voxels along the
                    axis -- every voxel with the same two other coordinates,
                    across any gap -- takes its coverage-weighted mean, before
                    the projection; the direction's sign means nothing. A column
                    that holds a protected voxel is solid: frozen_elements in
                    the answer. A pull or an overhang along the same axis is
                    accepted and already met, so its filter is not run; along
                    another axis it would make the density vary along the
                    extrusion and is refused, 422 PREVIEW_EXPLORE_CONDITION.
                    Refused too: filter sensitivity, and a protection that
                    reaches every column. Both engines run it). Directions are
                    grid axes (an oblique one refuses
                    PREVIEW_EXPLORE_CONDITION). protect {faces? [ids],
                    conditions? (true: every condition's face), depth? [m] (0:
                    the face's own voxel layer), face_depths? [{face, depth
                    [m]}] (a depth of its own for a face, in place of `depth`; a
                    face named here is protected whether or not it is in `faces`
                    or carries a condition; naming a face twice or a face that
                    is not on the grid refuses)}. Controls: filter density |
                    sensitivity (Sigmund's, OC and stiffness only),
                    filter_radius [m], projection (true: Heaviside, beta 1 ->
                    beta_max 16 doubling every 25 iterations or when settled,
                    eta 0.5), update auto | oc | mma (auto: OC when the problem
                    is min compliance with a linear chain -- no projection,
                    pull, overhang or max thickness -- else MMA, Svanberg's
                    mmasub / subsolv), penalty (3), move (the most a design
                    variable changes an iteration: 0.2; for remove_material 0.05
                    with a step back -- a step after which the stress measure is
                    above 1.25 times its allowable and 1.25 times its value
                    before the step is redone from the point before it with half
                    the move, at most four times in a row, and the history marks
                    that iteration `rejected`; a value given is used as is, with
                    no step back), max_iterations (100, at most 400), tolerance
                    (0.01, the largest design change), e_min (1e-9 of E), x_min
                    (0), iso (0.5, the extracted surface's level), smooth (2
                    Taubin passes on the convert mesh), modal_tolerance (1e-4),
                    mode sync | async. Refusals: multi-body parts, body loads
                    (gravity, acceleration, velocity: design-dependent loads),
                    prescribed displacements and bolt preloads (DX11.b), an
                    objective without the loads, density or yield it needs, a
                    target volume the protected voxels already fill. The answer:
                    kind 'preview', label, topology_handle and uri, objective,
                    reduction, manufacturing (with extrude, when asked:
                    {direction, axis, columns, frozen_elements, frozen_fraction
                    (of the part's voxels), filter}), protected {faces, depth,
                    face_depths [{face, depth}], elements, frozen_elements?
                    (with extrude: the voxels its columns add to the protected
                    ones)}, design_elements (the voxels neither protected nor
                    frozen), update, move, filter, projection, volume {part,
                    target, final, fraction}, iterations, converged, stop,
                    history [{iteration, objective, compliance, frequencies,
                    stress, volume_fraction, change, beta, solver_iterations,
                    warm_start, converged_solve, rejected, solve_ms,
                    iteration_ms}], measured {max_member_thickness,
                    solid_voxels, gray_fraction, overhang? {unsupported_voxels,
                    checked}, pull? {hidden_voids, runs}, extrude? {columns,
                    void_columns, mixed_columns (columns with solid and void
                    voxels at the iso level: 0), density_spread (the largest
                    difference of density within a column: 0)}}, iso {level,
                    smooth_passes, vertices, triangles, volume}, buffer_stream
                    (element_index, density, iso_vertices, iso_triangles), gpu?
                    (the device timings on engine gpu), timings_ms. Async: 202
                    with topology_handle and uri at once.
                  type: object
                voxel_size:
                  description: >-
                    explicit voxel size (model units) instead of the level; the
                    buffer cap still applies
                  type: number
              required:
                - geometry
                - material
              type: object
        required: true
      responses:
        '200':
          description: >-
            kind 'preview', label 'preview -- not verified', physics, engine (+
            adapter on gpu); the grid (voxel_size, dims, origin, voxels,
            solid_voxels), elements / nodes / dofs, faces used (quads,
            area_voxel, mean_displacement? -- structural), unclassified_quads,
            all_faces?; solver {iterations, max_iterations, tolerance, residual,
            initial_residual, converged, warm_start, coverage_floor,
            preconditioner, levels, refinement_rounds, gpu_session? {resumed,
            kept, hierarchy: built | updated | cached, level_bytes,
            uploaded_bytes, device_bytes, pool_sessions} (gpu arm)}; timings_ms
            adds gpu_open (the call that opened the device), gpu_hierarchy,
            gpu_upload, gpu_device, gpu_verdict on the gpu arm; results
            {max_displacement(_at), max_von_mises(_at), p99_von_mises, note,
            fos_max?, fos_p99?}; reactions [{condition, face?, force, nodes,
            moment?}] (a spring's is its force on the body, a torsional spring's
            carries its moment); balance {total_applied, total_reaction,
            imbalance, residual}; bodies? [{id, faces, e, nu, rho, yield?,
            elements}]; bolts? [{condition, face, force, adjustment,
            target_force?, torque?, k_factor?, diameter?, radius, section_area,
            centre, axis, elements}]; thin_features; fidelity_choice, coverage,
            sharp_edges? (DX1.b, as on /v1/preview.field); timings_ms; buffers?;
            probes? [{at, quantity, value (null on a miss), voxel_coverage,
            corners? {mean, fit, constant}, miss?}] with probe_recovery and
            timings_ms.probes (when probes were asked); modal (physics 'modal'):
            the same grid blocks, solver {eigensolver, mass, preconditioner,
            levels, block, iterations, max_iterations, tolerance, converged,
            applies, preconditioner_applies, coverage_floor}, modes [{mode,
            frequency, eigenvalue, residual, converged, effective_mass,
            effective_mass_fraction, max_at}], total_mass, prestress?
            {iterations, residual, max_displacement, p99_von_mises, note},
            loads_ignored?, note, session_note?, buffers? {node_index_b64,
            mode_shapes_b64}; random vibration (physics 'random_vibration'): the
            modal body plus random_vibration {damping, combination, inputs,
            modal_rms, results {displacement_1sigma_max(_at),
            max_1sigma_displacement(_at), max_von_mises_1sigma(_at),
            p99_von_mises_1sigma, levels, note}} and buffers {element_index_b64,
            displacement_1sigma_b64, von_mises_1sigma_b64}; thermal (physics
            'thermal'): the same grid / solver blocks, results
            {max_temperature(_at), min_temperature(_at), p99_temperature,
            max_heat_flux(_at), p99_heat_flux, note}, heat_flows [{condition,
            face?, kind, heat_out, nodes}], heat_balance {heat_in,
            convected_out, fixed_out, imbalance, residual}, adapter? (gpu),
            buffers?; no result key, nothing persisted; buffer_stream? (with
            stream_buffers): the field buffers as an SSXBUF1 blob behind GET
            /v1/preview.buffers/{handle} (in memory, expiring)
        '400':
          $ref: '#/components/responses/TypedError'
        '422':
          $ref: '#/components/responses/TypedError'
      security:
        - apiKey: []
        - {}
components:
  schemas:
    GeometryIn:
      description: Exactly one of primitive | csg | mesh_blob | brep_blob | assembly
      properties:
        assembly:
          description: >-
            Assembly of part instances meshed into ONE welded body with per-part
            node sets (part:{id}) for S5 per-part scoping. Envelope:
            axis-aligned box parts under exact translation; exactly-coincident
            conforming faces weld node-identically; overlapping, non-conforming,
            or disconnected parts are typed refusals (no contact mechanics).
          items:
            properties:
              at:
                default:
                  - 0
                  - 0
                  - 0
                description: Exact translation [m] placing the part
                items:
                  type: number
                maxItems: 3
                minItems: 3
                type: array
              box:
                description: >-
                  Axis-aligned box at the origin, meters (the assembly meshing
                  envelope)
                properties:
                  lx:
                    type: number
                  ly:
                    type: number
                  lz:
                    type: number
                required:
                  - lx
                  - ly
                  - lz
                type: object
              id:
                description: >-
                  Unique part instance id; results tag the part:{id} node set
                  with it
                type: string
            required:
              - id
              - box
            type: object
          type: array
        brep_blob:
          description: 'BlobId of an uploaded CAD file: STL, or STEP on occt-enabled builds'
          type: string
        csg:
          $ref: '#/components/schemas/CsgNode'
        mesh_blob:
          description: BlobId of an uploaded SSMESH1 mesh
          type: string
        primitive:
          description: >-
            Exactly one of box | cylinder | sphere (curved primitives are meshed
            by the native B-rep kernel)
          properties:
            box:
              description: Axis-aligned box at the origin, meters
              properties:
                lx:
                  type: number
                ly:
                  type: number
                lz:
                  type: number
              required:
                - lx
                - ly
                - lz
              type: object
            cylinder:
              description: Right circular cylinder, axis +z
              properties:
                h:
                  type: number
                r:
                  type: number
              required:
                - r
                - h
              type: object
            sphere:
              description: Sphere centered at the origin
              properties:
                r:
                  type: number
              required:
                - r
              type: object
          type: object
      type: object
    CsgNode:
      description: >-
        Boolean composition of primitives (K-track kernel). A leaf wraps a
        primitive; an operation composes two subtrees. Evaluated by exact
        analytic point classification — deterministic by construction. Max depth
        16.
      examples:
        - a:
            prim:
              box:
                lx: 1
                ly: 0.6
                lz: 0.1
          b:
            prim:
              cylinder:
                h: 0.1
                r: 0.1
          op: difference
      oneOf:
        - description: 'Leaf: a primitive solid'
          properties:
            prim:
              description: >-
                Same shape as geometry.primitive: exactly one of box | cylinder
                | sphere
              type: object
          required:
            - prim
          type: object
        - description: 'Operation: a OP b (difference = a minus b)'
          properties:
            a:
              $ref: '#/components/schemas/CsgNode'
            b:
              $ref: '#/components/schemas/CsgNode'
            op:
              enum:
                - union
                - difference
                - intersection
              type: string
          required:
            - op
            - a
            - b
          type: object
    ErrorEnvelope:
      properties:
        error:
          properties:
            code:
              enum:
                - INVALID_GEOMETRY
                - MESH_FAILED
                - SOLVE_DIVERGED
                - RESOURCE_LIMIT
                - UNKNOWN_SOLVER
                - UNAUTHORIZED
                - FORBIDDEN
                - NOT_FOUND
                - STORE_ERROR
                - INTERNAL
                - INVALID_KEY_NAME
                - RATE_LIMITED
                - LIVE_RATE
                - SESSION_LIMIT
                - SCOPE_DENIED
                - CREDITS_EXHAUSTED
                - INVALID_LIMITS
              type: string
            message:
              type: string
          type: object
      type: object
  responses:
    TypedError:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
      description: Typed error — never a bare 500
  securitySchemes:
    apiKey:
      description: Required when the deployment sets SS_REQUIRE_AUTH=1
      in: header
      name: x-api-key
      type: apiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.