honeybee_plus.radiance.analysisgridlite module

Honeybee PointGroup and TestPointGroup.

class honeybee_plus.radiance.analysisgridlite.AnalysisGridLite(analysis_points, name=None)[source]

Bases: object

A grid of analysis points.

analysis_points

A collection of analysis points.

ToString()[source]

Overwrite ToString .NET method.

property analysis_points

Return a list of analysis points.

duplicate()[source]

Duplicate AnalysisGridLite.

classmethod from_file(file_path, start_line=None, end_line=None)[source]

Create an analysis grid from a pts file.

Parameters
  • file_path – Full path to points file

  • start_line – Start line (default: 0)

  • end_line – End line as an integer (default: last line in file)

classmethod from_json(ag_json)[source]

Create an analysis grid from json objects.

classmethod from_points_and_vectors(points, vectors, name=None)[source]

Create an analysis grid from points and vectors.

Parameters
  • points – A flatten list of (x, y ,z) points.

  • vectors – An list of (x, y, z) for direction of test points.

property isAnalysisGrid

Return True for AnalysisGridLite.

property isAnalysisGridLite

Return True for AnalysisGridLite.

property name

AnalysisGridLite name.

property points

A generator of points as x, y, z.

property status

AnalysisGridLite status. -1 - removed 0 - created 1 - modified 2 - unchanged

to_json()[source]

Create json object from AnalysisGridLite.

to_rad_string()[source]

Return analysis points group as a Radiance string.

property vectors

Get generator of vectors as x, y , z.

write(folder, filename=None, mkdir=False)[source]

write analysis grid to file.