Skip to main content
POST
Solve a non-sequential scene: objects, sources and detectors traced by the keyed Monte Carlo (OP5; OP5.b: the faceted objects — PolygonObject / CADPartSTL / Extruded name their POB / STL / UDA file in `data_file`, read from the vendor's object folders into `scene.meshes` / `scene.apertures`, or given there; SourceFile / SourceIESNAFile / SourceEULUMDATFile name their ray file (DAT / SDF) or photometric file (IES / LDT) in `data_file`, read from the vendor's Sources folders into `scene.ray_files` / `scene.photometric_files`, or given there; OP5.b slice 6: SourceFile also reads the TM-25 file (.tm25ray; one spectral table rides `ray_files[].spectrum`), SourceImported names its STEP in `data_file` (tessellated from the vendor's CAD Files folder into `scene.meshes`), the Source Object emits from any parent (the lens families, the tori, the cones, the pipes, an Array's instances) with its cosine factor in parameter 8, a source's `spectrum.kind = file` names its .spcd in `spectrum.name` (read into `rows`), a source's `pre_propagation`, `reverse` and `array` {kind: rectangular | circular | hexapolar | hexagonal, nx, ny, dx, dy, count, radius, rings, spacing} follow the Sources tab, the IES / EULUMDAT tables interpolate bilinearly with LM-63's symmetries; a source's `consider` / `ignore` lists confine its rays; `scene.trace.ray_database` records every segment (the field `illumination/rays/database`, seventeen values a row: ray, segment, level, parent, hit object, hit face, in object, status bits, x y z, l m n, intensity, wavelength, path length), `scene.trace.path_analysis` tabulates the branches' paths (`illumination/paths`), `scene.trace.filter` keeps the branches passing the vendor's filter string; OP22: `init_from` continues a run, `scene.trace.sampling | precision | device` fork the key)

Body

application/json
solver
object

SC1: the solver block — HOW the equations are solved, never what the problem is. Absent, preset: reference, or a block equal to the domain's reference hashes as ABSENT (every pre-existing result key untouched); any keyed field forks the result key and the response names the reference_key the same body produces under preset: reference. A preset expands at request time to concrete fields (versioned: balanced@1, fast@1 …); explicit fields override the expansion field by field; two bodies that expand to the same block share a key (the preset NAME never enters the bytes). device and reference never enter the bytes. An arm this build or domain cannot serve is a typed 400 SOLVER_REFUSED naming its unit — never a silent fallback. preview is a setting, not a result: the same body routes to the V tier and answers kind: preview with result_id: null.

Response

solved (sync) or accepted (async). With solver.preset = preview the body is the PreviewKindResponse (kind: preview, result_id: null).