(Building and Environment 2025) Code generator of BuildNet3D https://www.sciencedirect.com/science/article/pii/S0360132325002136
Find a file
2024-12-18 17:46:17 +01:00
.github/workflows First commit 2024-12-18 16:52:54 +01:00
.vscode First commit 2024-12-18 16:52:54 +01:00
buildnet3d_dataset Remove old README 2024-12-18 17:36:00 +01:00
docker First commit 2024-12-18 16:52:54 +01:00
tests Remove unecessary function 2024-12-18 17:46:17 +01:00
.gitignore First commit 2024-12-18 16:52:54 +01:00
.python-version First commit 2024-12-18 16:52:54 +01:00
LICENSE.pdf LICENSE 2024-12-18 17:20:56 +01:00
pyproject.toml make open3d optional 2024-12-18 17:31:08 +01:00
README.md Update README 2024-12-18 17:22:06 +01:00
uv.lock make open3d optional 2024-12-18 17:31:08 +01:00

BuildNet3D dataset

This repository contains the code for generating the BuildNet3D dataset. It is a re-write of the code by the Computational Design Institute. We obtain similar buildings but we further compute the windows-to-wall ratio, ratio of wall and windows per facades of the building.

The codebase should also be more maintainable and easier to use.

Installation

We use UV to manage dependencies and the package. To install the environment simply run uv sync in the base folder.

This should install the package in a python 3.10 virtual environment.

Usage

To generate the dataset, run the following command:

"blender -b buildnet3d_dataset/blender_scripts/setup.blend --python buildnet3d_dataset/blender_scripts/dataset.py -- --output-dir ./outputs"

To change the type and number of building generated, change the config file in "buildnet3d_dataset/config/dataset_config.json". The file should look something like:

{
    "render_views": 1,  // number of view for each building
    "size": 1, // number of buildings generated
    "image_size": [
        500,
        500
    ],
    "roof_material": [
        "metall"
    ],
    "window_material": [
        "glass"
    ],
    "specific_views":[
        [90, 0, 0],
        [90, 0, 90],
        [90, 0, 180],
        [90, 0, 270]

    ]
}

To configure the segmentation use the "buildnet3d_dataset/config/segmentation_config.json" file.

Contributing

We welcome contributions to the BuildNet3D dataset. If you have any questions or suggestions, please open an issue or submit a pull request.

Code should be formatted using Ruff.

Citation

If you use the BuildNet3D dataset in your research, please cite the following paper: