IfcOpenShell web viewer — JavaScript API

Every control below is plain DOM driving the viewer object from ifcviewer.js — read this page's source, each button is one call. It is also on window.viewer, so you can drive it from the devtools console.  ↩ all examples

Drag to orbit · scroll to zoom · right-click to select (drag right-click to box-select several, shift+right-click to add)
Starting WebGPU…