Skip to content

tudelft3d/roomplan_to_honeybee

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RoomPlan to HoneyBeeJSON

This tool converts the output of Apple's RoomPlan API to HoneyBeeJSON which can be directly be used in Grasshopper to perform daylight simulations.

Installation

Before usage install the required packages in requirements.txt

pip install -r requirements.txt

Usage

pipeline [-h] --usdz-file USDZ_FILE --hbjson-folder HBJSON_FOLDER --model-name MODEL_NAME [--sill-width METERS]
                [--extrude-windows | --no-extrude-windows] [--include-furniture | --no-include-furniture] [--dry-run]

Run the RoomPlan → Honeybee pipeline. This tool processes an input USDZ file exported from Apple's RoomPlan API scan and generates HoneyBeeJSON ready for daylight simulations in Grasshopper.

options:
  -h, --help            show this help message and exit
  --usdz-file USDZ_FILE
                        Path to the input USDZ file (RoomPlan export). May be absolute or relative to main.py. (default: None)
  --hbjson-folder HBJSON_FOLDER
                        Output directory where Honeybee JSON files will be written. Created if it does not exist. (default: None)
  --model-name MODEL_NAME
                        Identifier used for naming the generated model and output files. (default: None)
  --sill-width METERS   Window sill width in meters. (default: 0.19)
  --extrude-windows     Enable window extrusion (default). (default: True)
  --no-extrude-windows  Disable window extrusion. (default: True)
  --include-furniture   Include detected furniture in the exported model. (default: False)
  --no-include-furniture
                        Exclude furniture from the exported model (default). (default: True)
  --dry-run             Parse arguments and print the resolved configuration without running the pipeline. (default: False) 

Example

python.exe main.py --usdz-file .\data\GeoinfoLab\Room.usdz --hbjson-folder .\output\GeoinfoLab_extruded_no_furniture --model-name GeoinfoLab_extruded_no_furniture --extrude-windows  --sill-width 0.32 --no-include-furniture

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%