Expand description
Compile a model’s organ meshes into the .10d body — the ingestion entry point (S5.4).
Given a set of (organ_key, mesh_bytes) for an [AnatomyModel], resolve each organ’s body system
and compile it to a sealed .10d whose q42 manifest carries geo:bodySystem + geo:anatomyModel.
Organs with no system mapping, or bytes that fail to parse, are reported — never silently
dropped. This layer owns the compile; the mesh bytes are supplied by the caller (the desktop
glb_ingest loads them from the CCF/HRA set chosen by AnatomyModel::asset_set()), so the file I/O
and the compile stay in their own lanes.
Structs§
- Body
Compile Result - The outcome of compiling a model’s organ set — honest about what did and did not compile.
- Compiled
Organ - One organ compiled into the body: its resolved system and the sealed
.10dasset. - Organ
Container - An organ made real as a hypermedia container: the container model + its full semantic quin set (the organ’s geometry manifest ⊕ the hypermedia edges ⊕ the descriptors) + the lexicon.
Functions§
- body_
container - Bundle a model’s organ containers into a single body container — one addressable unit whose members are the organs (so the body is a semantic bundle, not a folder of files). Returns the body container + the combined quin graph (every organ container’s quins + the body’s bundling edges + descriptors).
- compile_
body - Compile a model’s organ meshes into its
.10dbody asset set. - organ_
container - Turn a
CompiledOrganinto aHypermediaContainer.source_urlis the CCF/HRA CDN URL the GLB was fetched from — recorded as the immutable source with its licence/creator; passNoneif unknown.