File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232 box_room , complex_room ,
3333 get , get_from_pattern ,
3434 ApertureManager , add_aperture ,
35- join_surface
35+ join_surface ,
36+ view_boundaries
3637)
3738
38- LOGGER = get_logger ("idfhub" , level = logging .INFO )
39+ LOGGER = get_logger (log_level = logging .INFO )
3940
4041# Building global params
4142ADMIN_WIDTH = 37.0
4243ADMIN_DEPTH = 11.0
4344LEVEL_HEIGHT = 3.0
4445
45- def view_boundaries (building : Model ):
46- """check boundary conditions"""
47- for element in building :
48- for _face in element .faces :
49- message = f"id: { _face .identifier } type: { type (_face .type )} "
50- LOGGER .info (message )
51- message = f"bc: { _face .boundary_condition } "
52- LOGGER .info (message )
53- message = f"material: { _face .properties .energy .construction .identifier } "
54- LOGGER .info (message )
46+
5547
5648print ("-> Creating Honeybee Rooms....." )
5749
Original file line number Diff line number Diff line change 66from honeybee .boundarycondition import Surface
77from honeybee .door import Door
88from honeybee .face import Face
9+ from honeybee .model import Model
910from honeybee .room import Room
1011
1112from honeybee_energy .construction .window import WindowConstruction
2829DOOR = "door"
2930WIN = "win"
3031
32+ def view_boundaries (building : Model ):
33+ """check boundary conditions"""
34+ for element in building :
35+ for _face in element .faces :
36+ message = f"id: { _face .identifier } type: { type (_face .type )} "
37+ LOGGER .info (message )
38+ message = f"bc: { _face .boundary_condition } "
39+ LOGGER .info (message )
40+ message = f"material: { _face .properties .energy .construction .identifier } "
41+ LOGGER .info (message )
42+
3143def box_room (
3244 name ,
3345 width = WIDTH ,
You can’t perform that action at this time.
0 commit comments