create

dragonfly create

Commands for creating Dragonfly models.

dragonfly create [OPTIONS] COMMAND [ARGS]...

from-honeybee

Create a Dragonfly Model from Honeybee Model(s).

Args:
base_model: Full path to a Honeybee Model JSON or Pkl file that serves
as the base for the resulting Dragonfly Model. This model
determines the units and tolerance of the output model.
dragonfly create from-honeybee [OPTIONS] BASE_MODEL

Options

-m, --other-model <other_model>

Another Honeybee Model to be added as a separate Building in the resulting Dragonfly Model.

-c, --conversion-method <conversion_method>

Text to indicate how the Honeybee Rooms should be converted to Dragonfly. Choose from: AllRoom2D, ExtrudedOnly, AllRoom3D. Note that the AllRoom2D option may result in some loss or simplification of the 3D Honeybee geometry but ensures that all of the Dragonfly features for editing the rooms can be used. The ExtrudedOnly method will convert only the 3D Rooms that would have no loss or simplification of geometry when converted to Room2D. AllRoom3D keeps all detailed 3D geometry on the Building.room_3ds property, enabling you to convert the 3D Rooms to Room2D using the Building.convert_room_3ds_to_2d() method as you see fit.

Default:

'ExtrudedOnly'

-f, --output-file <output_file>

Optional file to output the Model DFJSON string. By default it will be printed out to stdout

Arguments

BASE_MODEL

Required argument

merge-models

Create a Dragonfly Model by merging multiple models together.

Args:
base_model: Full path to a Dragonfly Model JSON or Pkl file that serves
as the base into which the other model(s) will be merged. This model
determines the units and tolerance of the output model.
dragonfly create merge-models [OPTIONS] BASE_MODEL

Options

-m, --other-model <other_model>

The other Model to be merged into the base model.

-f, --output-file <output_file>

Optional file to output the Model DFJSON string. By default it will be printed out to stdout

Arguments

BASE_MODEL

Required argument