__init__.py Initialization file for the BDLevel package.
BDLevel Resources for managing Buildes levels.
moduleauthor: | Kene Meniru <Kene.Meniru@illom.org> |
---|
This is a description of what the following modules do. This information is important to understand the structure and relationship between the various parts of buildes.
The levelmanager module provides objects used in the buildes module and the buildesapp object to create the leveldata object.
leveldata
Provides objects that create and manage building level data in buildes.
moduleauthor: | Kene Meniru <Kene.Meniru@illom.org> |
---|
Bases: buildesdata.BuildesData
Creates and manages building level data.
Add a group name to the list of groups for level.
This is acceptable only if name is not already a saved group id.
Parameter: | name (String) – Name of a group |
---|---|
Returns: | Whether adding the named group was successful |
Return type: | Boolean |
Retrieves group names owned by this level object.
Returns: | Names of group objects. |
---|---|
Return type: | List |
Level Control
Provides the objects that control the process of creating levels in Buildes.
moduleauthor: | Kene Meniru <Kene.Meniru@illom.org> |
---|
Bases: buildesmanager.BuildesManager
Control class for leveldata objects.
Finds the newest level created.
Returns: | Newest level object. |
---|---|
Return type: | SiteData |
Get named object parent from list of groups in provided level obj
Parameters: |
|
---|---|
Returns: | Name of parent for named mark |
Return type: | String |
Finds the base elevation for the current level.
Returns: | Current level base elevation |
---|---|
Return type: | Float |
Finds the top elevation for the current level.
Returns: | Current level top elevation |
---|---|
Return type: | Float |
Perform common functions for all data objects
Parameter: | data – |
---|
Creates a new LevelData object.
Parameters: |
|
---|---|
Returns: | A new level data object |
Return type: | LevelData |
Compile basic information about data.
Parameter: | data – |
---|
Make shape for pyOCC
If there is at least one space in the level, then attempt to make the shape otherwise just compile information about the site.
Parameter: | data (BuildsData) – Data object for making shape |
---|
Formulates name for grouping object for marks
Parameter: | num (Integer) – Level number |
---|---|
Returns: | Name of grouping object for Marks in the level |
Return type: | String |
Select named level as current.
Parameter: | name (String) – Level name |
---|
Summarized parts message.
Parameter: | obj (BuildesData) – Object for which to create summary message. |
---|---|
Returns: | Formatted text for predetermined cells in the spreadsheet |
Return type: | SpreadSheet |
Summarized relations message.
For example, level object should have number of contained spaces. Use this to implement parametrics in Buildes.
Parameter: | obj (BuildesData) – Object for which to create summary message. |
---|---|
Returns: | Formatted text for predetermined cells in the spreadsheet |
Return type: | SpreadSheet |