W11: Show & Tell#

16th November 2026

Go to tools.boxbuild.dk.

Week 11: develop your team’s tool#

Work in Team diagrams. You do not need to copy your blocks into a subject canvas or find a recipient for every internal function.

11.1 Find who needs your analysis#

Identify a team that could use your analysis outputs in its own tool. Your own team can be the first user.

In the relevant block’s Notes, record:

  • Who needs the output?

  • What will their tool do with it?

Responsible team identifies the provider, not the receiver.

11.2 Agree a useful output#

Discuss with the receiving team:

  • What data should you return, including element IDs and units where relevant?

  • Which building model and version will you use?

  • What would make the output suitable for their tool?

Name the output under Produces and record scope and limitations in Notes. Choose something small enough to implement and test.

For example: “Return door GlobalIds, measured widths and missing-width flags, so the receiving team’s escape-route tool can check its selected doors.”

11.3 Check your agreement#

Ask the receiving team:

Would this output give your tool the information it needs?

Record their response or any unresolved questions in Notes. If no recipient is available yet, record your intended use and continue; this does not block coding.

11.4 Build and test a small function#

Follow the Working Together example. You can start coding now; do not wait for a finished output agreement.

  1. Copy the IFC starter template into your existing repository as A4/your-capability-name.

  2. Follow its setup instructions. In src/settings.py, set your local IFC path, keeping the r before the quotes: MODEL_PATH = r"C:\Models\building.ifc". Run the unchanged example first; it counts windows.

  3. Edit src/main.py: keep a clearly named callable function, starting with analyse(model), and adapt it to one small part of your analysis.

  4. Run again and inspect results/run-.../result.json. Each run creates a new folder; previous results are not overwritten.

  5. Commit your code and link its GitHub folder in the block’s Notes.

Run the example on Windows#

Open a terminal in your copied capability folder. For first-time setup with Python 3.14 installed:

py -3.14 -m venv .venv
.\.venv\Scripts\python.exe -m pip install -r requirements.txt
.\.venv\Scripts\python.exe src\runall.py

After editing your function, repeat only the last command. Use your course-supported Python version if different.

If you already installed IfcOpenShell directly into Python 3.14, you can instead open a terminal in src and run py -3.14 runall.py. If python reports a missing package although pip says it is installed, they may refer to different Python installations. Install packages using the same interpreter that runs the script, for example py -3.14 -m pip install -r ..\requirements.txt from src.

Run runall.py, not main.py: main.py defines the analysis function; the runner loads your model, calls it and prints the saved result location.

Give each function one main Capture, Connect, Calculate, Check, Compare or Communicate purpose. Report missing information explicitly; do not turn errors into valid zeros. Update CHANGELOG.md for meaningful changes and their effect on the output.

The starter loads a real IfcOpenShell model and saves JSON locally. It does not run inside node-comply or automatically share results. We will refine the outputs from your agreements without requiring you to rewrite the whole tool.

Not every canvas block needs code: some describe decisions or manual activities. Reuse existing analyses or functions where useful.

Before the checkpoint: save with Save shared workspace. Moving blocks or clicking Save block does not save the workspace to the shared database.

https://github.com/timmcginley/node-comply/tree/main/ifc-starter