Viewer
The 3D viewer (@bimworks/viewer3d, WebGL2) and the 2D viewer (@bimworks/viewer2d), JavaScript components that render models and share their state through viewercommon. Also the viewers built into the BIM.works UI.
Both viewers are attached to one ModelManager (which versions are loaded) and one ObjectStateManager (which objects are visible, selected and coloured), so they show the same models and the same state. The 3D viewer streams the server-generated geometry, has LOCAL and GEO placement modes, section planes, measurements, annotations and navigation modes; the 2D viewer draws the per-storey floor plans of IFC models. PDF and DWG sheets are shown in the 3D viewer. See Geometry and the viewers.