dragonfly-schema 1.9.9__py2.py3-none-any.whl → 1.10.0__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
dragonfly_schema/model.py CHANGED
@@ -3,7 +3,7 @@ from pydantic import BaseModel, Field, root_validator, constr, conlist
3
3
  from typing import List, Union
4
4
 
5
5
  from honeybee_schema._base import IDdBaseModel
6
- from honeybee_schema.model import Face3D, Units
6
+ from honeybee_schema.model import Room, Face3D, Units
7
7
  from honeybee_schema.boundarycondition import Ground, Outdoors, Surface, \
8
8
  Adiabatic, OtherSideTemperature
9
9
  from honeybee_schema.altnumber import Autocalculate
@@ -245,14 +245,33 @@ class Building(IDdBaseModel):
245
245
  type: constr(regex='^Building$') = 'Building'
246
246
 
247
247
  unique_stories: List[Story] = Field(
248
- ...,
248
+ default=None,
249
249
  description='An array of unique dragonfly Story objects that together form '
250
250
  'the entire building. Stories should generally be ordered from lowest '
251
- 'floor to highest floor. Note that, if a given Story is repeated several '
252
- 'times over the height of the building, the unique story included in this '
251
+ 'floor to highest floor, though this is not required. Note that, if a '
252
+ 'given Story is repeated several times over the height of the building '
253
+ 'and this is represented by the multiplier, the unique story included in this '
253
254
  'list should be the first (lowest) story of the repeated floors.'
254
255
  )
255
256
 
257
+ room_3ds: List[Room] = Field(
258
+ default=None,
259
+ description='An optional array of 3D Honeybee Room objects for additional '
260
+ 'Rooms that are a part of the Building but are not represented within '
261
+ 'the unique_stories. This is useful when there are parts of the Building '
262
+ 'geometry that cannot easily be represented with the extruded floor '
263
+ 'plate and sloped roof assumptions that underlie Dragonfly Room2Ds '
264
+ 'and RoofSpecification. Cases where this input is most useful include '
265
+ 'sloped walls and certain types of domed roofs that become tedious to '
266
+ 'implement with RoofSpecification. Matching the Honeybee Room.story '
267
+ 'property to the Dragonfly Story.display_name of an object within the '
268
+ 'unique_stories will effectively place the Honeybee Room on that Story '
269
+ 'for the purposes of floor_area, exterior_wall_area, etc. However, note '
270
+ 'that the Honeybee Room.multiplier property takes precedence over '
271
+ 'whatever multiplier is assigned to the Dragonfly Story that the '
272
+ 'Room.story may reference. (Default: None).'
273
+ )
274
+
256
275
  properties: BuildingPropertiesAbridged = Field(
257
276
  ...,
258
277
  description='Extension properties for particular simulation engines '
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dragonfly-schema
3
- Version: 1.9.9
3
+ Version: 1.10.0
4
4
  Summary: Dragonfly Data-Model Objects
5
5
  Home-page: https://github.com/ladybug-tools/dragonfly-schema
6
6
  Author: Ladybug Tools
@@ -10,7 +10,7 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
10
10
  Classifier: Operating System :: OS Independent
11
11
  Description-Content-Type: text/markdown
12
12
  License-File: LICENSE
13
- Requires-Dist: honeybee-schema (==1.57.0)
13
+ Requires-Dist: honeybee-schema (==1.57.1)
14
14
 
15
15
  [![Build Status](https://travis-ci.com/ladybug-tools/dragonfly-schema.svg?branch=master)](https://travis-ci.com/ladybug-tools/dragonfly-schema)
16
16
  [![Coverage Status](https://coveralls.io/repos/github/ladybug-tools/dragonfly-schema/badge.svg?branch=master)](https://coveralls.io/github/ladybug-tools/dragonfly-schema)
@@ -1,5 +1,5 @@
1
1
  dragonfly_schema/__init__.py,sha256=Cp-YAOlfQuotiRooL-u9oPbSK_C4xBDYQUhlA67qxyI,36
2
- dragonfly_schema/model.py,sha256=aCyDbpKnBYI4Bizi9Ov69zWAvA1djstxwQmMu7yThZU,13445
2
+ dragonfly_schema/model.py,sha256=5csU2bUFi73ALNEeLh3ZQ0G-3wzezlnqIAfrLDeCd-g,14692
3
3
  dragonfly_schema/roof.py,sha256=hES6EXVl3utiKVhMnRSIGjnH4wCaa840PWjdd1YffkY,745
4
4
  dragonfly_schema/shading_parameter.py,sha256=WI9XPX3eVXhIutvE_AD1ozJ4QxH85E3Frv9SKsIzCl8,3121
5
5
  dragonfly_schema/skylight_parameter.py,sha256=4uxsAHHEbpfZYndIw2KcQ9AJXU7AJcRZWo7up65vC2c,3137
@@ -9,8 +9,8 @@ dragonfly_schema/energy/properties.py,sha256=x7wJqW9kPVMapa9lhIhsmMe_9IDYSWjN-H7
9
9
  dragonfly_schema/radiance/__init__.py,sha256=ok8w16ru1XXBUVjdghvNvwwXGPVSKKpHU-nmj4mf3IU,57
10
10
  dragonfly_schema/radiance/gridpar.py,sha256=ZQTnEdN1vmSsa2QMxfUdebg3cMnu6VvfcluiP11xHOs,4809
11
11
  dragonfly_schema/radiance/properties.py,sha256=Q_O_7fJohdtv5uwHTCZp1W67LoNUaZ45GB6GK7zKK4Y,3405
12
- dragonfly_schema-1.9.9.dist-info/LICENSE,sha256=XfAFIvGuzrC7DEE82mZyAJX4l2ND-i7fICCCMiXBDZw,1070
13
- dragonfly_schema-1.9.9.dist-info/METADATA,sha256=drgqPZCticXVtbC-RkqfziJbDuCETHEoH9WzmADj3JQ,1818
14
- dragonfly_schema-1.9.9.dist-info/WHEEL,sha256=unfA4MOaH0icIyIA5oH6E2sn2Hq5zKtLlHsWapZGwes,110
15
- dragonfly_schema-1.9.9.dist-info/top_level.txt,sha256=FOvFqYP_bZgcwNtIIgvUZjC-LuQGBEms5zW4nkiclZ0,17
16
- dragonfly_schema-1.9.9.dist-info/RECORD,,
12
+ dragonfly_schema-1.10.0.dist-info/LICENSE,sha256=XfAFIvGuzrC7DEE82mZyAJX4l2ND-i7fICCCMiXBDZw,1070
13
+ dragonfly_schema-1.10.0.dist-info/METADATA,sha256=ccjyaOEYAoS9KnlevrO7yloMbPpXt8-lvh9E_yneyyY,1819
14
+ dragonfly_schema-1.10.0.dist-info/WHEEL,sha256=unfA4MOaH0icIyIA5oH6E2sn2Hq5zKtLlHsWapZGwes,110
15
+ dragonfly_schema-1.10.0.dist-info/top_level.txt,sha256=FOvFqYP_bZgcwNtIIgvUZjC-LuQGBEms5zW4nkiclZ0,17
16
+ dragonfly_schema-1.10.0.dist-info/RECORD,,