ArchSite Namespace Reference
The Site object and tools. More...
Classes | |
class Compass | |
Functions | |
def makeSite (objectslist=None, baseobj=None, name="Site") | |
def makeSolarDiagram (longitude, latitude, scale=1, complete=False, tz=None) | |
def makeWindRose (epwfile, scale=1, sectors=24) | |
def toNode (shape) | |
Variables | |
int COMPASS_POINTER_LENGTH = 1000 | |
int COMPASS_POINTER_WIDTH = 100 | |
Detailed Description
The Site object and tools.
This module provides tools to build Site objects. Sites are containers for Arch objects, and also define a terrain surface
Function Documentation
◆ makeSite()
def ArchSite.makeSite | ( | objectslist = None , |
|
baseobj = None , |
|||
name = "Site" |
|||
) |
makeBuilding(objectslist): creates a site including the
objects from the given list.
◆ makeSolarDiagram()
def ArchSite.makeSolarDiagram | ( | longitude, | |
latitude, | |||
scale = 1 , |
|||
complete = False , |
|||
tz = None |
|||
) |
makeSolarDiagram(longitude,latitude,[scale,complete,tz]):
returns a solar diagram as a pivy node. If complete is
True, the 12 months are drawn. Tz is the timezone related to
UTC (ex: -3 = UTC-3)
References toNode().
Referenced by ArchSite.Compass.buildCoordinates().
◆ makeWindRose()
def ArchSite.makeWindRose | ( | epwfile, | |
scale = 1 , |
|||
sectors = 24 |
|||
) |
makeWindRose(site,sectors):
returns a wind rose diagram as a pivy node
References toNode().
Referenced by ArchSite.Compass.buildCoordinates().
◆ toNode()
def ArchSite.toNode | ( | shape | ) |
builds a linear pivy node from a shape
Referenced by makeSolarDiagram(), and makeWindRose().
Variable Documentation
◆ COMPASS_POINTER_LENGTH
int ArchSite.COMPASS_POINTER_LENGTH = 1000 |
◆ COMPASS_POINTER_WIDTH
int ArchSite.COMPASS_POINTER_WIDTH = 100 |