honeybee_plus.radiance.staticscene module

Radiance scene.

class honeybee_plus.radiance.staticscene.StaticScene(files, copy_local=True, overwrite=False)[source]

Bases: object

Radiance base scene.

Use this class to create a base for the radiance studies by using a number of radiance files. The main advantage of creating a scene is to avoid re-creating the geometries and writing the files in parametric studies.

Parameters
  • files – List of radiance files. Valid files are *.rad, *.mat and *.oct.

  • copy_local – Set to True to copy the files to the analysis folder (Default: True).

  • overwrite – Set to True to overwrite the files if already exist.

ToString()[source]

Overwrite ToString .NET method.

property file_count

Number of total files in the scene.

property files

A named tuple of radiance files.

keys are: (mat, oct, rad)

classmethod from_json(payload, folder)[source]

Read StaticScene from a dictionary.

This method needs to copy the files in a target folder.

to_json()[source]

Convert StaticModel to JSON. {‘type’: ‘StaticScene’, ‘content’: ‘zipped_file’}

to_rad_string()[source]

Return list of files as single string.