topologicpy 0.4.58__py3-none-any.whl → 0.4.59__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/Cluster.py CHANGED
@@ -775,7 +775,7 @@ class Cluster(topologic.Cluster):
775
775
  if not isinstance(cells, list):
776
776
  print("Cluster.MergeCells - Error: The input cells parameter is not a valid list of cells. Returning None.")
777
777
  return None
778
- cells = [cell for cell in cells if isinstance(cell, topologic.Cell)]
778
+ #cells = [cell for cell in cells if isinstance(cell, topologic.Cell)]
779
779
  if len(cells) < 1:
780
780
  print("Cluster.MergeCells - Error: The input cells parameter does not contain any valid cells. Returning None.")
781
781
  return None
topologicpy/Shell.py CHANGED
@@ -526,14 +526,15 @@ class Shell(Topology):
526
526
  tempTriangleVertices.append(vertices[simplex[2]])
527
527
  tempFace = Face.ByWire(Wire.ByVertices(tempTriangleVertices), tolerance=tolerance)
528
528
  tempCentroid = Topology.Centroid(tempFace)
529
- if Face.IsInternal(flatFace, tempCentroid):
530
- faces.append(tempFace)
529
+ faces.append(tempFace)
531
530
 
532
531
  shell = Shell.ByFaces(faces, tolerance=tolerance)
533
532
  if shell == None:
534
- print("Shell.Delaunay - WARNING: Could not create Shell. Returning a Cluster of Faces.")
535
533
  shell = Cluster.ByTopologies(faces)
534
+
536
535
  if isinstance(face, topologic.Face):
536
+ edges = Topology.Edges(shell)
537
+ shell = Topology.Slice(flatFace, Cluster.ByTopologies(edges))
537
538
  # Get the internal boundaries of the face
538
539
  wires = Face.InternalBoundaries(flatFace)
539
540
  ibList = []
topologicpy/__init__.py CHANGED
@@ -2,7 +2,7 @@ import sys
2
2
  import os, re
3
3
  from sys import platform
4
4
 
5
- __version__ = '0.4.58'
5
+ __version__ = '0.4.59'
6
6
  __version_info__ = tuple([ int(num) for num in __version__.split('.')])
7
7
 
8
8
  if platform == 'win32':
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: topologicpy
3
- Version: 0.4.58
3
+ Version: 0.4.59
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
@@ -1,7 +1,7 @@
1
1
  topologicpy/Aperture.py,sha256=jNrvM_5dnVGF6yvSfJCF0L1QXtgGoSv5od6T5vR8LJE,2087
2
2
  topologicpy/Cell.py,sha256=CQonJvie6NPozdrd5CVHeWCSMVSgT055KLkdzm77uMY,81025
3
3
  topologicpy/CellComplex.py,sha256=2B-_o39bPDel0EZCOa0VSMrf83aEVjszLP5SLPVqQGU,36741
4
- topologicpy/Cluster.py,sha256=KplyxAJUXXepTCGO_oBhlyJpp5ufx5ui3gOdun5gFww,41907
4
+ topologicpy/Cluster.py,sha256=VRvv89Lww0eW2DyzP4ZVoW9mYTKrUCjid9qPyP0219o,41908
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
7
  topologicpy/DGL.py,sha256=8YxKxrEZ8V8OQOvQr8fO1nu45LiTfGWm_lJh770eP7w,136517
@@ -17,13 +17,13 @@ topologicpy/Matrix.py,sha256=GHd_o714eEWbTOhRM5X-fXcgsV5yYJJSj6xFdnkwC14,7625
17
17
  topologicpy/Neo4j.py,sha256=FWGGmr_1uBFHG8ADgTF9AmXVIQwiZol2s7nunwq73a4,18568
18
18
  topologicpy/Plotly.py,sha256=pjFONUY1AYOgeGJBtsE8QlYOP6T8enpikOlWzqDqaHk,91885
19
19
  topologicpy/Polyskel.py,sha256=jz5k5H6p4QRWe3bbMnyYbP9Iji6EQ1wdk3qQvcnbg08,15156
20
- topologicpy/Shell.py,sha256=3ana42os30cCubkIr-PsMXIFsILOXkcvHLlnE46Vf98,80981
20
+ topologicpy/Shell.py,sha256=GCLoOf8jyLRh3G-tuyGZsM-V5qvGhDyHLBbTsHmjjaw,80946
21
21
  topologicpy/Speckle.py,sha256=D6jk1uiHJeLHz478-hn8aWJCgbW9NFEkll84gRJbveA,14041
22
22
  topologicpy/Topology.py,sha256=5ljh5sLJ8O-hA1oPnidOS8WtR2nzlfQLDiXIf77vstU,284827
23
23
  topologicpy/Vector.py,sha256=AWBPEaoDqcVM_TullugMvYBQ71MQZ0RCEYPG1_yccRk,18357
24
24
  topologicpy/Vertex.py,sha256=FAAXsvV424Rwl6cgNPjBnzSLqhd1Ngk60w_zJut1X8k,54133
25
25
  topologicpy/Wire.py,sha256=GkWF4l0TbC1lwbgmQLsedQT2Ysg9l0PliFuNV63RLPs,128720
26
- topologicpy/__init__.py,sha256=822wJ6ABg0LiLs7dD4viyzm7rhKl9w6qFoPE4E-A1SM,713
26
+ topologicpy/__init__.py,sha256=fDYqriABru1p9DrrdlwBZU6rzfcxkti5oBdbF29iHj8,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.58.dist-info/LICENSE,sha256=RUmXeeqj63bBySLJjEfhwb9OE7M8h9K6HuOBF3ASVyI,35697
71
- topologicpy-0.4.58.dist-info/METADATA,sha256=Mr5Hdu-JSmjXcLHQXiU5aGT1le51HvVpna5bHZE7CX0,6973
72
- topologicpy-0.4.58.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
73
- topologicpy-0.4.58.dist-info/top_level.txt,sha256=J30bDzW92Ob7hw3zA8V34Jlp-vvsfIkGzkr8sqvb4Uw,12
74
- topologicpy-0.4.58.dist-info/RECORD,,
70
+ topologicpy-0.4.59.dist-info/LICENSE,sha256=RUmXeeqj63bBySLJjEfhwb9OE7M8h9K6HuOBF3ASVyI,35697
71
+ topologicpy-0.4.59.dist-info/METADATA,sha256=SYsdzuK3qbgZWn-xpTcLkw5kWUPLXzS0K8bjUzKfnrs,6973
72
+ topologicpy-0.4.59.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
73
+ topologicpy-0.4.59.dist-info/top_level.txt,sha256=J30bDzW92Ob7hw3zA8V34Jlp-vvsfIkGzkr8sqvb4Uw,12
74
+ topologicpy-0.4.59.dist-info/RECORD,,