---
name: adom-3d-viewer-babylon9
user-invocable: true
description: >
  Embed the Adom 3D viewer (Babylon 9.5 ESM bundle) in a page or tool: load GLB
  models with Z-up CAD framing, view cube, layers toolbar, ground shadows, and
  laser-etch overlays. Use when a page or app needs to render a PCB, component,
  or any GLB in 3D, pin a specific viewer version, or vendor the bundle into a
  downstream tool. Triggers: 3d viewer, show glb, render pcb in 3d, babylon
  viewer, layers toolbar, vendor the viewer bundle.
---
# adom-3d-viewer-babylon9

The Babylon 9.5 viewer engine behind every component page's 3D tab on
wiki.adom.inc. Ships as a versioned ESM bundle (entry + code-split chunks).

## Get the bundle

Pinnable, versioned artifact (recommended for tools that vendor it):

```bash
adom-wiki release download adom/adom-3d-viewer <version> adom-3d-viewer-babylon9-<version>.tar.gz
tar -xzf adom-3d-viewer-babylon9-<version>.tar.gz -C ./vendor/3d-viewer/
```

The extracted VERSION file records exactly which build you have.

## Embed it

```html
<script>
  window.process = window.process || { env: { NODE_ENV: "production" } };
  window.global = window.global || window;
</script>
<script type="module">
  await import("/vendor/3d-viewer/adom-3d-viewer-babylon9.esm.js");
  const v = window.Adom3DViewerBabylon9;
  const viewer = v.init(host, { zUp: true });
  await viewer.loadModel("model.glb");
  viewer.frameModel();
</script>
```

Full API (loadModel, frameModel, toggleAxes, layers toolbar, laser etch,
BABYLON namespace re-export) is documented in the README on this page. Source
lives on the Files tab; `adom-wiki repo clone adom/adom-3d-viewer`
gets you a working checkout.
