topologicpy 0.8.45__py3-none-any.whl → 0.8.47__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.
- topologicpy/ANN.py +19 -19
- topologicpy/BVH.py +5 -5
- topologicpy/CSG.py +17 -17
- topologicpy/Cell.py +295 -295
- topologicpy/CellComplex.py +67 -67
- topologicpy/Cluster.py +35 -35
- topologicpy/Color.py +8 -8
- topologicpy/DGL.py +52 -52
- topologicpy/Dictionary.py +22 -22
- topologicpy/Edge.py +77 -77
- topologicpy/EnergyModel.py +25 -25
- topologicpy/Face.py +270 -270
- topologicpy/Graph.py +1212 -697
- topologicpy/Grid.py +24 -24
- topologicpy/Helper.py +8 -8
- topologicpy/Honeybee.py +13 -13
- topologicpy/Matrix.py +11 -11
- topologicpy/Neo4j.py +21 -21
- topologicpy/Plotly.py +213 -213
- topologicpy/PyG.py +41 -41
- topologicpy/ShapeGrammar.py +7 -7
- topologicpy/Shell.py +104 -104
- topologicpy/Sun.py +46 -46
- topologicpy/Topology.py +392 -392
- topologicpy/Vector.py +25 -25
- topologicpy/Vertex.py +64 -64
- topologicpy/Wire.py +250 -250
- topologicpy/version.py +1 -1
- {topologicpy-0.8.45.dist-info → topologicpy-0.8.47.dist-info}/METADATA +1 -1
- topologicpy-0.8.47.dist-info/RECORD +38 -0
- topologicpy-0.8.45.dist-info/RECORD +0 -38
- {topologicpy-0.8.45.dist-info → topologicpy-0.8.47.dist-info}/WHEEL +0 -0
- {topologicpy-0.8.45.dist-info → topologicpy-0.8.47.dist-info}/licenses/LICENSE +0 -0
- {topologicpy-0.8.45.dist-info → topologicpy-0.8.47.dist-info}/top_level.txt +0 -0
topologicpy/Edge.py
CHANGED
@@ -86,9 +86,9 @@ class Edge():
|
|
86
86
|
edgeB : topologic Edge
|
87
87
|
The second input edge.
|
88
88
|
mantissa : int , optional
|
89
|
-
The
|
89
|
+
The number of decimal places to round the result to. Default is 6.
|
90
90
|
bracket : bool
|
91
|
-
If set to True, the returned angle is bracketed between 0 and 180.
|
91
|
+
If set to True, the returned angle is bracketed between 0 and 180. Default is False.
|
92
92
|
|
93
93
|
Returns
|
94
94
|
-------
|
@@ -125,17 +125,17 @@ class Edge():
|
|
125
125
|
edgeB : topologic Edge
|
126
126
|
The second topologic Edge.
|
127
127
|
length : float , optional
|
128
|
-
The desired length of the bisecting edge.
|
128
|
+
The desired length of the bisecting edge. Default is 1.0.
|
129
129
|
placement : int , optional
|
130
130
|
The desired placement of the bisecting edge.
|
131
131
|
If set to 0, the bisecting edge centroid will be placed at the end vertex of the first edge.
|
132
132
|
If set to 1, the bisecting edge start vertex will be placed at the end vertex of the first edge.
|
133
133
|
If set to 2, the bisecting edge end vertex will be placed at the end vertex of the first edge.
|
134
|
-
If set to any number other than 0, 1, or 2, the bisecting edge centroid will be placed at the end vertex of the first edge.
|
134
|
+
If set to any number other than 0, 1, or 2, the bisecting edge centroid will be placed at the end vertex of the first edge. Default is 0.
|
135
135
|
tolerance : float , optional
|
136
|
-
The desired tolerance to decide if an Edge can be created.
|
136
|
+
The desired tolerance to decide if an Edge can be created. Default is 0.0001.
|
137
137
|
silent : bool , optional
|
138
|
-
If set to True, error and warning messages are suppressed.
|
138
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
139
139
|
|
140
140
|
Returns
|
141
141
|
-------
|
@@ -217,11 +217,11 @@ class Edge():
|
|
217
217
|
face : topologic_core.Face
|
218
218
|
The input face
|
219
219
|
origin : topologic_core.Vertex , optional
|
220
|
-
The desired origin of the edge. If set to None, the centroid of the face is chosen as the origin of the edge.
|
220
|
+
The desired origin of the edge. If set to None, the centroid of the face is chosen as the origin of the edge. Default is None.
|
221
221
|
length : float , optional
|
222
|
-
The desired length of the edge.
|
222
|
+
The desired length of the edge. Default is 1.
|
223
223
|
tolerance : float , optional
|
224
|
-
The desired tolerance.
|
224
|
+
The desired tolerance. Default is 0.0001.
|
225
225
|
|
226
226
|
Returns
|
227
227
|
-------
|
@@ -295,9 +295,9 @@ class Edge():
|
|
295
295
|
# edge : topologic_core.Edge
|
296
296
|
# The input edge.
|
297
297
|
# offset : float , optional
|
298
|
-
# The desired offset.
|
298
|
+
# The desired offset. Default is 1.
|
299
299
|
# tolerance : float , optional
|
300
|
-
# The desired tolerance.
|
300
|
+
# The desired tolerance. Default is 0.0001.
|
301
301
|
|
302
302
|
# Returns
|
303
303
|
# -------
|
@@ -326,9 +326,9 @@ class Edge():
|
|
326
326
|
vertexB : topologic_core.Vertex
|
327
327
|
The second input vertex. This is considered the end vertex.
|
328
328
|
tolerance : float , optional
|
329
|
-
The desired tolerance to decide if an Edge can be created.
|
329
|
+
The desired tolerance to decide if an Edge can be created. Default is 0.0001.
|
330
330
|
silent : bool , optional
|
331
|
-
If set to True, error and warning messages are suppressed.
|
331
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
332
332
|
|
333
333
|
Returns
|
334
334
|
-------
|
@@ -390,13 +390,13 @@ class Edge():
|
|
390
390
|
origin : topologic_core.Vertex
|
391
391
|
The origin (start vertex) of the edge.
|
392
392
|
direction : list , optional
|
393
|
-
The desired direction vector of the edge.
|
393
|
+
The desired direction vector of the edge. Default is [0,0,1] (pointing up in the Z direction)
|
394
394
|
length: float , optional
|
395
|
-
The desired length of edge.
|
395
|
+
The desired length of edge. Default is 1.0.
|
396
396
|
tolerance : float , optional
|
397
|
-
The desired tolerance to decide if an edge can be created.
|
397
|
+
The desired tolerance to decide if an edge can be created. Default is 0.0001.
|
398
398
|
silent : bool , optional
|
399
|
-
If set to True, error and warning messages are suppressed.
|
399
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
400
400
|
|
401
401
|
Returns
|
402
402
|
-------
|
@@ -434,9 +434,9 @@ class Edge():
|
|
434
434
|
vertices : list
|
435
435
|
The input list of vertices. The first item is considered the start vertex and the last item is considered the end vertex.
|
436
436
|
tolerance : float , optional
|
437
|
-
The desired tolerance to decide if an edge can be created.
|
437
|
+
The desired tolerance to decide if an edge can be created. Default is 0.0001.
|
438
438
|
silent : bool , optional
|
439
|
-
If set to True, error and warning messages are suppressed.
|
439
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
440
440
|
|
441
441
|
Returns
|
442
442
|
-------
|
@@ -495,7 +495,7 @@ class Edge():
|
|
495
495
|
cluster : topologic_core.Cluster
|
496
496
|
The input cluster of vertices. The first item is considered the start vertex and the last item is considered the end vertex.
|
497
497
|
tolerance : float , optional
|
498
|
-
The desired tolerance to decide if an edge can be created.
|
498
|
+
The desired tolerance to decide if an edge can be created. Default is 0.0001.
|
499
499
|
|
500
500
|
Returns
|
501
501
|
-------
|
@@ -528,9 +528,9 @@ class Edge():
|
|
528
528
|
edgeB : topologic_core.Edge
|
529
529
|
The second input edge. This edge will be used to extend edgeA.
|
530
530
|
tolerance : float , optional
|
531
|
-
The desired tolerance.
|
531
|
+
The desired tolerance. Default is 0.0001.
|
532
532
|
silent : bool , optional
|
533
|
-
If set to True, error and warning messages are suppressed.
|
533
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
534
534
|
|
535
535
|
Returns
|
536
536
|
-------
|
@@ -568,7 +568,7 @@ class Edge():
|
|
568
568
|
edge : topologic_core.Edge
|
569
569
|
The input edge.
|
570
570
|
mantissa : int , optional
|
571
|
-
The
|
571
|
+
The number of decimal places to round the result to. Default is 6.
|
572
572
|
|
573
573
|
Returns
|
574
574
|
-------
|
@@ -632,7 +632,7 @@ class Edge():
|
|
632
632
|
edge : topologic_core.Edge
|
633
633
|
The input edge.
|
634
634
|
mantissa : int , optional
|
635
|
-
The
|
635
|
+
The number of decimal places to round the result to. Default is 6.
|
636
636
|
|
637
637
|
Returns
|
638
638
|
-------
|
@@ -681,15 +681,15 @@ class Edge():
|
|
681
681
|
edge : topologic_core.Edge
|
682
682
|
The input edge.
|
683
683
|
distance : float , optional
|
684
|
-
The offset distance.
|
684
|
+
The offset distance. Default is 1.
|
685
685
|
bothSides : bool , optional
|
686
|
-
If set to True, the edge will be extended by half the distance at each end.
|
686
|
+
If set to True, the edge will be extended by half the distance at each end. Default is False.
|
687
687
|
reverse : bool , optional
|
688
|
-
If set to True, the edge will be extended from its start vertex. Otherwise, it will be extended from its end vertex.
|
688
|
+
If set to True, the edge will be extended from its start vertex. Otherwise, it will be extended from its end vertex. Default is False.
|
689
689
|
tolerance : float , optional
|
690
|
-
The desired tolerance.
|
690
|
+
The desired tolerance. Default is 0.0001.
|
691
691
|
silent : bool , optional
|
692
|
-
If set to True, error and warning messages are suppressed.
|
692
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
693
693
|
|
694
694
|
Returns
|
695
695
|
-------
|
@@ -730,11 +730,11 @@ class Edge():
|
|
730
730
|
edgeB : topologic_core.Edge
|
731
731
|
The second input edge. This edge will be used to extend edgeA.
|
732
732
|
mantissa : int , optional
|
733
|
-
The
|
733
|
+
The number of decimal places to round the result to. Default is 6.
|
734
734
|
tolerance : float , optional
|
735
|
-
The desired tolerance.
|
735
|
+
The desired tolerance. Default is 0.0001.
|
736
736
|
silent : bool , optional
|
737
|
-
If set to True, error and warning messages are suppressed.
|
737
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
738
738
|
|
739
739
|
Returns
|
740
740
|
-------
|
@@ -833,9 +833,9 @@ class Edge():
|
|
833
833
|
edges : list
|
834
834
|
The input list of edges.
|
835
835
|
strict : bool , optional
|
836
|
-
If set to True, the edge must be strictly identical to the one found in the list. Otherwise, a distance comparison is used.
|
836
|
+
If set to True, the edge must be strictly identical to the one found in the list. Otherwise, a distance comparison is used. Default is False.
|
837
837
|
tolerance : float , optional
|
838
|
-
The tolerance for computing if the input edge is identical to an edge from the list.
|
838
|
+
The tolerance for computing if the input edge is identical to an edge from the list. Default is 0.0001.
|
839
839
|
|
840
840
|
Returns
|
841
841
|
-------
|
@@ -888,9 +888,9 @@ class Edge():
|
|
888
888
|
edgeB : topologic_core.Edge
|
889
889
|
The second input edge.
|
890
890
|
silent : bool , optional
|
891
|
-
If set to True, error and warning messages are suppressed.
|
891
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
892
892
|
mantissa : int , optional
|
893
|
-
The
|
893
|
+
The number of decimal places to round the result to. Default is 6.
|
894
894
|
|
895
895
|
Returns
|
896
896
|
-------
|
@@ -952,9 +952,9 @@ class Edge():
|
|
952
952
|
edgeB : topologic_core.Edge
|
953
953
|
The second input edge.
|
954
954
|
mantissa : int , optional
|
955
|
-
The
|
955
|
+
The number of decimal places to round the result to. Default is 6.
|
956
956
|
tolerance : float , optional
|
957
|
-
The desired tolerance.
|
957
|
+
The desired tolerance. Default is 0.0001.
|
958
958
|
|
959
959
|
Returns
|
960
960
|
-------
|
@@ -1033,9 +1033,9 @@ class Edge():
|
|
1033
1033
|
edgeB : topologic_core.Edge
|
1034
1034
|
The second input edge.
|
1035
1035
|
mantissa : int , optional
|
1036
|
-
The
|
1036
|
+
The number of decimal places to round the result to. Default is 6.
|
1037
1037
|
tolerance : float , optional
|
1038
|
-
The desired tolerance.
|
1038
|
+
The desired tolerance. Default is 0.0001.
|
1039
1039
|
|
1040
1040
|
Returns
|
1041
1041
|
-------
|
@@ -1091,9 +1091,9 @@ class Edge():
|
|
1091
1091
|
edgeB : topologic_core.Edge
|
1092
1092
|
The second input edge.
|
1093
1093
|
mantissa : int , optional
|
1094
|
-
The
|
1094
|
+
The number of decimal places to round the result to. Default is 6.
|
1095
1095
|
tolerance : float , optional
|
1096
|
-
The desired tolerance.
|
1096
|
+
The desired tolerance. Default is 0.0001.
|
1097
1097
|
|
1098
1098
|
Returns
|
1099
1099
|
-------
|
@@ -1154,7 +1154,7 @@ class Edge():
|
|
1154
1154
|
edge : topologic_core.Edge
|
1155
1155
|
The input edge.
|
1156
1156
|
mantissa : int , optional
|
1157
|
-
The
|
1157
|
+
The number of decimal places to round the result to. Default is 6.
|
1158
1158
|
|
1159
1159
|
Returns
|
1160
1160
|
-------
|
@@ -1184,11 +1184,11 @@ class Edge():
|
|
1184
1184
|
Parameters
|
1185
1185
|
----------
|
1186
1186
|
origin : topologic_core.Vertex , optional
|
1187
|
-
The origin location of the box.
|
1187
|
+
The origin location of the box. Default is None which results in the edge being placed at (0, 0, 0).
|
1188
1188
|
length : float , optional
|
1189
|
-
The desired length of the edge.
|
1189
|
+
The desired length of the edge. Default is 1.0.
|
1190
1190
|
direction : list , optional
|
1191
|
-
The desired direction (vector) of the edge.
|
1191
|
+
The desired direction (vector) of the edge. Default is [1,0,0] (along the X-axis).
|
1192
1192
|
placement : str , optional
|
1193
1193
|
The desired placement of the edge. The options are:
|
1194
1194
|
1. "center" which places the center of the edge at the origin.
|
@@ -1196,7 +1196,7 @@ class Edge():
|
|
1196
1196
|
3. "end" which places the end of the edge at the origin.
|
1197
1197
|
The default is "center". It is case insensitive.
|
1198
1198
|
tolerance : float , optional
|
1199
|
-
The desired tolerance.
|
1199
|
+
The desired tolerance. Default is 0.0001.
|
1200
1200
|
Returns
|
1201
1201
|
-------
|
1202
1202
|
topologic_core.Edge
|
@@ -1249,7 +1249,7 @@ class Edge():
|
|
1249
1249
|
The input edge.
|
1250
1250
|
angle : float , optional
|
1251
1251
|
The desired rotational offset angle in degrees for the normal edge. This rotates the normal edge
|
1252
|
-
by the angle value around the axis defined by the input edge.
|
1252
|
+
by the angle value around the axis defined by the input edge. Default is 0.0.
|
1253
1253
|
|
1254
1254
|
Returns
|
1255
1255
|
-------
|
@@ -1275,19 +1275,19 @@ class Edge():
|
|
1275
1275
|
edge : topologic_core.Edge
|
1276
1276
|
The input edge.
|
1277
1277
|
length : float , optional
|
1278
|
-
The desired length of the normal edge.
|
1278
|
+
The desired length of the normal edge. Default is 1.0.
|
1279
1279
|
u : float , optional
|
1280
1280
|
The desired u parameter placement of the normal edge. A value of 0.0 places the normal edge
|
1281
1281
|
at the start vertex of the input edge, a value of 0.5 places the normal edge
|
1282
1282
|
at the midpoint of the input edge, and a value of 1.0 places the normal edge
|
1283
|
-
at the end vertex of the input edge.
|
1283
|
+
at the end vertex of the input edge. Default is 0.5
|
1284
1284
|
angle : float , optional
|
1285
1285
|
The desired rotational offset angle in degrees for the normal edge. This rotates the normal edge
|
1286
|
-
by the angle value around the axis defined by the input edge.
|
1286
|
+
by the angle value around the axis defined by the input edge. Default is 0.0.
|
1287
1287
|
tolerance : float , optional
|
1288
|
-
The desired tolerance.
|
1288
|
+
The desired tolerance. Default is 0.0001.
|
1289
1289
|
silent : bool , optional
|
1290
|
-
If set to True, error and warning messages are suppressed.
|
1290
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
1291
1291
|
|
1292
1292
|
Returns
|
1293
1293
|
-------
|
@@ -1389,11 +1389,11 @@ class Edge():
|
|
1389
1389
|
edge : topologic_core.Edge
|
1390
1390
|
The input edge.
|
1391
1391
|
useEndVertex : bool , optional
|
1392
|
-
If True the normalized edge end vertex will be placed at the end vertex of the input edge. Otherwise, the normalized edge start vertex will be placed at the start vertex of the input edge.
|
1392
|
+
If True the normalized edge end vertex will be placed at the end vertex of the input edge. Otherwise, the normalized edge start vertex will be placed at the start vertex of the input edge. Default is False.
|
1393
1393
|
tolerance : float , optional
|
1394
|
-
The desired tolerance.
|
1394
|
+
The desired tolerance. Default is 0.0001.
|
1395
1395
|
silent : bool , optional
|
1396
|
-
If set to True, error and warning messages are suppressed.
|
1396
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
1397
1397
|
|
1398
1398
|
Returns
|
1399
1399
|
-------
|
@@ -1427,9 +1427,9 @@ class Edge():
|
|
1427
1427
|
vertex : topologic_core.Vertex
|
1428
1428
|
The input vertex.
|
1429
1429
|
mantissa : int , optional
|
1430
|
-
The
|
1430
|
+
The number of decimal places to round the result to. Default is 6.
|
1431
1431
|
silent : bool , optional
|
1432
|
-
If set to True, error and warning messages are suppressed.
|
1432
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
1433
1433
|
|
1434
1434
|
Returns
|
1435
1435
|
-------
|
@@ -1464,9 +1464,9 @@ class Edge():
|
|
1464
1464
|
edge : topologic_core.Edge
|
1465
1465
|
The input edge.
|
1466
1466
|
tolerance : float , optional
|
1467
|
-
The desired tolerance.
|
1467
|
+
The desired tolerance. Default is 0.0001.
|
1468
1468
|
silent : bool , optional
|
1469
|
-
If set to True, error and warning messages are suppressed.
|
1469
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
1470
1470
|
|
1471
1471
|
Returns
|
1472
1472
|
-------
|
@@ -1492,13 +1492,13 @@ class Edge():
|
|
1492
1492
|
edge : topologic_core.Edge
|
1493
1493
|
The input edge.
|
1494
1494
|
length : float , optional
|
1495
|
-
The desired length of the edge.
|
1495
|
+
The desired length of the edge. Default is 1.
|
1496
1496
|
bothSides : bool , optional
|
1497
|
-
If set to True, the edge will be offset symmetrically from each end.
|
1497
|
+
If set to True, the edge will be offset symmetrically from each end. Default is True.
|
1498
1498
|
reverse : bool , optional
|
1499
|
-
If set to True, the edge will be offset from its start vertex. Otherwise, it will be offset from its end vertex.
|
1499
|
+
If set to True, the edge will be offset from its start vertex. Otherwise, it will be offset from its end vertex. Default is False.
|
1500
1500
|
tolerance : float , optional
|
1501
|
-
The desired tolerance.
|
1501
|
+
The desired tolerance. Default is 0.0001.
|
1502
1502
|
|
1503
1503
|
Returns
|
1504
1504
|
-------
|
@@ -1554,15 +1554,15 @@ class Edge():
|
|
1554
1554
|
edge : topologic_core.Edge
|
1555
1555
|
The input edge.
|
1556
1556
|
distance : float , optional
|
1557
|
-
The offset distance.
|
1557
|
+
The offset distance. Default is 0.
|
1558
1558
|
bothSides : bool , optional
|
1559
|
-
If set to True, the edge will be trimmed by half the distance at each end.
|
1559
|
+
If set to True, the edge will be trimmed by half the distance at each end. Default is False.
|
1560
1560
|
reverse : bool , optional
|
1561
|
-
If set to True, the edge will be trimmed from its start vertex. Otherwise, it will be trimmed from its end vertex.
|
1561
|
+
If set to True, the edge will be trimmed from its start vertex. Otherwise, it will be trimmed from its end vertex. Default is False.
|
1562
1562
|
tolerance : float , optional
|
1563
|
-
The desired tolerance.
|
1563
|
+
The desired tolerance. Default is 0.0001.
|
1564
1564
|
silent : bool , optional
|
1565
|
-
If set to True, error and warning messages are suppressed.
|
1565
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
1566
1566
|
|
1567
1567
|
Returns
|
1568
1568
|
-------
|
@@ -1606,11 +1606,11 @@ class Edge():
|
|
1606
1606
|
edgeB : topologic_core.Edge
|
1607
1607
|
The second input edge. This edge will be used to trim edgeA.
|
1608
1608
|
reverse : bool , optional
|
1609
|
-
If set to True, which segment is preserved is reversed. Otherwise, it is not.
|
1609
|
+
If set to True, which segment is preserved is reversed. Otherwise, it is not. Default is False.
|
1610
1610
|
tolerance : float , optional
|
1611
|
-
The desired tolerance.
|
1611
|
+
The desired tolerance. Default is 0.0001.
|
1612
1612
|
silent : bool , optional
|
1613
|
-
If set to True, error and warning messages are suppressed.
|
1613
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
1614
1614
|
|
1615
1615
|
Returns
|
1616
1616
|
-------
|
@@ -1678,13 +1678,13 @@ class Edge():
|
|
1678
1678
|
edge : topologic_core.Edge
|
1679
1679
|
The input edge.
|
1680
1680
|
distance : float , optional
|
1681
|
-
The offset distance.
|
1681
|
+
The offset distance. Default is 0.
|
1682
1682
|
origin : topologic_core.Vertex , optional
|
1683
|
-
The origin of the offset distance. If set to None, the origin will be set to the start vertex of the input edge.
|
1683
|
+
The origin of the offset distance. If set to None, the origin will be set to the start vertex of the input edge. Default is None.
|
1684
1684
|
mantissa : int , optional
|
1685
|
-
The desired length of the mantissa.
|
1685
|
+
The desired length of the mantissa. Default is 6
|
1686
1686
|
tolerance : float , optional
|
1687
|
-
The desired tolerance.
|
1687
|
+
The desired tolerance. Default is 0.0001.
|
1688
1688
|
|
1689
1689
|
Returns
|
1690
1690
|
-------
|
@@ -1723,7 +1723,7 @@ class Edge():
|
|
1723
1723
|
edge : topologic_core.Edge
|
1724
1724
|
The input edge.
|
1725
1725
|
u : float , optional
|
1726
|
-
The *u* parameter along the input topologic Edge. A parameter of 0 returns the start vertex. A parameter of 1 returns the end vertex.
|
1726
|
+
The *u* parameter along the input topologic Edge. A parameter of 0 returns the start vertex. A parameter of 1 returns the end vertex. Default is 0.
|
1727
1727
|
|
1728
1728
|
Returns
|
1729
1729
|
-------
|
topologicpy/EnergyModel.py
CHANGED
@@ -139,38 +139,38 @@ class EnergyModel:
|
|
139
139
|
building : topologic_core.CellComplex or topologic_core.Cell
|
140
140
|
The input building topology.
|
141
141
|
shadingSurfaces : topologic_core.Topology , optional
|
142
|
-
The input topology for shading surfaces.
|
142
|
+
The input topology for shading surfaces. Default is None.
|
143
143
|
osModelPath : str , optional
|
144
|
-
The path to the template OSM file.
|
144
|
+
The path to the template OSM file. Default is "./assets/EnergyModel/OSMTemplate-OfficeBuilding-3.5.0.osm".
|
145
145
|
weatherFilePath : str , optional
|
146
|
-
The input energy plus weather (epw) file.
|
146
|
+
The input energy plus weather (epw) file. Default is "./assets/EnergyModel/GBR_London.Gatwick.037760_IWEC.epw".
|
147
147
|
designDayFilePath : str , optional
|
148
|
-
The input design day (ddy) file path.
|
148
|
+
The input design day (ddy) file path. Default is "./assets/EnergyModel/GBR_London.Gatwick.037760_IWEC.ddy",
|
149
149
|
floorLevels : list , optional
|
150
150
|
The list of floor level Z heights including the lowest most and the highest most levels. If set to None, this method will attempt to
|
151
151
|
find the floor levels from the horizontal faces of the input topology
|
152
152
|
buildingName : str , optional
|
153
|
-
The desired name of the building.
|
153
|
+
The desired name of the building. Default is "TopologicBuilding".
|
154
154
|
buildingType : str , optional
|
155
|
-
The building type.
|
155
|
+
The building type. Default is "Commercial".
|
156
156
|
defaultSpaceType : str , optional
|
157
|
-
The default space type to apply to spaces that do not have a type assigned in their dictionary.
|
157
|
+
The default space type to apply to spaces that do not have a type assigned in their dictionary. Default is "189.1-2009 - Office - WholeBuilding - Lg Office - CZ4-8".
|
158
158
|
northAxis : float , optional
|
159
|
-
The counter-clockwise angle in degrees from the positive Y-axis representing the direction of the north axis.
|
159
|
+
The counter-clockwise angle in degrees from the positive Y-axis representing the direction of the north axis. Default is 0.0.
|
160
160
|
glazingRatio : float , optional
|
161
|
-
The glazing ratio (ratio of windows to wall) to use for exterior vertical walls that do not have apertures. If you do not wish to use a glazing ratio, set it to 0.
|
161
|
+
The glazing ratio (ratio of windows to wall) to use for exterior vertical walls that do not have apertures. If you do not wish to use a glazing ratio, set it to 0. Default is 0.
|
162
162
|
coolingTemp : float , optional
|
163
|
-
The desired temperature in degrees at which the cooling system should activate.
|
163
|
+
The desired temperature in degrees at which the cooling system should activate. Default is 25.0.
|
164
164
|
heatingTemp : float , optional
|
165
|
-
The desired temperature in degrees at which the heating system should activate.
|
165
|
+
The desired temperature in degrees at which the heating system should activate. Default is 25.0..
|
166
166
|
spaceNameKey : str , optional
|
167
|
-
The dictionary key to use to find the space name value.
|
167
|
+
The dictionary key to use to find the space name value. Default is "Name".
|
168
168
|
spaceTypeKey : str , optional
|
169
|
-
The dictionary key to use to find the space type value.
|
169
|
+
The dictionary key to use to find the space type value. Default is "Type".
|
170
170
|
mantissa : int , optional
|
171
|
-
The
|
171
|
+
The number of decimal places to round the result to. Default is 6.
|
172
172
|
tolerance : float , optional
|
173
|
-
The desired tolerance.
|
173
|
+
The desired tolerance. Default is 0.0001.
|
174
174
|
|
175
175
|
Returns
|
176
176
|
-------
|
@@ -548,7 +548,7 @@ class EnergyModel:
|
|
548
548
|
path : str
|
549
549
|
The path for saving the file.
|
550
550
|
overwrite : bool, optional
|
551
|
-
If set to True any file with the same name is over-written.
|
551
|
+
If set to True any file with the same name is over-written. Default is False.
|
552
552
|
|
553
553
|
Returns
|
554
554
|
-------
|
@@ -599,7 +599,7 @@ class EnergyModel:
|
|
599
599
|
path : str
|
600
600
|
The path for saving the file.
|
601
601
|
overwrite : bool, optional
|
602
|
-
If set to True any file with the same name is over-written.
|
602
|
+
If set to True any file with the same name is over-written. Default is False.
|
603
603
|
|
604
604
|
Returns
|
605
605
|
-------
|
@@ -690,17 +690,17 @@ class EnergyModel:
|
|
690
690
|
model : openstudio.openstudiomodelcore.Model
|
691
691
|
The input OSM model.
|
692
692
|
reportName : str , optional
|
693
|
-
The input report name.
|
693
|
+
The input report name. Default is "HVACSizingSummary".
|
694
694
|
reportForString : str, optional
|
695
|
-
The input report for string.
|
695
|
+
The input report for string. Default is "Entire Facility".
|
696
696
|
tableName : str , optional
|
697
|
-
The input table name.
|
697
|
+
The input table name. Default is "Zone Sensible Cooling".
|
698
698
|
columnName : str , optional
|
699
|
-
The input column name.
|
699
|
+
The input column name. Default is "Calculated Design Load".
|
700
700
|
rowNames : list , optional
|
701
|
-
The input list of row names.
|
701
|
+
The input list of row names. Default is [].
|
702
702
|
units : str , optional
|
703
|
-
The input units.
|
703
|
+
The input units. Default is "W".
|
704
704
|
|
705
705
|
Returns
|
706
706
|
-------
|
@@ -786,7 +786,7 @@ class EnergyModel:
|
|
786
786
|
outputFolder : str
|
787
787
|
The path to the output folder.
|
788
788
|
removeFiles : bool , optional
|
789
|
-
If set to True, the working files are removed at the end of the process.
|
789
|
+
If set to True, the working files are removed at the end of the process. Default is False.
|
790
790
|
|
791
791
|
Returns
|
792
792
|
-------
|
@@ -1012,7 +1012,7 @@ class EnergyModel:
|
|
1012
1012
|
model : openstudio.openstudiomodelcore.Model
|
1013
1013
|
The input OSM model.
|
1014
1014
|
tolerance : float , optional
|
1015
|
-
The desired tolerance.
|
1015
|
+
The desired tolerance. Default is 0.0001.
|
1016
1016
|
|
1017
1017
|
Returns
|
1018
1018
|
-------
|