topologicpy 0.6.3__py3-none-any.whl → 0.7.0__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/Aperture.py +12 -13
- topologicpy/Cell.py +234 -210
- topologicpy/CellComplex.py +130 -118
- topologicpy/Cluster.py +108 -91
- topologicpy/Context.py +11 -7
- topologicpy/DGL.py +1 -1
- topologicpy/Dictionary.py +55 -65
- topologicpy/Edge.py +185 -148
- topologicpy/EnergyModel.py +23 -24
- topologicpy/Face.py +512 -313
- topologicpy/Graph.py +437 -349
- topologicpy/Grid.py +40 -43
- topologicpy/Honeybee.py +1 -1
- topologicpy/Matrix.py +28 -27
- topologicpy/Neo4j.py +5 -5
- topologicpy/Plotly.py +135 -51
- topologicpy/Shell.py +160 -145
- topologicpy/Sun.py +17 -13
- topologicpy/Topology.py +533 -765
- topologicpy/Vector.py +4 -3
- topologicpy/Vertex.py +145 -126
- topologicpy/Wire.py +542 -325
- topologicpy/version.py +1 -1
- {topologicpy-0.6.3.dist-info → topologicpy-0.7.0.dist-info}/METADATA +1 -1
- topologicpy-0.7.0.dist-info/RECORD +33 -0
- topologicpy-0.6.3.dist-info/RECORD +0 -33
- {topologicpy-0.6.3.dist-info → topologicpy-0.7.0.dist-info}/LICENSE +0 -0
- {topologicpy-0.6.3.dist-info → topologicpy-0.7.0.dist-info}/WHEEL +0 -0
- {topologicpy-0.6.3.dist-info → topologicpy-0.7.0.dist-info}/top_level.txt +0 -0
topologicpy/Sun.py
CHANGED
@@ -417,7 +417,7 @@ class Sun():
|
|
417
417
|
The input longitude. See https://en.wikipedia.org/wiki/Longitude.
|
418
418
|
date : datetime
|
419
419
|
The input datetime.
|
420
|
-
origin :
|
420
|
+
origin : topologic_core.Vertex , optional
|
421
421
|
The desired origin of the world. If set to None, the origin will be set to (0,0,0). The default is None.
|
422
422
|
radius : float , optional
|
423
423
|
The desired radius of the sun orbit. The default is 0.5.
|
@@ -429,7 +429,7 @@ class Sun():
|
|
429
429
|
|
430
430
|
Returns
|
431
431
|
-------
|
432
|
-
|
432
|
+
topologic_core.Vertex
|
433
433
|
The sun represented as a vertex.
|
434
434
|
"""
|
435
435
|
from topologicpy.Vertex import Vertex
|
@@ -449,7 +449,7 @@ class Sun():
|
|
449
449
|
The input longitude. See https://en.wikipedia.org/wiki/Longitude.
|
450
450
|
date : datetime
|
451
451
|
The input datetime.
|
452
|
-
origin :
|
452
|
+
origin : topologic_core.Vertex , optional
|
453
453
|
The desired origin of the world. If set to None, the origin will be set to (0,0,0). The default is None.
|
454
454
|
radius : float , optional
|
455
455
|
The desired radius of the sun orbit. The default is 0.5.
|
@@ -458,7 +458,7 @@ class Sun():
|
|
458
458
|
|
459
459
|
Returns
|
460
460
|
-------
|
461
|
-
|
461
|
+
topologic_core.Vertex
|
462
462
|
The sun represented as a vertex.
|
463
463
|
"""
|
464
464
|
from topologicpy.Vertex import Vertex
|
@@ -484,7 +484,7 @@ class Sun():
|
|
484
484
|
The input longitude. See https://en.wikipedia.org/wiki/Longitude.
|
485
485
|
date : datetime
|
486
486
|
The input datetime.
|
487
|
-
origin :
|
487
|
+
origin : topologic_core.Vertex , optional
|
488
488
|
The desired origin of the world. If set to None, the origin will be set to (0,0,0). The default is None.
|
489
489
|
radius : float , optional
|
490
490
|
The desired radius of the sun orbit. The default is 0.5.
|
@@ -493,7 +493,7 @@ class Sun():
|
|
493
493
|
|
494
494
|
Returns
|
495
495
|
-------
|
496
|
-
|
496
|
+
topologic_core.Edge
|
497
497
|
The sun represented as an edge pointing from the location of the sun towards the origin.
|
498
498
|
"""
|
499
499
|
from topologicpy.Vertex import Vertex
|
@@ -527,7 +527,7 @@ class Sun():
|
|
527
527
|
The desired end time to compute the sun location. If set to None, Sun.Sunset is used. The default is None.
|
528
528
|
interval : int , optional
|
529
529
|
The interval in minutes to compute the sun location. The default is 60.
|
530
|
-
origin :
|
530
|
+
origin : topologic_core.Vertex , optional
|
531
531
|
The desired origin of the world. If set to None, the origin will be set to (0,0,0). The default is None.
|
532
532
|
radius : float , optional
|
533
533
|
The desired radius of the sun orbit. The default is 0.5.
|
@@ -571,7 +571,7 @@ class Sun():
|
|
571
571
|
The desired end time to compute the sun location. If set to None, Sun.Sunset is used. The default is None.
|
572
572
|
interval : int , optional
|
573
573
|
The interval in minutes to compute the sun location. The default is 60.
|
574
|
-
origin :
|
574
|
+
origin : topologic_core.Vertex , optional
|
575
575
|
The desired origin of the world. If set to None, the origin will be set to (0,0,0). The default is None.
|
576
576
|
radius : float , optional
|
577
577
|
The desired radius of the sun orbit. The default is 0.5.
|
@@ -583,11 +583,14 @@ class Sun():
|
|
583
583
|
|
584
584
|
Returns
|
585
585
|
-------
|
586
|
-
|
586
|
+
topologic_core.Wire
|
587
587
|
The sun path represented as a wire.
|
588
588
|
"""
|
589
|
+
from topologicpy.Vertex import Vertex
|
589
590
|
from topologicpy.Wire import Wire
|
590
591
|
from topologicpy.Dictionary import Dictionary
|
592
|
+
from topologicpy.Topology import Topology
|
593
|
+
|
591
594
|
if origin == None:
|
592
595
|
origin = Vertex.Origin()
|
593
596
|
if startTime == None:
|
@@ -631,7 +634,7 @@ class Sun():
|
|
631
634
|
The desired end day to compute the sun location. The default is 365.
|
632
635
|
interval : int , optional
|
633
636
|
The interval in days to compute the sun location. The default is 5.
|
634
|
-
origin :
|
637
|
+
origin : topologic_core.Vertex , optional
|
635
638
|
The desired origin of the world. If set to None, the origin will be set to (0,0,0). The default is None.
|
636
639
|
radius : float , optional
|
637
640
|
The desired radius of the sun orbit. The default is 0.5.
|
@@ -682,7 +685,7 @@ class Sun():
|
|
682
685
|
The desired end day of the year to compute the sun location. The default is 365.
|
683
686
|
interval : int , optional
|
684
687
|
The interval in days to compute the sun location. The default is 5.
|
685
|
-
origin :
|
688
|
+
origin : topologic_core.Vertex , optional
|
686
689
|
The desired origin of the world. If set to None, the origin will be set to (0,0,0). The default is None.
|
687
690
|
radius : float , optional
|
688
691
|
The desired radius of the sun orbit. The default is 0.5.
|
@@ -694,12 +697,13 @@ class Sun():
|
|
694
697
|
|
695
698
|
Returns
|
696
699
|
-------
|
697
|
-
|
700
|
+
topologic_core.Wire
|
698
701
|
The sun path represented as a topologic wire.
|
699
702
|
"""
|
700
703
|
|
701
704
|
from topologicpy.Wire import Wire
|
702
705
|
from topologicpy.Dictionary import Dictionary
|
706
|
+
from topologicpy.Topology import Topology
|
703
707
|
|
704
708
|
vertices = Sun.VerticesByHour(latitude=latitude, longitude=longitude, hour=hour,
|
705
709
|
startDay=startDay, endDay=endDay, interval=interval,
|
@@ -736,7 +740,7 @@ class Sun():
|
|
736
740
|
The interval in minutes to compute the sun location for the date path. The default is 30.
|
737
741
|
dayInterval : int , optional
|
738
742
|
The interval in days for the hourly path to compute the sun location. The default is 15.
|
739
|
-
origin :
|
743
|
+
origin : topologic_core.Vertex , optional
|
740
744
|
The desired origin of the world. If set to None, the origin will be set to (0,0,0). The default is None.
|
741
745
|
radius : float , optional
|
742
746
|
The desired radius of the sun orbit. The default is 0.5.
|