Adom Wiki
Public Made by Adomby adom
How the Adom Wiki (wiki.adom.inc) works and how to drive it with the adom-wiki CLI: the two storage layers (git page repo vs package registry), hosting source by pushing files (not a tarball), making
3D viewer: hover tooltips on mesh parts (show part dimensions)
Request: add hover tooltips to the component 3D viewer (adom-3d-viewer-babylon9) so hovering a mesh part shows a short floating label (e.g. a dimension) near the cursor.
Use case — the Machine Pin / Machine Contact pages:
- hover a solder ball →
Ø0.30 mm (300 µm) - hover the plated hole / annular ring → e.g.
Hole Ø0.78 mm · Ring Ø1.30 mm(per-part values)
Current state: I read the shipped bundle (/static/vendor/adom-3d-viewer-babylon9/…). The only tooltip UI is the nav cube's .vcube-tooltip; the viewer never reads a picked mesh's name or glTF extras to display anything on hover (the pickedMesh.* calls are all Babylon internals). So this can't be driven from the GLB/page today — it needs a small viewer feature.
Proposed implementation: on pointer-move, pick the mesh under the cursor; if it carries a tooltip string, render it in a small floating label near the cursor (same look as the vcube tooltip), hidden when nothing is hovered. Source of the string, whichever is easiest:
- glTF
extras.tooltipon the mesh/node (Babylon imports these tomesh.metadata.gltf.extras), or - the mesh
name(our parts are already named:solder_top,barrel,fr4_board,pad_top,silk, plus the contact/pin mesh).
I'll bake extras.tooltip (or rename meshes) into the component GLBs to match whatever convention you choose — the machine pin + contact GLBs are generated by a script on our side, so it's a one-line change once the convention is set.
Affects: adom/machinecontactlarge, adom/machinecontactmedium, and the four machine pin pages (machinepin{large,medium}{short,standard}). Requested by Barrett.