Expand description
Producer for a curated .hmc anatomy asset pack (ships in the release /
web demo). Native-only (blocking network I/O against the HRA endpoints).
Produce a shippable curated .hmc anatomy asset pack for a model.
The full CCF/HRA reference body is ~200–290 MB of GLB per model — too large to
bundle into a release. This builds a curated subset (a representative set of
organs across body systems, tens of MB) into a single .hmc bundle (see
qualia_core_db::bundle): each organ is a sealed .10d entry carrying an
[AnatomyOrganMeta] (system + approximate position + neutral colour). The
bundle is the artefact shipped in the desktop release resources and published
for the web demo, so a fresh install / the online demo renders a real body
with no per-user download.
This is a producer (used by the build_anatomy_pack example / CI), not a
runtime path — it does blocking network I/O against the HRA endpoints.
Structs§
- Discovered
Organ - A discovered organ: its CCF filename and its normalised base token.
- Pack
Report - The result of building a pack — honest about what packed and what curated organ was not found/failed.
Constants§
- CURATED_
ORGAN_ TOKENS - The default curated organ set — normalised base tokens (laterality/sex/
.glbstripped). A representative spread across body systems, kept small so the pack is tens of MB. Discovery reports which of these were actually found.
Functions§
- build_
anatomy_ pack - Build a curated
.hmcpack formodeland write it toout_path. - discover_
model_ organs - Discover every reference organ for a model (filename + normalised token).
Useful for curating
CURATED_ORGAN_TOKENSagainst what the HRA actually serves.