STEP 01
Build the SDK
You’ll need a C++20 compiler, CMake 3.25+, Ninja and zlib. The
core builds on Linux, macOS and Windows.
Build documentation ↗
git clone https://github.com/specklesystems/tekla-db1-sdk.git
cd tekla-db1-sdk
cmake --preset release
cmake --build --preset release
ctest --preset release
STEP 02
Inspect a DB1 or export a GLB
Point the tools at a DB1 in its original model folder. Keep
adjacent catalogs and shape assets together so the reader can
discover them.
These commands run locally. The model above is a hosted preview.
# Summarise objects, properties and relationships
build/release/tools/tekla-db1-inspect /path/to/model.db1 --semantics
# Export supported display geometry to GLB
build/release/tools/tekla-db1-glb /path/to/model.db1 preview.glb