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 |
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
def ArchSite.makeSite | ( | objectslist = None , |
|
baseobj = None , |
|||
name = "Site" |
|||
) |
makeBuilding(objectslist): creates a site including the objects from the given list.
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().
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().
def ArchSite.toNode | ( | shape | ) |
builds a linear pivy node from a shape
Referenced by makeSolarDiagram(), and makeWindRose().
int ArchSite.COMPASS_POINTER_LENGTH = 1000 |
int ArchSite.COMPASS_POINTER_WIDTH = 100 |