BIM.works 2.0
What BIM.works 2.0 added over 1.5 — a rebuilt 3D viewer with culling on the GPU and new navigation modes, PDF sheets and model alignment, the OpenAPI with generated clients, CityGML 3 export — and what an upgrade from 1.5 changes.
BIM.works 2.0 followed 1.5, and 3.0 followed it. Its builds were numbered 2.0.0-b.N. The 3D viewer was rebuilt from the ground up, the repository gained the OpenAPI as its standard HTTP interface, and PDF drawings joined IFC models in the viewer. The first link of every row is the page that documents the feature today.
3D viewer#
| Feature | Where it is documented |
|---|---|
A rebuilt 3D viewer — new internals with the same public entry points. Loading and culling run in web workers when allowed, and memory is shared with them through SharedArrayBuffer where the page is cross-origin isolated. Every feature now also works without workers, rectangular selection and culling included. On Chromium-based browsers the viewer is set up in 40 ms instead of 350 ms, and the first navigation responds sooner, especially on touch devices. |
inside the 3D viewer · workers and isolation · the technologyAllowed setting |
| Culling on the GPU — finished in 2.0: objects outside the view or too small to matter are skipped. Culling runs in WebGPU or WebGL where available and on the CPU otherwise, and the best available implementation is chosen at run time. On large models this makes a large difference in frame rate. | how culling works · realtimeSettings.culling · spatialQuerying |
| PDF sheets — a PDF, such as a floor plan or a plot plan, uploads like a model and shows in the 3D viewer next to IFC models. Tools set its translation, rotation and scale, and BIM.works stores the alignment. | Upload in the UI · file type PDF · Set the alignment · how sheets are drawn |
| Aligning models — any model version can carry an extra transformation, and viewer methods help define one from picked points. The BIM.works UI gained a dual viewer mode, mostly for aligning. | Set the alignment · Alignment |
| Navigation modes — walk, game (pointer lock) and drone, next to the default, plus custom modes with their own key bindings. | Navigation modes · Default key bindings · navigationModes |
| Measuring — a laser measurement (beta). Measurements are easier to read, with more contrast and clearer units, and picking a vertex works reliably the first time. | Measure areas, angles and with the laser · in the app |
| Section planes from the real bounds — the default section planes are placed from the model's real bounds, not its axis-aligned box, which matters for models that are rotated in place. | Section planes |
Point clouds — E57 files with ScaledInteger values load. Large clouds are processed more efficiently on the server, and streaming a large tile set into the viewer puts much less load on the server. |
Show point clouds · file type E57 |
Repository and API#
| Feature | Where it is documented |
|---|---|
| The OpenAPI — every instance serves an OpenAPI document with a Swagger UI. The first version covers a selected set of calls. | Introduction · Your first API calls · OpenAPI |
| Generated clients — the first beta releases of a PHP and a Python SDK generated from the OpenAPI document, and a generated Java client next to the hand-written one. | PHP · PHP SDK · the generated Java client |
| CityGML 3 export — an IFC model exported as CityGML 3. | ExportCityGML3 · in the PHP client |
Full-text search in BQL — a text index over the objects of a model, queried from WHERE. |
full-text search |
| Faster, leaner check-ins — uploads use the server's cores better, up to almost twice as fast on machines with many cores. Processing an IFC model needs much less memory: every test model processes in an 8 GB JVM. Uploading large models from Safari works again. | Upload a model · what processing does |
| Clash detection — faster, and it needs less memory. | clash detection in BQL |
| One Docker image — the GPU-enabled repository is part of the main Docker image and no longer needs a separate one (also backported to 1.5). | Configure the render backend |
| Moving and renaming nodes — available in the API. | MoveNode · Nodes, versions and the tree |
| Text to action with Anthropic — the language-model calls behind text to action can use Anthropic's models as well as OpenAI's. | LLM assistance |
Smaller changes: the LOD2 output of the 3D Tiles export is in the correct position again, and rendering can be done at a lower resolution and scaled up. The setting exists, but in testing it gained little, even on phones.
Upgrading from 1.5#
Applications
- Upgrade the packages with the server. The JavaScript packages are built with Vite and still published as ES modules. Packages used in both browsers and Node.js have separate browser and Node.js entry points, so a deep import into a package's files breaks (JavaScript and TypeScript, why versions travel together).
- Node.js 22.4 or later is required for server-side use of the JavaScript packages (Node.js).
- Web workers are off by default. 1.4 and 1.5 had them on. The
webWorkerviewer setting was removed: allow workers withtechnologyAllowed.webWorker(technologyAllowed, workers and isolation). With Vite 7 in development,optimizeDeps.excludefor@bimworks/viewer3dbreaks aninstanceofcheck in the viewer. Vite 8 needs no exclude and runs the workers as they are. - The viewer's internals changed. Code that used non-public viewer APIs may break.
- Java.
TreeNodeDeletedStatusandNodeVersionDeletedStatusbecame oneRecordStatus. Otherwise the hand-written client is unchanged. - Version numbers. Beta builds carry a dot before the build number (
2.0.0-b.12, was2.0.0-b12), so npm and NuGet order them numerically, not alphabetically (the release scheme).
Instances
- The feature index uses RocksDB. Remove an existing
feature_dbsection from the configuration (preferred), or set itstypetoROCKSDB. - The instance accepts only the file types listed in its
file_typessetting (IFC and ZIP by default). List every type your users upload (Upload in the UI, File types). - The models are reindexed after the upgrade, from 1.5 as from every earlier release.