topologicpy 0.7.78__py3-none-any.whl → 0.7.79__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/Topology.py +1 -1
- topologicpy/Wire.py +12 -0
- topologicpy/version.py +1 -1
- {topologicpy-0.7.78.dist-info → topologicpy-0.7.79.dist-info}/METADATA +1 -1
- {topologicpy-0.7.78.dist-info → topologicpy-0.7.79.dist-info}/RECORD +8 -8
- {topologicpy-0.7.78.dist-info → topologicpy-0.7.79.dist-info}/LICENSE +0 -0
- {topologicpy-0.7.78.dist-info → topologicpy-0.7.79.dist-info}/WHEEL +0 -0
- {topologicpy-0.7.78.dist-info → topologicpy-0.7.79.dist-info}/top_level.txt +0 -0
topologicpy/Topology.py
CHANGED
@@ -6864,7 +6864,7 @@ class Topology():
|
|
6864
6864
|
final_faces.append(f)
|
6865
6865
|
else:
|
6866
6866
|
print("Topology.RemoveCoplanarFaces - Warning: Could not remove some coplanar faces. Re-adding original faces.")
|
6867
|
-
final_faces += Shell.Faces(
|
6867
|
+
final_faces += Shell.Faces(t)
|
6868
6868
|
else: # It is a cluster
|
6869
6869
|
shells = Topology.Shells(t)
|
6870
6870
|
for shell in shells:
|
topologicpy/Wire.py
CHANGED
@@ -3039,8 +3039,20 @@ class Wire():
|
|
3039
3039
|
final_wire = Edge.ByStartVertexEndVertex(wire_verts[0], wire_verts[1], tolerance=tolerance, silent=True)
|
3040
3040
|
return final_wire
|
3041
3041
|
|
3042
|
+
if Topology.IsInstance(wire, "cluster"):
|
3043
|
+
wires = Topology.Wires(wire)
|
3044
|
+
temp_wires = []
|
3045
|
+
for w in wires:
|
3046
|
+
temp_w = Wire.RemoveCollinearEdges(w)
|
3047
|
+
if not temp_w == None:
|
3048
|
+
temp_wires.append(temp_w)
|
3049
|
+
if len(temp_wires) > 0:
|
3050
|
+
result = Topology.SelfMerge(Cluster.ByTopologies(temp_w))
|
3051
|
+
return result
|
3042
3052
|
if not Topology.IsInstance(wire, "Wire"):
|
3043
3053
|
if not silent:
|
3054
|
+
print("The wire is:", wire)
|
3055
|
+
Topology.Show(wire)
|
3044
3056
|
print("Wire.RemoveCollinearEdges - Error: The input wire parameter is not a valid wire. Returning None.")
|
3045
3057
|
curframe = inspect.currentframe()
|
3046
3058
|
calframe = inspect.getouterframes(curframe, 2)
|
topologicpy/version.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '0.7.
|
1
|
+
__version__ = '0.7.79'
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: topologicpy
|
3
|
-
Version: 0.7.
|
3
|
+
Version: 0.7.79
|
4
4
|
Summary: An AI-Powered Spatial Modelling and Analysis Software Library for Architecture, Engineering, and Construction.
|
5
5
|
Author-email: Wassim Jabi <wassim.jabi@gmail.com>
|
6
6
|
License: AGPL v3 License
|
@@ -23,14 +23,14 @@ topologicpy/PyG.py,sha256=LU9LCCzjxGPUM31qbaJXZsTvniTtgugxJY7y612t4A4,109757
|
|
23
23
|
topologicpy/Shell.py,sha256=8OJjlWk9eCZ3uGOTht6ZVrcMczCafw-YWoDGueaz7eg,87673
|
24
24
|
topologicpy/Speckle.py,sha256=AlsGlSDuKRtX5jhVsPNSSjjbZis079HbUchDH_5RJmE,18187
|
25
25
|
topologicpy/Sun.py,sha256=42tDWMYpwRG7Z2Qjtp94eRgBuqySq7k8TgNUZDK7QxQ,36837
|
26
|
-
topologicpy/Topology.py,sha256=
|
26
|
+
topologicpy/Topology.py,sha256=nZ23yATRXAfM1d81V28qjN7yEgJIFDyCQXDxQGCe3fs,425772
|
27
27
|
topologicpy/Vector.py,sha256=A1g83zDHep58iVPY8WQ8iHNrSOfGWFEzvVeDuMnjDNY,33078
|
28
28
|
topologicpy/Vertex.py,sha256=mcLJaWFCct03dkVmT25wAl6k0k2EaYvB1PWNO9WQHWg,73465
|
29
|
-
topologicpy/Wire.py,sha256=
|
29
|
+
topologicpy/Wire.py,sha256=o6MlOjubkJ_f5s1tUamizCsoPKvcQ2OudtJv0yCF-2o,186477
|
30
30
|
topologicpy/__init__.py,sha256=vlPCanUbxe5NifC4pHcnhSzkmmYcs_UrZrTlVMsxcFs,928
|
31
|
-
topologicpy/version.py,sha256=
|
32
|
-
topologicpy-0.7.
|
33
|
-
topologicpy-0.7.
|
34
|
-
topologicpy-0.7.
|
35
|
-
topologicpy-0.7.
|
36
|
-
topologicpy-0.7.
|
31
|
+
topologicpy/version.py,sha256=3Y3zBNw07cgNOgxeneZYGRJ45Nq11i2jt5nPu_bH0bA,23
|
32
|
+
topologicpy-0.7.79.dist-info/LICENSE,sha256=FK0vJ73LuE8PYJAn7LutsReWR47-Ooovw2dnRe5yV6Q,681
|
33
|
+
topologicpy-0.7.79.dist-info/METADATA,sha256=817TOOJR836AWEB7_nU4TjReG_OHu-6KbOi3pI7jLV8,10513
|
34
|
+
topologicpy-0.7.79.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
35
|
+
topologicpy-0.7.79.dist-info/top_level.txt,sha256=J30bDzW92Ob7hw3zA8V34Jlp-vvsfIkGzkr8sqvb4Uw,12
|
36
|
+
topologicpy-0.7.79.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|