translate

dragonfly-radiance translate

Commands for translating Dragonfly files to/from Radiance.

dragonfly-radiance translate [OPTIONS] COMMAND [ARGS]...

model-to-rad

Translate a Dragonfly Model file to a Radiance string.

The resulting string will include all geometry and all modifiers.

Args:
model_file: Full path to a Dragonfly Model JSON or Pkl file.
dragonfly-radiance translate model-to-rad [OPTIONS] MODEL_FILE

Options

--multiplier, -fg, --full-geometry

Flag to note if the multipliers on each Building story will be passed along to the generated Honeybee Room objects or if full geometry objects should be written for each story in the building.

Default:

True

--no-plenum, -p, --plenum

Flag to indicate whether ceiling/floor plenums should be auto-generated for the Rooms.

Default:

True

--no-ceil-adjacency, -a, --ceil-adjacency

Flag to indicate whether adjacencies should be solved between interior stories when Room2Ds perfectly match one another in their floor plate. This ensures that Surface boundary conditions are used instead of Adiabatic ones. Note that this input has no effect when the object-per-model is Story.

Default:

True

--blk <blk>

Boolean to note whether the “blacked out” version of the geometry should be output, which is useful for direct studies and isolation studies of individual apertures.

Default:

False

--minimal, --maximal

Flag to note whether the radiance strings should be written in a minimal format (with spaces instead of line breaks).

Default:

False

-f, --output-file <output_file>

Optional Rad file to output the Rad string of the translation. By default this will be printed out to stdout

Default:

'-'

Arguments

MODEL_FILE

Required argument