Static Methods Defined Here
centre_to_origin ()
Centres the model on the grid origin (0,0).
get_ext_windows (max_wwr)
Reduce external windows so that the max window-to-wall ratio is not exceeded
Arguments:
|
max_wwr (float)
|
Max window-to-wall ratio
|
get_wwr () -> Window-to-wall ratio (float)
Get the model's window-to-wall ratio
remove_doors (flag, opening_area)
Remove doors from the model.
Arguments:
flag (int): 0 = all, 1 = internal, 2 = external
opening_area (float): Opening area threshold, all doors with an area below this threshold are removed.
If 0.0, removes all doors
remove_holes (flag, opening_area)
Removes holes from the model.
Arguments:
|
flag (int)
|
0 = all, 1 = internal, 2 = external
|
|
opening_area (float)
|
Opening area threshold, all holes with an area below this threshold are removed. If 0.0, removes all holes
|
remove_openings_below_area_threshold (area_threshold)
Remove openings below the provided threshold area for the selected body. Use VEBody.select() to select a body.
Arguments:
|
area_threshold (float)
|
Area threshold in square metres
|
set_body_opening_type (opening_type)
Change opening type for selected body's openings. Use VEBody.select() to select a body
Arguments:
|
opening_type (string)
|
Opening type. Valid entries are 'door', 'window' and 'hole'
|
set_colour (colour_index)
Set colour of the selected body
Arguments:
|
colour_index (int)
|
Index of the colour to set.
|
|
|
|
Possible colour index values:
|
0
|
BLUE
|
|
1
|
GREEN
|
|
2
|
RED
|
|
3
|
YELLOW
|
|
4
|
PURPLE
|
|
5
|
ORANGE
|
|
6
|
CYAN
|
|
7
|
LIGHT GREY
|
|
48
|
WHITE
|
|
56
|
BLACK
|
set_percent_doors (percent_doors)
Set percent doors for the selected body. Use VEBody.select() to select a body.
Arguments:
|
percent_doors (int)
|
Percent doors to set
|
set_percent_glazing (percent_glazing)
Set percent glazing of external surfaces for the selected body. Use VEBody.select() to select a body.
Arguments:
|
percent_glazing (int)
|
Percent glazing to set
|
set_percent_holes (percent_holes)
Set percent holes for the selected body. Use VEBody.select() to select a body.
Arguments:
|
percent_holes (int)
|
Percent holes to set
|
set_percent_wall_glazing (percent_glazing)
Set percent glazing of walls for the selected body. Use VEBody.select() to select a body.
Arguments:
|
percent_glazing (int)
|
Percent glazing to set.
|