Skip to content

Action Required: Fix BIM Designer Guide Section 3.2 Prerequisites (DB Missing) #2

Description

@serviteur

I cloned the BIM Compiler:

Quick Start Guide

Requirements: Java 17+, Maven 3.8+, SQLite3

git clone https://github.com/red1oon/BIMCompiler.git && cd bim-compiler
mvn compile -q # Build all modules
./scripts/run_RosettaStones.sh classify_sh.yaml # Compile Sample House & validate gates
./scripts/run_tests.sh # Execute full test gate (392 tests)
Environment Details
These steps were performed using WSL2 (Ubuntu 24.04.01 LTS) on Windows 11 with Blender 5.1.1 and Bonsai 0.8.5
Implementation followed the BIM Designer Guide available here:

Section 3.2 of the User Guide doesn't work on a fresh clone

Following the documented commands mvn test -pl BIMBackOffice and mvn test -pl BonsaiBIMDesigner on a fresh git clone produces failures because:
BonsaiBIMDesigner/pom.xml references ${pipeline.tests.skip}, defaulted to true in the parent pom. Tests are silently skipped without -Dpipeline.tests.skip=false.

The BIMBackOffice tests require library/SH_BOM.db to be populated with the current schema, but a fresh clone ships an empty library/SampleHouse_BOM.db (0 bytes). The m_bom_line table doesn't exist until the bootstrap pipeline runs.

Running ./scripts/run_RosettaStones.sh classify_sh.yaml (per the README quickstart) populates SH correctly. After that, mvn test -pl BIMBackOffice would presumably work — but section 3.2 doesn't mention this prerequisite.

Running the full Rosetta fleet (./scripts/run_RosettaStones.sh) produces 18/21 building failures because DAGCompiler/lib/input/{Building}_extracted.db files are not present in a fresh clone (they exist in deploy/buildings/ but the pipeline reads from DAGCompiler/lib/input/). The error message helpfully points at python3 tools/extract.py --to reference ..., but tools/extract.py doesn't exist in the repo.

Suggested fix: add a "Prerequisites" subsection to 3.2 that runs run_RosettaStones.sh classify_sh.yaml first, and either ship the pre-extracted DBs in DAGCompiler/lib/input/ or document the extraction step.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions