# Z-Anatomy study meshes

Current attribution inventory: [shared credits](../../index.html#credits). Technical provenance and historical notes follow.

Source: [Z-Anatomy / Models of human anatomy](https://github.com/Z-Anatomy/Models-of-human-anatomy), from the project's `Startup.blend` atlas. Z-Anatomy is shared under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/), derived from BodyParts3D / The Database Center for Life Science, [CC BY-SA 2.1 Japan](https://creativecommons.org/licenses/by-sa/2.1/jp/).

Adaptations: selected skeletal and right-knee structures, omitted label meshes, simplified larger meshes, exported to GLB, combined the patellar ligament pieces. Browser materials and teaching descriptions added. Adapted mesh assets are distributed under CC BY-SA 4.0. Attribution does not imply endorsement. Files are provided without warranty.

`skeleton.glb`: named skeletal meshes with original names and axial/appendicular metadata. `knee.glb`: right femur, tibia, fibula, patella, medial/lateral menisci, cruciate/collateral/patellar ligaments. Original shape detail is reduced for web use. Mesh count is not textbook bone count. Source names appear in `extras.sourceName`; the JSON manifest records the full skeleton export.

To regenerate, run Blender 4.5 with the original atlas:

```
blender --background /path/to/Startup.blend --disable-autoexec --python tools/export-models.py
blender --background /path/to/Startup.blend --disable-autoexec --python tools/export-knee.py
```

Exports go to this directory. The scripts create a separate scene and do not save over the atlas.

The viewer library in `../vendor/` is Three.js 0.180.0 (MIT). Its license is retained there. The GLTFLoader relative import is adjusted for the flat vendor directory.

`joints.glb`: whole-body joint capsules, discs, ligaments, and related joint tissues, grouped by joint and side; bones are omitted. Each group has `extras.jointGroup` for teaching descriptions. Regenerate with `tools/export-joints.py` using the same Blender command pattern.

## Joint movements

`movement-rig.glb` contains 30 right-arm/hand bone meshes from the same Z-Anatomy source, simplified and parented to two rigid pivot controls. `tools/export-movement-rig.py` generates it without saving the source atlas. Elbow flexion rotates the radius, ulna, and hand together; forearm rotation rotates the radius and hand about a line through the proximal radial head and distal ulnar head. The humerus remains fixed; the forearm view hides it for clarity. Bone colors identify the structures.

The web player in `../?chapter=9&view=movements` applies rotations to the exported rig, with no mesh deformation. It uses illustrative endpoints (120° elbow flexion and 160° total forearm rotation). Pivot positions are approximations fitted to this specimen. This is a teaching animation, not a biomechanical simulation: no cartilage, soft-tissue mechanics, translations of the ulna, or collision solver. Exported adaptations remain CC BY-SA 4.0.

Anatomical reference: [OpenStax A&P 2e, Types of Body Movements](https://openstax.org/books/anatomy-and-physiology-2e/pages/9-5-types-of-body-movements), especially flexion/extension and radius crossing the ulna in pronation.

Validation:

```
node --no-warnings --experimental-loader ./tools/three-node-loader.mjs tools/verify-movement-rig.mjs
node tools/verify-exam2.cjs
```

## Expanded movement suite

All Chapter 9 movement concepts now have examples in 14 selectable views. `movement-poses.js` builds reusable rigid hierarchies from the skeleton export and atlas landmarks; the original elbow/forearm rig remains in use. New examples: distributed cervical bending, atlantoaxial rotation, linked shoulder-girdle abduction, shoulder circumduction, hip axial rotation, ankle hinge motion, subtalar/midtarsal foot turning, three mandibular motions, and thumb opposition with an accompanying index-finger curl.

`movement-landmarks.json` is generated by `tools/export-movement-landmarks.py`; coordinates use glTF axes. `movement-teeth.glb` is generated by `tools/export-movement-teeth.py` and contains 28 atlas teeth; the 14 lower teeth move with the mandible. These derived Z-Anatomy assets use the same CC BY-SA 4.0 terms as the other model assets.

The complex movements are illustrative approximations. Shoulder coupling is simplified; foot turning uses two linked pivots, not a full tarsal contact simulation. The thumb endpoint uses unconstrained inverse kinematics to bring the bony fingertips close, with interpolated rigid joint rotations. No skin-pad contact, ligament constraints, or collision/clinical range validation is implied. Neck backward bending illustrates the study guide’s beyond-neutral usage of hyperextension; displayed angles are animation settings, not diagnostic thresholds.

Run `node --no-warnings --experimental-loader ./tools/three-node-loader.mjs tools/verify-movement-suite.mjs` for all 14 rigs. Checks cover finite transforms, preservation of each source mesh’s scale, stationary reference bones, moving lower teeth, opposed fingertip proximity, and return-direction labels. Source-model scales vary, so the test compares each mesh to its own initial transform. Browser checks cover endpoint appearance, controls, and mobile layout.

Movement controls share the chapter viewer. `movements.html` remains a redirect for previously saved links. The player loads only when Movements is selected and pauses when hidden.

## Chapter 10 muscles

`muscles.glb` contains 509 nonempty meshes from the atlas Muscles collection and five right-arm bones (514 meshes, about 20.9 MiB). It uses the same Z-Anatomy/BodyParts3D attribution and CC BY-SA 4.0 adaptation license above. Metadata retains source names, tissue, superficial-collection membership, and the selected upper-arm grouping. `muscles-manifest.json` records these selections.

Run `blender --background /path/to/Startup.blend --disable-autoexec --python tools/export-muscles.py` to regenerate the GLB and the paired arm images. Copies are simplified to at most about 4,000 polygons per source mesh. The atlas is never saved. The superficial collection is a teaching filter, not a complete dissection plane. Fine fibers, sheaths and sarcomeres are not represented.

Muscle exports preserve source tendon/cartilage material regions through vertex colors, with one mesh per structure for picking. Procedural Blender materials are approximated. Chapter 10 contraction examples reuse the elbow rig with teaching props: dumbbells for lifting and controlled lowering, and a fixed wall for an isometric press. They illustrate bone movement without muscle deformation.

## Selection study notes

The viewer defaults Chapter 10 to all muscle layers. Descriptions are local study notes matched to atlas names, including left/right copies and named heads. Concise muscle location/action notes reference OpenStax Anatomy & Physiology 2e: [head, neck, and back](https://openstax.org/books/anatomy-and-physiology-2e/pages/11-3-axial-muscles-of-the-head-neck-and-back), [abdominal wall and thorax](https://openstax.org/books/anatomy-and-physiology-2e/pages/11-4-axial-muscles-of-the-abdominal-wall-and-thorax), [upper limb](https://openstax.org/books/anatomy-and-physiology-2e/pages/11-5-muscles-of-the-pectoral-girdle-and-upper-limbs), and [lower limb](https://openstax.org/books/anatomy-and-physiology-2e/pages/11-6-appendicular-muscles-of-the-pelvic-girdle-and-lower-limbs). Coverage is partial; unmatched structures explicitly say notes are not yet available. Connective tissues in the source muscle collection are handled separately. Superficial collection membership is not used to infer anatomical depth or action.

## Embedded atlas descriptions

`atlas-descriptions.json` contains descriptions extracted from the original atlas's Blender text blocks, keyed by source names and shared across left/right structures. Regenerate with `blender -b /path/to/Startup.blend --disable-autoexec --python tools/export-atlas-descriptions.py`. No source atlas or geometry is modified. The exporter reads the seven GLBs (skeleton, muscles, joints, knee, nervous, chapter14, chapter14-context) to restrict output to the structures used by the viewer. Without Blender, `python3 tools/extract-blend-texts.py /path/to/Startup.blend texts.json` reads the atlas text blocks directly from the .blend file (read-only), then `python3 tools/export-atlas-descriptions.py --texts texts.json` builds the JSON. Nervous-system structures show the same atlas text as the other models; the 36 nervous meshes without an atlas text block (small nerve branches and cerebellar lobules) show a neutral fallback line. Its explicit parent-entry mappings are labeled Related anatomy in the overview and expanded panel. Missing entries retain the existing study notes.

Descriptions are from Z-Anatomy and Wikipedia, [CC BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/), per the [upstream definitions attribution](https://github.com/Z-Anatomy/Models-of-human-anatomy). Original article URLs are retained per entry and displayed in More details. Adaptations: removed duplicate title lines, normalized whitespace, formatted headings, and shortened long introductory paragraphs for previews. Full extracted body text is shown in the expanded panel. Source descriptions are reference material, not newly reviewed course notes. The initial overview and More details use the same atlas entry; existing local notes are fallbacks if no entry exists or the data cannot load. A fetch failure never blocks model interaction.

## Nervous system (Chapters 12–13)

`nervous.glb` contains 351 atlas-derived meshes (about 20.2 MiB), including all 12 cranial nerves, cortical and cerebellar structures, the brainstem, internal brain structures, peripheral nerves, and the spinal cord’s outer white matter. The optic nerve is explicitly classified as CNS tissue. Empty `.j` atlas grouping objects are excluded; curve geometry and mesh modifiers are evaluated before simplification. The source atlas is never saved.

Regenerate with `blender -b /path/to/Startup.blend --disable-autoexec --python tools/export-nervous.py`. `NERVOUS_OUT` optionally overrides the output directory. Run `node tools/render-chapter13.cjs` (with `PLAYWRIGHT_MODULE` / `CHROME_PATH` if needed) for fixed atlas images and mesh-ID anchor verification. All model/atlas-image adaptations retain CC BY-SA 4.0 attribution. Z-Anatomy additionally credits University of Washington Brainder/White matter and University of Dundee CAHID’s Cranial Nerves and Foramina (CC BY 4.0); see the upstream README. No inner-ear model is included.

Model descriptions for these chapters use concise course-aligned notes rather than automatically replacing them with atlas encyclopedia text. The pineal-gland mesh is not labeled as the whole epithalamus. The spinal-cord exterior does not show its internal gray matter. Cellular diagrams in Chapter 12 remain the teaching source for neurons, glia, myelin, and action potentials.

## Custom Chapter 14 models and renders

Blender 4.5.10 extracted 27 meshes from Z-Anatomy's `Startup.blend` without saving changes to that source. Changes: selected regional assemblies, mesh simplification, teaching colors, and removal of the upper halves of the sclera and retina to expose the eye interior. `models/assets/chapter14.glb` is approximately 2.2 MB. The six views share this asset and the existing viewer. Fixed renders and visible-surface masks supply the same anatomy in Flashcards, Quiz and Locate.

Views: eye cutaway, lacrimal apparatus, middle/inner ear, ossicles, olfactory region with ethmoid, and anterior visual pathway. Source object `Vestibule.r` contains the vestibule and semicircular canals together, so it is labeled as a combined structure. Optic views stop at the tracts; they do not show the complete pathway to visual cortex. The ciliary-body curve did not yield a usable mesh and is not included. Cellular receptors, lens accommodation and reflex circuitry retain schematic teaching figures.

**Attribution and license exception:** [Z-Anatomy source and author credits](https://github.com/Z-Anatomy/Models-of-human-anatomy), generally [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/), derived from BodyParts3D / The Database Center for Life Science ([CC BY-SA 2.1 Japan](https://creativecommons.org/licenses/by-sa/2.1/jp/)). Upstream credits the **inner ear to University of Dundee School of Medicine under [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)**. Cochlea/vestibular meshes and ear renders containing them retain that noncommercial share-alike license; they are not covered by the site's general BY-SA statement. Other Chapter 14 adapted assets retain CC BY-SA 4.0. Per-mesh licenses are recorded in `chapter14-manifest.json` and GLB extras. Attribution does not imply endorsement.

Reproduction tools in the repository:

- `tools/export-chapter14.py`: run Blender in background with `--disable-autoexec`, the upstream `Startup.blend`, and `--python` pointing to this script. Set `CH14_OUT` to the desired export directory (default `/tmp/ch14-atlas/export`).
- `tools/render-chapter14.cjs`, `tools/render-chapter14.html` and `tools/chapter14-render.json`: render the exported asset with Three.js; set `PLAYWRIGHT_MODULE`, `CHROME_PATH`, and optionally `ATLAS_RENDER_OUT` (default `/tmp/ch14-atlas/renders`).
- `exam-3/atlas.js` stores reviewed target metadata; `exam-3/assets/atlas/regions.json` records mesh-ID anchor checks. All 24 scored atlas anchors pass the 0.85 neighborhood-purity threshold. The thin lacrimal canaliculus remains contextual geometry, not a scored target.

## Grouped models — October 25, 2026

The Model menu now has three topics: **Eye & vision (items 8–12), Hearing & balance (items 4–7), and Smell (item 3)**. A Detail selector retains eye cutaway, tear apparatus, eye muscles, visual route and ossicle close-ups within their topic. Head orientation is available from each group and uses a transparent skull to show relative positions. Skull context is not a scored or selectable structure.

`chapter14-context.glb` combines 57 meshes from the existing Chapter 14, muscle, nervous-system and skeleton exports, preserving their transforms. It is approximately 3.9 MB. Added six right extrinsic eye muscles, right CN VIII and vestibular nerve, and eight bilateral occipital-region meshes. The original `chapter14.glb` and fixed renders remain the source for the existing flashcards, visual quiz questions and Locate maps; their target coordinates are unchanged. Regenerate the combined model with Blender `--background --factory-startup --disable-autoexec --python tools/build-chapter14-context.py`.

The occipital meshes locate the destination region for vision; they do not delineate primary visual cortex. Optic radiations and central relays are not present, and the caption makes the gap explicit. The right cochlear nerve is not separately available in the existing nervous export. No structures were mirrored or invented to fill missing anatomy. The original atlas is needed for a further audit of choroid, ciliary apparatus and external-ear geometry. Cellular receptors, accommodation and reflexes retain their diagrams. This is useful study coverage, not a complete anatomical atlas.

Source credits and the inner-ear CC BY-NC-SA 4.0 exception apply to the combined GLB as well. `chapter14-context-manifest.json` records each mesh's source asset, variant and license. The skull is translucent only in the orientation view; all structures retain their atlas positions and scales.

Validation: all three groups and their detail choices load, select, isolate and reset successfully; six eye muscles, CN VIII and occipital additions are asserted. Phone layout passes at 390px. Existing Chapter 14 content and Exam 2 regression checks pass. Screenshots reviewed for the combined eye, ear, visual route and skull orientation.

Chapter 14 descriptions include all 27 sensory objects and all 57 objects in the contextual asset. Text-block keys are trimmed before matching (the upstream `Vestibule ` text block has a trailing space). Existing atlas descriptions are preserved; model-specific captions follow the full anatomical text.

## Chapter 17 endocrine models

`chapter17.glb` contains 14 selected, evaluated and simplified Z-Anatomy meshes in three groups: head glands, thyroid/parathyroids, and abdominal glands with kidney context. Source object names and teaching notes are retained in mesh extras and `chapter17-manifest.json`. Export with `tools/export-chapter17.py` using the Blender command pattern above. The source atlas is never overwritten. The kidney components are credited to Lissie Cowley and retain CC BY-NC 4.0, including in the abdominal atlas rendering. The other meshes retain CC BY-SA 4.0 and the Z-Anatomy and BodyParts3D credits above. Thin parathyroid surfaces render double-sided in the viewer. Microscopic tissue and cell types are taught separately through labeled schematic Locate diagrams. See [Chapter 17 image credits](../../exam-3/assets/endocrine/README.md) and [validation audit](../../docs/chapter-17-audit.md).

### Chapter 17 head orientation

The head group's Detail menu includes **Glands close-up** and **Head orientation**. `chapter17-context.glb` combines the four existing head glands with 14 transparent skull context meshes, preserving their shared atlas coordinates. Only the glands are selectable; isolate/reset returns between individual anatomy and skull context. Neck and abdomen retain their existing views.

Regenerate with Blender `--background --factory-startup --disable-autoexec --python tools/build-chapter17-context.py` from the repository. The builder uses the existing `chapter17.glb` and skull context from `chapter14-context.glb`; the original assets are unchanged. `chapter17-context-manifest.json` records source assets, names and licenses. Z-Anatomy / BodyParts3D attribution above applies; this adaptation is CC BY-SA 4.0.

### Regional orientation and whole-body endocrine

Chapter 17 includes neck and abdominal orientation details plus a whole-body male endocrine atlas. Neck context uses trachea, thyroid/cricoid cartilage and cervical skeletal landmarks; abdominal context uses lower ribs, spine and pelvis. The whole-body model adds the two thymus lobes and two testes to the existing 14 mesh parts. It provides Glands only and Body orientation (transparent axial skeleton/pelvis); ovaries and diffuse endocrine tissues are not represented.

Assets are `chapter17-neck-context.glb`, `chapter17-abdomen-context.glb`, `chapter17-whole.glb` and `chapter17-body-context.glb`, with matching `-manifest.json` files under `models/assets/`. Each manifest records source meshes and assets. `tools/export-chapter17-regions.py` evaluates the additional meshes from Z-Anatomy, reuses the existing gland and skeleton exports, and retains their common coordinates. Run it in the source atlas with auto-execution disabled; it never saves over the atlas. The neck context uses CC BY-SA 4.0. The abdominal and whole-body models also include kidneys under CC BY-NC 4.0 as documented above.


## Chapter 14 additions — November 1, 2026

`chapter14-additions.glb` contains 21 right auricular region surfaces, the upper-half-removed right vitreous body, two lateral geniculate bodies, and the unqualified upstream `Cochlear nerve` mesh at the right cochlea. The paired manifest retains source names, polygon counts, variants and licenses. Original transforms are preserved; only the vitreous body is bisected. Study materials replace atlas materials. No source atlas is saved.

Regenerate with Blender `--background /path/to/Startup.blend --disable-autoexec --python tools/export-chapter14-additions.py`, then `--background --factory-startup --disable-autoexec --python tools/build-chapter14-context.py`. `CH14_OUT` optionally changes the additions output directory. The context builder includes these additions alongside the established exports. Inner-ear cochlear-nerve geometry retains CC BY-NC-SA 4.0 conservatively; the remaining additions use CC BY-SA 4.0. The new external-ear detail contains regional surfaces, not a modeled auditory canal. The visual pathway contains LGN relays but not optic-radiation fibers.

## Cardiovascular and visceral study views

The Chapter 19 study guide calls for the major chambers, valves and vessels. The Human Reference Atlas heart v1.2 has individually selectable tricuspid, mitral, aortic and pulmonary valve meshes, alongside the four chambers, interventricular septum and papillary muscles. The installed Z-Anatomy heart includes the four chambers and selected leaflets, including one mitral leaflet and two tricuspid leaflets. The cutaway uses the HRA heart and removes part of the anterior chamber walls. The separate Z-Anatomy coronary and great-vessel views retain their atlas alignment. [HRA heart metadata and license](https://apps.humanatlas.io/kg-explorer/ref-organ/heart-male/v1.2)

The Chapter 20 and Lab 20 regional views use Z-Anatomy’s selected major vessels. The export evaluates Blender curves into mesh geometry and keeps original positions. It leaves microscopic vessel walls and capillary exchange to diagrams. The [HRA vasculature GLBs and branching tables](https://humanatlas.io/vccf) provide an alternative reference for vessel nomenclature and branching. Teaching notes use [OpenStax heart anatomy](https://openstax.org/books/anatomy-and-physiology-2e/pages/19-1-heart-anatomy) and [circulatory pathways](https://openstax.org/books/anatomy-and-physiology-2e/pages/20-5-circulatory-pathways).

The respiratory, digestive and urinary models show selected gross structures for Labs 22, 24 and 25. The urinary export retains the kidney attribution and noncommercial terms documented by the atlas. [Z-Anatomy component credits](https://github.com/Z-Anatomy/Models-of-human-anatomy/blob/master/License.txt)

The Chapter 18 molecule uses the Cα coordinates of PDB 2HHB for the four backbone traces and HEM atom coordinates for four heme models. The gold meshes represent deoxygenated heme sites. The bond sticks are drawn from interatomic distances for teaching. [RCSB PDB 2HHB](https://www.rcsb.org/structure/2HHB) · [wwPDB data license](https://www.wwpdb.org/about/usage-policies)

To regenerate, download the [2HHB coordinate file](https://files.rcsb.org/download/2HHB.pdb) and [HRA heart GLB v1.2](https://cdn.humanatlas.io/hra-releases/v1.2/models/VH_M_Heart.glb). Run from the repository root.

```sh
BIOL24_HB_PDB=/path/to/2HHB.pdb BIOL24_HRA_HEART=/path/to/VH_M_Heart.glb \
  blender --background --disable-autoexec /path/to/Startup.blend \
  --python-exit-code 1 --python tools/export-cardiovascular-study.py
```

The exporter preserves the source atlas and records source hashes, geometry choices and per-structure licenses in `study-models-manifest.json`. The [shared credits](../../index.html#credits) cover the packaged GLBs and blood-smear photos.

## Chapter 22 respiratory reuse

Chapter 22 and Lab 22 share `study-respiratory.glb`: trachea, two main bronchi, five lung lobes and diaphragm. `/models/?chapter=22&view=respiratory` exposes the same nine selectable structures as Lab 22. The Exam 4 Model tab loads it on demand. No model geometry is duplicated or changed. Fixed respiratory Locate renders and measured anchors are documented in [respiratory provenance](../../exam-4/assets/respiratory/README.md).

## Chapter 22 expanded Model tab

Chapter 22 offers four views: lung lobes; trachea and main bronchi with transparent lungs; lungs, heart and optional thoracic cage; and a sagittal upper-airway/larynx cutaway with optional skull context. The original Lab 22 route and respiratory GLB remain unchanged.

`chapter22-thorax.glb` assembles 52 meshes from existing atlas-aligned respiratory, skeleton and Z-Anatomy heart exports. `chapter22-upper-airway.glb` contains 20 evaluated atlas meshes, including nasal lining, all three pharyngeal regions and the epiglottis. Selected patient-right surfaces, the lower trachea and upper frontal context are cut for visibility. Both assets retain CC BY-SA 4.0 and Z-Anatomy / BodyParts3D credits. Their per-mesh manifests record bounds, source/output hashes and cutaway variants.

Build with `tools/build-chapter22-models.py` in the reviewed source atlas with `--disable-autoexec`; it does not save the atlas. See [implementation and checks](../../docs/chapter-22-models.md).
