honeybee_plus.radiance.geometry.cylinder module¶
Radiance Cylinder.
http://radsite.lbl.gov/radiance/refer/ray.html#Cylinder
-
class
honeybee_plus.radiance.geometry.cylinder.
Cylinder
(name, center_pt_start=None, center_pt_end=None, radius=None, modifier=None)[source]¶ Bases:
honeybee_plus.radiance.geometry.geometrybase.RadianceGeometry
Radiance Cylinder.
A cylinder is like a cone, but its starting and ending radii are equal.
mod cylinder id 0 0 7
x0 y0 z0 x1 y1 z1 rad
-
center_pt_end
= None¶
-
center_pt_start
= None¶
-
classmethod
from_json
(geo_json)[source]¶ Make radiance material from json {
“type”: “cylinder”, // Geometry type “modifier”: {} or “void”, “name”: “”, // Geometry Name “center_pt_start”: {“x”: float, “y”: float, “z”: float}, “center_pt_end”: {“x”: float, “y”: float, “z”: float}, “radius”: float
}
-
classmethod
from_string
(geometry_string, modifier=None)[source]¶ Create a Radiance geometry from a string.
If the geometry has a modifier the modifier material should also be part of the string or should be provided using modifier argument.
-
radius
= None¶
-