topologicpy 0.7.18__py3-none-any.whl → 0.7.19__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 +1265 -0
- topologicpy/Cell.py +0 -1
- topologicpy/Plotly.py +2 -2
- topologicpy/Topology.py +7 -9
- topologicpy/Wire.py +2 -2
- topologicpy/version.py +1 -1
- {topologicpy-0.7.18.dist-info → topologicpy-0.7.19.dist-info}/METADATA +1 -1
- {topologicpy-0.7.18.dist-info → topologicpy-0.7.19.dist-info}/RECORD +11 -10
- {topologicpy-0.7.18.dist-info → topologicpy-0.7.19.dist-info}/WHEEL +1 -1
- {topologicpy-0.7.18.dist-info → topologicpy-0.7.19.dist-info}/LICENSE +0 -0
- {topologicpy-0.7.18.dist-info → topologicpy-0.7.19.dist-info}/top_level.txt +0 -0
topologicpy/Cell.py
CHANGED
@@ -1058,7 +1058,6 @@ class Cell():
|
|
1058
1058
|
vertices = Vertex.Fuse(vertices)
|
1059
1059
|
coords = [Vertex.Coordinates(v) for v in vertices]
|
1060
1060
|
dodecahedron = Topology.RemoveCoplanarFaces(Topology.SelfMerge(Topology.ByGeometry(vertices=coords, faces=geo['faces'])))
|
1061
|
-
print(dodecahedron)
|
1062
1061
|
dodecahedron = Topology.Orient(dodecahedron, origin=Vertex.Origin(), dirA=[0, 0, 1], dirB=direction, tolerance=tolerance)
|
1063
1062
|
dodecahedron = Topology.Place(dodecahedron, originA=Vertex.Origin(), originB=origin)
|
1064
1063
|
return dodecahedron
|
topologicpy/Plotly.py
CHANGED
@@ -1846,10 +1846,10 @@ class Plotly:
|
|
1846
1846
|
"""
|
1847
1847
|
import os
|
1848
1848
|
if not isinstance(figure, plotly.graph_objs._figure.Figure):
|
1849
|
-
print("Plotly.
|
1849
|
+
print("Plotly.FigureExportToPDF - Error: The input figure is not a plolty figure. Returning None.")
|
1850
1850
|
return None
|
1851
1851
|
if not isinstance(path, str):
|
1852
|
-
print("Plotly.
|
1852
|
+
print("Plotly.FigureExportToPDF - Error: The input path is not a string. Returning None.")
|
1853
1853
|
return None
|
1854
1854
|
# Make sure the file extension is .pdf
|
1855
1855
|
ext = path[len(path)-4:len(path)]
|
topologicpy/Topology.py
CHANGED
@@ -4692,13 +4692,15 @@ class Topology():
|
|
4692
4692
|
else:
|
4693
4693
|
if isinstance(value, list):
|
4694
4694
|
value.sort()
|
4695
|
-
|
4695
|
+
value = str(value)
|
4696
4696
|
value.replace("*",".+")
|
4697
4697
|
value = value.lower()
|
4698
4698
|
d = Topology.Dictionary(aTopology)
|
4699
4699
|
v = Dictionary.ValueAtKey(d, key)
|
4700
|
-
if v
|
4701
|
-
|
4700
|
+
if v == None:
|
4701
|
+
otherTopologies.append(aTopology)
|
4702
|
+
else:
|
4703
|
+
v = str(v).lower()
|
4702
4704
|
if searchType.lower() == "equal to":
|
4703
4705
|
searchResult = (value == v)
|
4704
4706
|
elif searchType.lower() == "contains":
|
@@ -4716,9 +4718,7 @@ class Topology():
|
|
4716
4718
|
if searchResult:
|
4717
4719
|
filteredTopologies.append(aTopology)
|
4718
4720
|
else:
|
4719
|
-
otherTopologies.append(aTopology)
|
4720
|
-
else:
|
4721
|
-
otherTopologies.append(aTopology)
|
4721
|
+
otherTopologies.append(aTopology)
|
4722
4722
|
else:
|
4723
4723
|
otherTopologies.append(aTopology)
|
4724
4724
|
return {"filtered": filteredTopologies, "other": otherTopologies}
|
@@ -5454,8 +5454,6 @@ class Topology():
|
|
5454
5454
|
----------
|
5455
5455
|
topology : topologic_core.Topology
|
5456
5456
|
The input topology.
|
5457
|
-
angTolerance : float , optional
|
5458
|
-
The desired angular tolerance for removing coplanar faces. The default is 0.1.
|
5459
5457
|
epsilon : float , optional
|
5460
5458
|
The desired epsilon (another form of tolerance) for finding if two faces are coplanar. The default is 0.01.
|
5461
5459
|
tolerance : float , optional
|
@@ -7747,7 +7745,7 @@ class Topology():
|
|
7747
7745
|
typeID = 16
|
7748
7746
|
elif name == "cell":
|
7749
7747
|
typeID = 32
|
7750
|
-
elif name == "
|
7748
|
+
elif name == "cellcomplex":
|
7751
7749
|
typeID = 64
|
7752
7750
|
elif name == "cluster":
|
7753
7751
|
typeID = 128
|
topologicpy/Wire.py
CHANGED
@@ -3253,8 +3253,8 @@ class Wire(Topology):
|
|
3253
3253
|
|
3254
3254
|
Parameters
|
3255
3255
|
----------
|
3256
|
-
|
3257
|
-
The input
|
3256
|
+
wire : topologic_core.Wire
|
3257
|
+
The input wire.
|
3258
3258
|
distance : float , optional
|
3259
3259
|
The offset distance. The default is 0.
|
3260
3260
|
origin : topologic_core.Vertex , optional
|
topologicpy/version.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '0.7.
|
1
|
+
__version__ = '0.7.19'
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: topologicpy
|
3
|
-
Version: 0.7.
|
3
|
+
Version: 0.7.19
|
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
|
License: MIT License
|
@@ -1,5 +1,6 @@
|
|
1
|
+
topologicpy/ANN.py,sha256=MPgMJxJVdEt0ETpxt1TliUosByDEqKQcKq7iqrJjRXc,53073
|
1
2
|
topologicpy/Aperture.py,sha256=p9pUzTQSBWoUaDiug1V1R1hnEIEwYSXFg2t7iRAmNRY,2723
|
2
|
-
topologicpy/Cell.py,sha256=
|
3
|
+
topologicpy/Cell.py,sha256=1AAruEDSUJqQFED7fL5-nTon2lR1FrkZxo59iEHOCY0,99833
|
3
4
|
topologicpy/CellComplex.py,sha256=Fd70Dj7E4LqV5O-7kcCCYnrFEyqheZvxc0YWktm0EL8,47440
|
4
5
|
topologicpy/Cluster.py,sha256=HvomWm_V4bx76YMxqOEhAUrsvcU6z5e_zry6WxMuV2M,54819
|
5
6
|
topologicpy/Color.py,sha256=UlmRcCSOhqcM_OyMWz4t3Kr75KcgXDhz3uctAJ2n7Ic,18031
|
@@ -15,19 +16,19 @@ topologicpy/Helper.py,sha256=07V9IFu5ilMpvAdZVhIbdBOjBJSRTtJ0BfR1IoRaRXU,17743
|
|
15
16
|
topologicpy/Honeybee.py,sha256=dlr5OEH93q51ZmEgvi8PXGfCHBDAjIZ1cm38Rft1Bz4,20235
|
16
17
|
topologicpy/Matrix.py,sha256=VV-kbT0Qt5QO38HRFJmD4IMnQUzYbLjBF4xaFAqLh3Q,8352
|
17
18
|
topologicpy/Neo4j.py,sha256=Gy2PS4Ky8BNhohKreoV4zgzW9OXCjhSwiZF_Aq21_wU,19589
|
18
|
-
topologicpy/Plotly.py,sha256=
|
19
|
+
topologicpy/Plotly.py,sha256=6ZYVAvSSDtoHZ7OsofIDwOKRDF_CTE_UOEzEtcxHAuU,98845
|
19
20
|
topologicpy/Polyskel.py,sha256=pNawz5lnvy4oTzCL91fGY2PblW2hmcYBdT5268m2RZs,19743
|
20
21
|
topologicpy/Shell.py,sha256=fdMhCKH5Oq2id16XjTWRe8-06jZ8z8LnrVqMR-33F3s,79144
|
21
22
|
topologicpy/Speckle.py,sha256=rUS6PCaxIjEF5_fUruxvMH47FMKg-ohcoU0qAUb-yNM,14267
|
22
23
|
topologicpy/Sun.py,sha256=mN3RzlslcZT3APUtwmWIXVbPkJ6OcKTaTf6338gbMJE,37152
|
23
|
-
topologicpy/Topology.py,sha256=
|
24
|
+
topologicpy/Topology.py,sha256=arsO_TXFLt_M0ulUIKIOgI-xn-gjrtwKlT6Je2_R-ZU,338696
|
24
25
|
topologicpy/Vector.py,sha256=G4mIIcE5Y-EHfiNV_rxiOz8pJeV3NMEwLu5EOgM0gKA,32653
|
25
26
|
topologicpy/Vertex.py,sha256=bD3JnNhizbp6HFhHRve2LK_y5w27jytCbsagOLxKjZQ,71198
|
26
|
-
topologicpy/Wire.py,sha256=
|
27
|
+
topologicpy/Wire.py,sha256=vkDmfHjV7_ejZmrnCWFf4zdhhoI88ZDWY9Su_TQwjas,143577
|
27
28
|
topologicpy/__init__.py,sha256=D7ky87CAQMiS2KE6YLvcTLkTgA2PY7rASe6Z23pjp9k,872
|
28
|
-
topologicpy/version.py,sha256=
|
29
|
-
topologicpy-0.7.
|
30
|
-
topologicpy-0.7.
|
31
|
-
topologicpy-0.7.
|
32
|
-
topologicpy-0.7.
|
33
|
-
topologicpy-0.7.
|
29
|
+
topologicpy/version.py,sha256=UOy-EMduBicLVj1Dfuz2h9Dr9n4BtAE9AAVmMLbBN6s,23
|
30
|
+
topologicpy-0.7.19.dist-info/LICENSE,sha256=BRNw73R2WdDBICtwhI3wm3cxsaVqLTAGuRwrTltcfxs,1068
|
31
|
+
topologicpy-0.7.19.dist-info/METADATA,sha256=SYu8MxTVov2F8IWtiwnK1YLB_kEPdVrhEjn8omSXefU,10916
|
32
|
+
topologicpy-0.7.19.dist-info/WHEEL,sha256=cpQTJ5IWu9CdaPViMhC9YzF8gZuS5-vlfoFihTBC86A,91
|
33
|
+
topologicpy-0.7.19.dist-info/top_level.txt,sha256=J30bDzW92Ob7hw3zA8V34Jlp-vvsfIkGzkr8sqvb4Uw,12
|
34
|
+
topologicpy-0.7.19.dist-info/RECORD,,
|
File without changes
|
File without changes
|