What problem does it solve?
This Skill prevents broken or inconsistent element selection and highlighting in a ThatOpen BIM viewer by providing a correct, production-grade setup path for Highlighter, Hoverer, Outliner, and Mesher coordination.
Core Features & Use Cases
- Click selection with styles: Implement Highlighter-based element selection with named visual styles, multi-select modes, exclusion filters, and zoom-to-selection.
- Hover feedback without corrupting selection state: Use Hoverer for cursor/visual feedback while keeping selection state exclusively managed by Highlighter.
- Post-processing outlines: Configure Outliner so outlined rendering matches Highlighter style names and works only with the correct renderer configuration.
- Fragment-to-mesh conversion: Convert highlighted fragments into standard THREE.Mesh instances via Mesher for custom rendering, exports, or manipulation, with explicit lifecycle handling.
- Performance-aware picking guidance: Provide decision points for when GPU picking (FastModelPicker) is justified for very large models.
Quick Start
Use thatopen-impl-viewer first, then create a Highlighter, call setup({ world }), create matching style(s), enable Outliner only with PostproductionRenderer and postproduction enabled, and finally use highlightByID or highlight for selection while disposing any Mesher meshes manually.