topologicpy 0.4.62__py3-none-any.whl → 0.4.64__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/Cell.py +16 -1
- topologicpy/CellComplex.py +15 -1
- topologicpy/Cluster.py +30 -3
- topologicpy/DGL.py +54 -32
- topologicpy/EnergyModel.py +16 -13
- topologicpy/Face.py +15 -1
- topologicpy/Graph.py +64 -66
- topologicpy/Helper.py +17 -2
- topologicpy/Honeybee.py +31 -19
- topologicpy/Neo4j.py +7 -4
- topologicpy/Plotly.py +72 -23
- topologicpy/Polyskel.py +7 -7
- topologicpy/Shell.py +24 -31
- topologicpy/Topology.py +59 -51
- topologicpy/Vector.py +19 -3
- topologicpy/Vertex.py +16 -3
- topologicpy/Wire.py +0 -1
- topologicpy/__init__.py +1 -1
- {topologicpy-0.4.62.dist-info → topologicpy-0.4.64.dist-info}/METADATA +11 -1
- {topologicpy-0.4.62.dist-info → topologicpy-0.4.64.dist-info}/RECORD +23 -23
- {topologicpy-0.4.62.dist-info → topologicpy-0.4.64.dist-info}/LICENSE +0 -0
- {topologicpy-0.4.62.dist-info → topologicpy-0.4.64.dist-info}/WHEEL +0 -0
- {topologicpy-0.4.62.dist-info → topologicpy-0.4.64.dist-info}/top_level.txt +0 -0
topologicpy/Vertex.py
CHANGED
|
@@ -3,6 +3,21 @@ import topologic
|
|
|
3
3
|
from topologicpy.Face import Face
|
|
4
4
|
from topologicpy.Topology import Topology
|
|
5
5
|
import collections
|
|
6
|
+
import os
|
|
7
|
+
|
|
8
|
+
try:
|
|
9
|
+
import numpy as np
|
|
10
|
+
except:
|
|
11
|
+
print("Vertex - Installing required numpy library.")
|
|
12
|
+
try:
|
|
13
|
+
os.system("pip install numpy")
|
|
14
|
+
except:
|
|
15
|
+
os.system("pip install numpy --user")
|
|
16
|
+
try:
|
|
17
|
+
import numpy as np
|
|
18
|
+
print("Vertex - numpy library installed successfully.")
|
|
19
|
+
except:
|
|
20
|
+
raise Exception("Vertex - Error: Could not import numpy.")
|
|
6
21
|
|
|
7
22
|
class Vertex(Topology):
|
|
8
23
|
@staticmethod
|
|
@@ -445,7 +460,6 @@ class Vertex(Topology):
|
|
|
445
460
|
The distance between the input vertex and the input topology.
|
|
446
461
|
|
|
447
462
|
"""
|
|
448
|
-
import numpy as np
|
|
449
463
|
from topologicpy.Edge import Edge
|
|
450
464
|
from topologicpy.Face import Face
|
|
451
465
|
import math
|
|
@@ -632,7 +646,6 @@ class Vertex(Topology):
|
|
|
632
646
|
tolerance : float , optional
|
|
633
647
|
The desired tolerance for computing if vertices need to be fused. Any vertices that are closer to each other than this tolerance will be fused. The default is 0.0001.
|
|
634
648
|
"""
|
|
635
|
-
import numpy as np
|
|
636
649
|
|
|
637
650
|
if not isinstance(vertices, list):
|
|
638
651
|
print("Vertex.Fuse - Error: The input vertices parameter is not a valid list. Returning None.")
|
|
@@ -1152,7 +1165,7 @@ class Vertex(Topology):
|
|
|
1152
1165
|
The dictionary containing the values of a,b,c,d for the plane equation in the form of ax+by+cz+d=0.
|
|
1153
1166
|
The keys in the dictionary are ["a", "b", "c". "d"]
|
|
1154
1167
|
"""
|
|
1155
|
-
|
|
1168
|
+
|
|
1156
1169
|
vertices = [Vertex.Coordinates(v) for v in vertices]
|
|
1157
1170
|
# Convert vertices to a NumPy array for easier calculations
|
|
1158
1171
|
vertices = np.array(vertices)
|
topologicpy/Wire.py
CHANGED
topologicpy/__init__.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: topologicpy
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.64
|
|
4
4
|
Summary: An Advanced Spatial Modelling and Analysis Software Library for Architecture, Engineering, and Construction.
|
|
5
5
|
Author-email: Wassim Jabi <wassim.jabi@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/wassimj/TopologicPy
|
|
@@ -13,8 +13,18 @@ Requires-Python: >=3.8
|
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
License-File: LICENSE
|
|
15
15
|
Requires-Dist: numpy
|
|
16
|
+
Requires-Dist: pandas
|
|
17
|
+
Requires-Dist: scipy
|
|
18
|
+
Requires-Dist: scikit-learn
|
|
19
|
+
Requires-Dist: ifcopenshell
|
|
20
|
+
Requires-Dist: ladybug
|
|
21
|
+
Requires-Dist: honeybee
|
|
22
|
+
Requires-Dist: honeybee-energy
|
|
23
|
+
Requires-Dist: networkx
|
|
24
|
+
Requires-Dist: openstudio
|
|
16
25
|
Requires-Dist: tqdm
|
|
17
26
|
Requires-Dist: plotly
|
|
27
|
+
Requires-Dist: pyvis
|
|
18
28
|
|
|
19
29
|
# topologicpy
|
|
20
30
|
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
topologicpy/Aperture.py,sha256=jNrvM_5dnVGF6yvSfJCF0L1QXtgGoSv5od6T5vR8LJE,2087
|
|
2
|
-
topologicpy/Cell.py,sha256=
|
|
3
|
-
topologicpy/CellComplex.py,sha256=
|
|
4
|
-
topologicpy/Cluster.py,sha256=
|
|
2
|
+
topologicpy/Cell.py,sha256=uY1LA3gcmfpJXU-7DXdxtBCbYlsJMWtm9v1mRdFGd_k,81424
|
|
3
|
+
topologicpy/CellComplex.py,sha256=3Jd61GGid_Hvy-6iNsCBkP2n4QusIz515r6dhVLz-mE,37140
|
|
4
|
+
topologicpy/Cluster.py,sha256=OIsWUoFbUZ1J_jj_n5A6-qH6N4z7dsTXtK1xnrFQB_U,52085
|
|
5
5
|
topologicpy/Color.py,sha256=YRWPvyWjhIMUxG4cqWL-KBwmAtw07cFY6l_ftlex_3s,9741
|
|
6
6
|
topologicpy/Context.py,sha256=j5TnPQlpK9NSGPnxy_7D_0Q7in-DyDQG_qNAlG_C0IM,2265
|
|
7
|
-
topologicpy/DGL.py,sha256=
|
|
7
|
+
topologicpy/DGL.py,sha256=7j15f_krYaT_hRiOPIIJFOE87Phw4OEUVHqXn66HK0M,137586
|
|
8
8
|
topologicpy/Dictionary.py,sha256=rgXmYrDWhoaMsir3kg7mHv-dtZqWqvp9vDMqYp3MvPI,24067
|
|
9
9
|
topologicpy/Edge.py,sha256=-xGhloh6FtbPNwMdlAMi1Eu11_uzIq3ZdYRalgk1Zjo,44367
|
|
10
|
-
topologicpy/EnergyModel.py,sha256=
|
|
11
|
-
topologicpy/Face.py,sha256=
|
|
12
|
-
topologicpy/Graph.py,sha256=
|
|
10
|
+
topologicpy/EnergyModel.py,sha256=pBqgsyEC1iwFNetxPAfHGPxTHqwVzeRk8fBJlLDaE6E,51052
|
|
11
|
+
topologicpy/Face.py,sha256=5fN5RmlYZImqoAsophG1KARdvlIz8vaFONa1TmC6v7k,88129
|
|
12
|
+
topologicpy/Graph.py,sha256=jV5jEfn3K9W2TrrySoQRnP4dgcq6qoT_U2xSWa1nKAQ,261531
|
|
13
13
|
topologicpy/Grid.py,sha256=77WRTTqGxxIuUHorrH74JHeBS4E7v27ydzckIdu3K54,16661
|
|
14
|
-
topologicpy/Helper.py,sha256=
|
|
15
|
-
topologicpy/Honeybee.py,sha256=
|
|
14
|
+
topologicpy/Helper.py,sha256=11_Lmrp3ky5e20lTb2mQuy_QNA9HZdsOdoSvjaqmL1E,12961
|
|
15
|
+
topologicpy/Honeybee.py,sha256=ICEcvlJMw0NoQLmHGSoMGpebvD6jSpcEg-iIS-w6jxQ,19617
|
|
16
16
|
topologicpy/Matrix.py,sha256=GHd_o714eEWbTOhRM5X-fXcgsV5yYJJSj6xFdnkwC14,7625
|
|
17
|
-
topologicpy/Neo4j.py,sha256=
|
|
18
|
-
topologicpy/Plotly.py,sha256=
|
|
19
|
-
topologicpy/Polyskel.py,sha256=
|
|
20
|
-
topologicpy/Shell.py,sha256=
|
|
17
|
+
topologicpy/Neo4j.py,sha256=uWCVuTLWgl9rmSOM-3F9zwvgRyudl3hggHQPIvoSMg8,18627
|
|
18
|
+
topologicpy/Plotly.py,sha256=C-pHwohY1CT2GUi0cQi6PI4Xt4uEg5z8AJWVWFH9WTY,94745
|
|
19
|
+
topologicpy/Polyskel.py,sha256=ZYJlC7w89CX6EZsmK_BnflR6VdIB4fmPluZNBMCET-Q,15194
|
|
20
|
+
topologicpy/Shell.py,sha256=mYtjkpIEUxMutH-NOCbd-zlrQJbiuEiIGeNlfH6eg0A,80582
|
|
21
21
|
topologicpy/Speckle.py,sha256=D6jk1uiHJeLHz478-hn8aWJCgbW9NFEkll84gRJbveA,14041
|
|
22
|
-
topologicpy/Topology.py,sha256=
|
|
23
|
-
topologicpy/Vector.py,sha256=
|
|
24
|
-
topologicpy/Vertex.py,sha256=
|
|
25
|
-
topologicpy/Wire.py,sha256=
|
|
26
|
-
topologicpy/__init__.py,sha256=
|
|
22
|
+
topologicpy/Topology.py,sha256=VbEzFf7Ja0KwC2L_TM_OD_64d9Q9GEFIMHK6AxvHqxI,285147
|
|
23
|
+
topologicpy/Vector.py,sha256=7ZyJG_Cvl5yLpbo8RDhFeLUEmRdM3EDnFnATUJKxrWo,18832
|
|
24
|
+
topologicpy/Vertex.py,sha256=R0C9Q4HNuia4WRH4XrHN6yQJuuZ4VqI7yTa_o1s_JvM,54455
|
|
25
|
+
topologicpy/Wire.py,sha256=l0_J3wd9lTP3Xx8pdC4vPzREqZX88yAvBVbg0v5pu-E,128287
|
|
26
|
+
topologicpy/__init__.py,sha256=paIXrMbk7E2oUAEdQllDfKZeY7vw4vepOZgKAWsK4L0,713
|
|
27
27
|
topologicpy/bin/linux/topologic/__init__.py,sha256=XlFReDf3FWlYdM9uXtanYPIafgPb6GVTQczS_xJAXD0,60
|
|
28
28
|
topologicpy/bin/linux/topologic/topologic.cpython-310-x86_64-linux-gnu.so,sha256=uvar01STZ8qu1c8fRmtYdVnK8evxBv305QScASXY9go,1852112
|
|
29
29
|
topologicpy/bin/linux/topologic/topologic.cpython-311-x86_64-linux-gnu.so,sha256=42yjVWetFu_qn6-eZcDxgd_A8SQN_wHqkdw91txKt9U,1852112
|
|
@@ -67,8 +67,8 @@ topologicpy/bin/windows/topologic/topologic.cp310-win_amd64.pyd,sha256=F0sPLuMpD
|
|
|
67
67
|
topologicpy/bin/windows/topologic/topologic.cp311-win_amd64.pyd,sha256=aBAJQj3OmJ58MOAF1ZIFybL_5fFK7FNR9hrIps6b6pc,1551872
|
|
68
68
|
topologicpy/bin/windows/topologic/topologic.cp38-win_amd64.pyd,sha256=aLgNf54nbJmGc7Tdmkuy-V0m6B9zLxabIbpRwAy7cBA,1551360
|
|
69
69
|
topologicpy/bin/windows/topologic/topologic.cp39-win_amd64.pyd,sha256=_8cp205hiRxkFHtzQQOweA4DhCPk8caH4kTVLWGQeVw,1411584
|
|
70
|
-
topologicpy-0.4.
|
|
71
|
-
topologicpy-0.4.
|
|
72
|
-
topologicpy-0.4.
|
|
73
|
-
topologicpy-0.4.
|
|
74
|
-
topologicpy-0.4.
|
|
70
|
+
topologicpy-0.4.64.dist-info/LICENSE,sha256=RUmXeeqj63bBySLJjEfhwb9OE7M8h9K6HuOBF3ASVyI,35697
|
|
71
|
+
topologicpy-0.4.64.dist-info/METADATA,sha256=qZnP5SxQcd4yreleBUT0WGCUDb2YCEehbWIgUxUpqvQ,7231
|
|
72
|
+
topologicpy-0.4.64.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
73
|
+
topologicpy-0.4.64.dist-info/top_level.txt,sha256=J30bDzW92Ob7hw3zA8V34Jlp-vvsfIkGzkr8sqvb4Uw,12
|
|
74
|
+
topologicpy-0.4.64.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|