topologicpy 0.8.4__py3-none-any.whl → 0.8.5__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 +4 -2
- topologicpy/version.py +1 -1
- {topologicpy-0.8.4.dist-info → topologicpy-0.8.5.dist-info}/METADATA +1 -1
- {topologicpy-0.8.4.dist-info → topologicpy-0.8.5.dist-info}/RECORD +7 -7
- {topologicpy-0.8.4.dist-info → topologicpy-0.8.5.dist-info}/LICENSE +0 -0
- {topologicpy-0.8.4.dist-info → topologicpy-0.8.5.dist-info}/WHEEL +0 -0
- {topologicpy-0.8.4.dist-info → topologicpy-0.8.5.dist-info}/top_level.txt +0 -0
topologicpy/Topology.py
CHANGED
@@ -4195,8 +4195,10 @@ class Topology():
|
|
4195
4195
|
if normalize == False:
|
4196
4196
|
scale_factor = 1.0
|
4197
4197
|
else:
|
4198
|
-
edges = Topology.Edges(translated_top)
|
4199
|
-
max_edge_length = max([Edge.Length(edge, mantissa=mantissa) for edge in edges])
|
4198
|
+
#edges = Topology.Edges(translated_top)
|
4199
|
+
#max_edge_length = max([Edge.Length(edge, mantissa=mantissa) for edge in edges])
|
4200
|
+
longest_edges = Topology.LongestEdges(translated_top, removeCoplanarFaces=True)
|
4201
|
+
max_edge_length = Edge.Length(longest_edges[0])
|
4200
4202
|
scale_factor = 1.0 / max_edge_length if max_edge_length != 0 else 1.0
|
4201
4203
|
scaling_matrix = Matrix.ByScaling(scaleX=scale_factor, scaleY=scale_factor, scaleZ=scale_factor)
|
4202
4204
|
scaled_top = Topology.Scale(translated_top, origin=Vertex.Origin(), x=scale_factor, y=scale_factor, z=scale_factor)
|
topologicpy/version.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '0.8.
|
1
|
+
__version__ = '0.8.5'
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: topologicpy
|
3
|
-
Version: 0.8.
|
3
|
+
Version: 0.8.5
|
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=fLRnQ79vtdBDRW1Xn8Gaap34XheGbw7UBFd-ALJ2Y1g,87978
|
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=ejgcsZ6KUmQOkJuev102FyqnOSZLuwzupMh1p7g_hCc,463521
|
27
27
|
topologicpy/Vector.py,sha256=Cl7besf20cAGmyNPh-9gbFAHnRU5ZWSMChJ3VyFIDs4,35416
|
28
28
|
topologicpy/Vertex.py,sha256=tv6C-rbuNgXHDGgVLT5fbalynLdXqlUuiCDKtkeQ0vk,77814
|
29
29
|
topologicpy/Wire.py,sha256=Gl3Jpygwp8775SG57ua5r5ffTHcN4FOAkeI87yP1cok,234001
|
30
30
|
topologicpy/__init__.py,sha256=vlPCanUbxe5NifC4pHcnhSzkmmYcs_UrZrTlVMsxcFs,928
|
31
|
-
topologicpy/version.py,sha256=
|
32
|
-
topologicpy-0.8.
|
33
|
-
topologicpy-0.8.
|
34
|
-
topologicpy-0.8.
|
35
|
-
topologicpy-0.8.
|
36
|
-
topologicpy-0.8.
|
31
|
+
topologicpy/version.py,sha256=Vtr3iQMVF7gSX8AO7oEPv4S6HgRTdmjlmLyqQPj32xc,22
|
32
|
+
topologicpy-0.8.5.dist-info/LICENSE,sha256=FK0vJ73LuE8PYJAn7LutsReWR47-Ooovw2dnRe5yV6Q,681
|
33
|
+
topologicpy-0.8.5.dist-info/METADATA,sha256=8Dybj0s_HtTlA0VLOLlmuYS3WP0SKyyiU4Evy5RQBrA,10512
|
34
|
+
topologicpy-0.8.5.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
35
|
+
topologicpy-0.8.5.dist-info/top_level.txt,sha256=J30bDzW92Ob7hw3zA8V34Jlp-vvsfIkGzkr8sqvb4Uw,12
|
36
|
+
topologicpy-0.8.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|