topologicpy 0.7.22__py3-none-any.whl → 0.7.23__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 +15 -8
- topologicpy/version.py +1 -1
- {topologicpy-0.7.22.dist-info → topologicpy-0.7.23.dist-info}/METADATA +1 -1
- {topologicpy-0.7.22.dist-info → topologicpy-0.7.23.dist-info}/RECORD +7 -7
- {topologicpy-0.7.22.dist-info → topologicpy-0.7.23.dist-info}/LICENSE +0 -0
- {topologicpy-0.7.22.dist-info → topologicpy-0.7.23.dist-info}/WHEEL +0 -0
- {topologicpy-0.7.22.dist-info → topologicpy-0.7.23.dist-info}/top_level.txt +0 -0
topologicpy/Topology.py
CHANGED
@@ -2777,9 +2777,9 @@ class Topology():
|
|
2777
2777
|
objPath : str
|
2778
2778
|
The path to the OBJ file.
|
2779
2779
|
defaultColor : list , optional
|
2780
|
-
The default color to use if none is
|
2780
|
+
The default color to use if none is specified in the file. The default is [255, 255, 255] (white).
|
2781
2781
|
defaultOpacity : float , optional
|
2782
|
-
The default opacity to use if none is
|
2782
|
+
The default opacity to use if none is specified in the file. The default is 1.0 (fully opaque).
|
2783
2783
|
transposeAxes : bool , optional
|
2784
2784
|
If set to True the Z and Y axes are transposed. Otherwise, they are not. The default is True.
|
2785
2785
|
removeCoplanarFaces : bool , optional
|
@@ -2841,9 +2841,9 @@ class Topology():
|
|
2841
2841
|
mtlString : str , optional
|
2842
2842
|
The string of the MTL file. The default is None.
|
2843
2843
|
defaultColor : list , optional
|
2844
|
-
The default color to use if none is
|
2844
|
+
The default color to use if none is specified in the string. The default is [255, 255, 255] (white).
|
2845
2845
|
defaultOpacity : float , optional
|
2846
|
-
The default opacity to use if none is
|
2846
|
+
The default opacity to use if none is specified in the string. The default is 1.0 (fully opaque).
|
2847
2847
|
transposeAxes : bool , optional
|
2848
2848
|
If set to True the Z and Y axes are transposed. Otherwise, they are not. The default is True.
|
2849
2849
|
removeCoplanarFaces : bool , optional
|
@@ -2955,9 +2955,7 @@ class Topology():
|
|
2955
2955
|
'materials': materials,
|
2956
2956
|
'groups': groups
|
2957
2957
|
}
|
2958
|
-
keys = obj_data.keys()
|
2959
2958
|
groups = obj_data['groups']
|
2960
|
-
group_keys = groups.keys()
|
2961
2959
|
vertices = obj_data['vertices']
|
2962
2960
|
groups = obj_data['groups']
|
2963
2961
|
materials = obj_data['materials']
|
@@ -4756,10 +4754,20 @@ class Topology():
|
|
4756
4754
|
The input list of topologies.
|
4757
4755
|
path : str
|
4758
4756
|
The input file path.
|
4757
|
+
nameKey : str , optional
|
4758
|
+
The topology dictionary key under which to find the name of the topology. The default is "name".
|
4759
|
+
colorKey : str, optional
|
4760
|
+
The topology dictionary key under which to find the color of the topology. The default is "color".
|
4761
|
+
opacityKey : str , optional
|
4762
|
+
The topology dictionary key under which to find the opacity of the topology. The default is "opacity".
|
4763
|
+
defaultColor : list , optional
|
4764
|
+
The default color to use if no color is stored in the topology dictionary. The default is [255,255, 255] (white).
|
4765
|
+
defaultOpacity : float , optional
|
4766
|
+
The default opacity to use of no opacity is stored in the topology dictionary. This must be between 0 and 1. The default is 1 (fully opaque).
|
4759
4767
|
transposeAxes : bool , optional
|
4760
4768
|
If set to True the Z and Y coordinates are transposed so that Y points "up"
|
4761
4769
|
mode : int , optional
|
4762
|
-
The desired mode of meshing algorithm. Several options are available:
|
4770
|
+
The desired mode of meshing algorithm (for triangulation). Several options are available:
|
4763
4771
|
0: Classic
|
4764
4772
|
1: MeshAdapt
|
4765
4773
|
3: Initial Mesh Only
|
@@ -4813,7 +4821,6 @@ class Topology():
|
|
4813
4821
|
|
4814
4822
|
mtl_path = path[:-4] + ".mtl"
|
4815
4823
|
|
4816
|
-
|
4817
4824
|
# Write out the material file
|
4818
4825
|
n = max(len(str(len(topologies))), 3)
|
4819
4826
|
with open(mtl_path, "w") as mtl_file:
|
topologicpy/version.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '0.7.
|
1
|
+
__version__ = '0.7.23'
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: topologicpy
|
3
|
-
Version: 0.7.
|
3
|
+
Version: 0.7.23
|
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
|
@@ -21,14 +21,14 @@ topologicpy/Polyskel.py,sha256=4R5_DEdfrmi-4gR6axHNoHTCSAE2TCekOyN8jvb7bHQ,19722
|
|
21
21
|
topologicpy/Shell.py,sha256=szuwRbQeHH9jd2X-DA9UhYAL_mzgfr_ctGrrQL2reWg,79917
|
22
22
|
topologicpy/Speckle.py,sha256=rUS6PCaxIjEF5_fUruxvMH47FMKg-ohcoU0qAUb-yNM,14267
|
23
23
|
topologicpy/Sun.py,sha256=_gZfVyH0SDLQmmt775UeeAJ_BtwXO1STQnUMV1qkU0s,37161
|
24
|
-
topologicpy/Topology.py,sha256
|
24
|
+
topologicpy/Topology.py,sha256=EAu5bQl69c1n5KkJE1V2bapeEQsaCDL-ms0r-KzM35w,349215
|
25
25
|
topologicpy/Vector.py,sha256=JAIeOZplh7sQD46K4eP3gMgvK6iB1wwpZ0sC9-FFGq8,32803
|
26
26
|
topologicpy/Vertex.py,sha256=deOrCOvvGJYAludUE4Tm_L4Bx0ykQzO_ddnYSrUzsBs,71157
|
27
27
|
topologicpy/Wire.py,sha256=_-0s6lFCStTGEjK5M-_w79UCQoPVFH1Ou8PdH_urvT0,145180
|
28
28
|
topologicpy/__init__.py,sha256=D7ky87CAQMiS2KE6YLvcTLkTgA2PY7rASe6Z23pjp9k,872
|
29
|
-
topologicpy/version.py,sha256=
|
30
|
-
topologicpy-0.7.
|
31
|
-
topologicpy-0.7.
|
32
|
-
topologicpy-0.7.
|
33
|
-
topologicpy-0.7.
|
34
|
-
topologicpy-0.7.
|
29
|
+
topologicpy/version.py,sha256=N6Bti6avPpwylwTGFsJIizCk0diNen56ql7y-MCAT6U,23
|
30
|
+
topologicpy-0.7.23.dist-info/LICENSE,sha256=BRNw73R2WdDBICtwhI3wm3cxsaVqLTAGuRwrTltcfxs,1068
|
31
|
+
topologicpy-0.7.23.dist-info/METADATA,sha256=Km1K1jcxZhheChH715Z3gtb76475mzJZtqu-aJm2Y78,10916
|
32
|
+
topologicpy-0.7.23.dist-info/WHEEL,sha256=mguMlWGMX-VHnMpKOjjQidIo1ssRlCFu4a4mBpz1s2M,91
|
33
|
+
topologicpy-0.7.23.dist-info/top_level.txt,sha256=J30bDzW92Ob7hw3zA8V34Jlp-vvsfIkGzkr8sqvb4Uw,12
|
34
|
+
topologicpy-0.7.23.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|