honeybee_3dm.face module

Create Honeybee objects(Face, Shade, Aperture, Door, Grid) from planar geometries in a Rhino 3DM file.

honeybee_3dm.face.import_objects(file_3dm, layer, tolerance)[source]

Get default Honeybee Faces for a Rhino3dm layer.

Parameters
  • file_3dm – A Rhino3dm file object.

  • layer – A Rhino3dm layer object.

  • tolerance – A number for model tolerance. By default the tolerance is set to the ModelAbsoluteTolerance value in input 3DM file.

Returns

A list of Honeybee Face objects.

honeybee_3dm.face.import_objects_with_config(rhino3dm_file, layer, tolerance, *, config=None, modifiers_dict=None)[source]

Import Rhino planar geometry as Honeybee faces.

This function looks up a rhino3dm file, converts the objects on the layer name “roof”, “wall”, “floor”, “airwall”, “shade”, and “aperture” to Honeybee objects, and converts them to Honeybee faces.

Parameters
  • rhino3dm_file – A Rhino3DM file object.

  • layer – A rhino3dm layer object.

  • tolerance – A number for model tolerance. By default the tolerance is set to the ModelAbsoluteTolerance value in input 3DM file.

  • config – A dictionary of config settings. Defaults to None

  • modifiers_dict – A dictionary with radiance identifier to modifier structure. Defaults to None.

Returns

A tuple of following lists;

  • Honeybee Face objects,

  • Honeybee Shade objects,

  • Honeybee Aperture objects,

  • Honeybee Door objects,

  • Honeybee grids.

A list wil be empty if no objects are imported from rhino file.