topologicpy 0.8.46__py3-none-any.whl → 0.8.47__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 +19 -19
- topologicpy/BVH.py +5 -5
- topologicpy/CSG.py +17 -17
- topologicpy/Cell.py +295 -295
- topologicpy/CellComplex.py +67 -67
- topologicpy/Cluster.py +35 -35
- topologicpy/Color.py +8 -8
- topologicpy/DGL.py +52 -52
- topologicpy/Dictionary.py +22 -22
- topologicpy/Edge.py +77 -77
- topologicpy/EnergyModel.py +25 -25
- topologicpy/Face.py +270 -270
- topologicpy/Graph.py +1052 -675
- topologicpy/Grid.py +24 -24
- topologicpy/Helper.py +8 -8
- topologicpy/Honeybee.py +13 -13
- topologicpy/Matrix.py +11 -11
- topologicpy/Neo4j.py +21 -21
- topologicpy/Plotly.py +213 -213
- topologicpy/PyG.py +41 -41
- topologicpy/ShapeGrammar.py +7 -7
- topologicpy/Shell.py +104 -104
- topologicpy/Sun.py +46 -46
- topologicpy/Topology.py +392 -392
- topologicpy/Vector.py +25 -25
- topologicpy/Vertex.py +64 -64
- topologicpy/Wire.py +250 -250
- topologicpy/version.py +1 -1
- {topologicpy-0.8.46.dist-info → topologicpy-0.8.47.dist-info}/METADATA +1 -1
- topologicpy-0.8.47.dist-info/RECORD +38 -0
- topologicpy-0.8.46.dist-info/RECORD +0 -38
- {topologicpy-0.8.46.dist-info → topologicpy-0.8.47.dist-info}/WHEEL +0 -0
- {topologicpy-0.8.46.dist-info → topologicpy-0.8.47.dist-info}/licenses/LICENSE +0 -0
- {topologicpy-0.8.46.dist-info → topologicpy-0.8.47.dist-info}/top_level.txt +0 -0
topologicpy/Vector.py
CHANGED
@@ -69,7 +69,7 @@ class Vector(list):
|
|
69
69
|
vectorB : list
|
70
70
|
The second vector.
|
71
71
|
mantissa : int, optional
|
72
|
-
The length of the desired mantissa.
|
72
|
+
The length of the desired mantissa. Default is 6.
|
73
73
|
|
74
74
|
Returns
|
75
75
|
-------
|
@@ -148,7 +148,7 @@ class Vector(list):
|
|
148
148
|
vectorA : list
|
149
149
|
The input vector.
|
150
150
|
mantissa : int, optional
|
151
|
-
The length of the desired mantissa.
|
151
|
+
The length of the desired mantissa. Default is 6.
|
152
152
|
|
153
153
|
Returns
|
154
154
|
-------
|
@@ -231,9 +231,9 @@ class Vector(list):
|
|
231
231
|
reverse : bool , optional
|
232
232
|
If set to True the direction of the vector is computed from the end point towards the origin. Otherwise, it is computed from the origin towards the end point.
|
233
233
|
mantissa : int , optional
|
234
|
-
The desired mantissa.
|
234
|
+
The desired mantissa. Default is 6.
|
235
235
|
tolerance : float , optional
|
236
|
-
The desired tolerance.
|
236
|
+
The desired tolerance. Default is 0.0001.
|
237
237
|
|
238
238
|
Returns
|
239
239
|
-------
|
@@ -286,7 +286,7 @@ class Vector(list):
|
|
286
286
|
normalize : bool , optional
|
287
287
|
If set to True, the resulting vector is normalized (i.e. its length is set to 1)
|
288
288
|
mantissa : int , optional
|
289
|
-
The
|
289
|
+
The number of decimal places to round the result to. Default is 6.
|
290
290
|
|
291
291
|
Returns
|
292
292
|
-------
|
@@ -368,11 +368,11 @@ class Vector(list):
|
|
368
368
|
vectorB : list
|
369
369
|
The second vector.
|
370
370
|
mantissa : int, optional
|
371
|
-
The length of the desired mantissa.
|
371
|
+
The length of the desired mantissa. Default is 6.
|
372
372
|
tolerance : float , optional
|
373
|
-
The desired tolerance.
|
373
|
+
The desired tolerance. Default is 0.0001.
|
374
374
|
silent : bool , optional
|
375
|
-
If set to True, error and warning messages are suppressed.
|
375
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
376
376
|
|
377
377
|
Returns
|
378
378
|
-------
|
@@ -418,9 +418,9 @@ class Vector(list):
|
|
418
418
|
vector : list
|
419
419
|
The input vector.
|
420
420
|
tolerance : float , optional
|
421
|
-
The desired tolerance.
|
421
|
+
The desired tolerance. Default is 0.0001.
|
422
422
|
silent : bool , optional
|
423
|
-
If set to True, error and warning messages are suppressed.
|
423
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
424
424
|
|
425
425
|
Returns
|
426
426
|
-------
|
@@ -526,11 +526,11 @@ class Vector(list):
|
|
526
526
|
vector : list
|
527
527
|
The input vector.
|
528
528
|
outputType : string, optional
|
529
|
-
The desired output type. Could be any permutation or substring of "xyz" or the string "matrix".
|
529
|
+
The desired output type. Could be any permutation or substring of "xyz" or the string "matrix". Default is "xyz". The input is case insensitive and the coordinates will be returned in the specified order.
|
530
530
|
mantissa : int , optional
|
531
|
-
The
|
531
|
+
The number of decimal places to round the result to. Default is 6.
|
532
532
|
silent : bool , optional
|
533
|
-
If set to True, error and warning messages are suppressed.
|
533
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
534
534
|
|
535
535
|
Returns
|
536
536
|
-------
|
@@ -576,11 +576,11 @@ class Vector(list):
|
|
576
576
|
vectorB : list
|
577
577
|
The second vector.
|
578
578
|
mantissa : int, optional
|
579
|
-
The length of the desired mantissa.
|
579
|
+
The length of the desired mantissa. Default is 6.
|
580
580
|
tolerance : float, optional
|
581
|
-
the desired tolerance.
|
581
|
+
the desired tolerance. Default is 0.0001.
|
582
582
|
silent : bool , optional
|
583
|
-
If set to True, error and warning messages are suppressed.
|
583
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
584
584
|
|
585
585
|
Returns
|
586
586
|
-------
|
@@ -623,11 +623,11 @@ class Vector(list):
|
|
623
623
|
vectorB : list
|
624
624
|
The second vector.
|
625
625
|
mantissa : int, optional
|
626
|
-
The length of the desired mantissa.
|
626
|
+
The length of the desired mantissa. Default is 6.
|
627
627
|
tolerance : float, optional
|
628
|
-
the desired tolerance.
|
628
|
+
the desired tolerance. Default is 0.0001.
|
629
629
|
silent : bool , optional
|
630
|
-
If set to True, error and warning messages are suppressed.
|
630
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
631
631
|
|
632
632
|
Returns
|
633
633
|
-------
|
@@ -728,7 +728,7 @@ class Vector(list):
|
|
728
728
|
vectorB : list
|
729
729
|
The second input vector.
|
730
730
|
tolerance : float, optional
|
731
|
-
The desired tolerance for determining collinearity.
|
731
|
+
The desired tolerance for determining collinearity. Default is 0.0001.
|
732
732
|
|
733
733
|
Returns
|
734
734
|
-------
|
@@ -768,7 +768,7 @@ class Vector(list):
|
|
768
768
|
vectorB : list
|
769
769
|
The second input vector.
|
770
770
|
tolerance : float, optional
|
771
|
-
The desired tolerance for determining parallelism.
|
771
|
+
The desired tolerance for determining parallelism. Default is 0.0001.
|
772
772
|
|
773
773
|
Returns
|
774
774
|
-------
|
@@ -804,7 +804,7 @@ class Vector(list):
|
|
804
804
|
vectorB : list
|
805
805
|
The second input vector.
|
806
806
|
tolerance : float , optional
|
807
|
-
The desired tolerance.
|
807
|
+
The desired tolerance. Default is 0.0001.
|
808
808
|
|
809
809
|
Returns
|
810
810
|
-------
|
@@ -824,7 +824,7 @@ class Vector(list):
|
|
824
824
|
vector : list
|
825
825
|
The input vector.
|
826
826
|
mantissa : int
|
827
|
-
The length of the desired mantissa.
|
827
|
+
The length of the desired mantissa. Default is 6.
|
828
828
|
|
829
829
|
Returns
|
830
830
|
-------
|
@@ -844,7 +844,7 @@ class Vector(list):
|
|
844
844
|
vector : list
|
845
845
|
The input vector.
|
846
846
|
mantissa : int
|
847
|
-
The length of the desired mantissa.
|
847
|
+
The length of the desired mantissa. Default is 6.
|
848
848
|
|
849
849
|
Returns
|
850
850
|
-------
|
@@ -866,7 +866,7 @@ class Vector(list):
|
|
866
866
|
magnitude : float
|
867
867
|
The input magnitude.
|
868
868
|
tolerance : float, optional
|
869
|
-
the desired tolerance.
|
869
|
+
the desired tolerance. Default is 0.0001.
|
870
870
|
|
871
871
|
Returns
|
872
872
|
-------
|
topologicpy/Vertex.py
CHANGED
@@ -44,23 +44,23 @@ class Vertex():
|
|
44
44
|
vertex : topologic_core.Vertex
|
45
45
|
The input vertex.
|
46
46
|
xList : list , optional
|
47
|
-
The input numerical list of x-coordinates.
|
47
|
+
The input numerical list of x-coordinates. Default is None.
|
48
48
|
yList : list , optional
|
49
|
-
The input numerical list of y-coordinates.
|
49
|
+
The input numerical list of y-coordinates. Default is None.
|
50
50
|
zList : list , optional
|
51
|
-
The input numerical list of z-coordinates.
|
51
|
+
The input numerical list of z-coordinates. Default is None.
|
52
52
|
xEpsilon : float , optional
|
53
|
-
The desired tolerance for the x coordinates.
|
53
|
+
The desired tolerance for the x coordinates. Default is 0.0001.
|
54
54
|
yEpsilon : float , optional
|
55
|
-
The desired tolerance for the y coordinates.
|
55
|
+
The desired tolerance for the y coordinates. Default is 0.0001.
|
56
56
|
zEpsilon : float , optional
|
57
|
-
The desired tolerance for the z coordinates.
|
57
|
+
The desired tolerance for the z coordinates. Default is 0.0001.
|
58
58
|
transferDictionary : bool , optional
|
59
59
|
if set to True, the dictionary of the input vertex is transferred to the new vertex.
|
60
60
|
mantissa : int , optional
|
61
|
-
The
|
61
|
+
The number of decimal places to round the result to. Default is 6.
|
62
62
|
silent : bool , optional
|
63
|
-
If set to True, error and warning messages are suppressed.
|
63
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
64
64
|
|
65
65
|
Returns
|
66
66
|
-------
|
@@ -108,9 +108,9 @@ class Vertex():
|
|
108
108
|
vertices : list
|
109
109
|
The input list of vertices.
|
110
110
|
mantissa : int , optional
|
111
|
-
The
|
111
|
+
The number of decimal places to round the result to. Default is 6.
|
112
112
|
tolerance : float, optional
|
113
|
-
The desired tolerance.
|
113
|
+
The desired tolerance. Default is 0.0001.
|
114
114
|
|
115
115
|
Returns
|
116
116
|
-------
|
@@ -162,11 +162,11 @@ class Vertex():
|
|
162
162
|
vertices : list
|
163
163
|
The input list of vertices.
|
164
164
|
mantissa : int , optional
|
165
|
-
The
|
165
|
+
The number of decimal places to round the result to. Default is 6.
|
166
166
|
tolerance : float , optional
|
167
|
-
The desired tolerance.
|
167
|
+
The desired tolerance. Default is 0.0001
|
168
168
|
silent : bool , optional
|
169
|
-
If set to True,
|
169
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
170
170
|
|
171
171
|
Returns
|
172
172
|
-------
|
@@ -335,9 +335,9 @@ class Vertex():
|
|
335
335
|
Parameters
|
336
336
|
----------
|
337
337
|
x : float , optional
|
338
|
-
The X coordinate.
|
338
|
+
The X coordinate. Default is 0.
|
339
339
|
y : float , optional
|
340
|
-
The Y coordinate.
|
340
|
+
The Y coordinate. Default is 0.
|
341
341
|
z : float , optional
|
342
342
|
The Z coordinate. The defaults is 0.
|
343
343
|
|
@@ -428,7 +428,7 @@ class Vertex():
|
|
428
428
|
vertices : list
|
429
429
|
The input list of vertices
|
430
430
|
mantissa : int , optional
|
431
|
-
The
|
431
|
+
The number of decimal places to round the result to. Default is 6.
|
432
432
|
|
433
433
|
Returns
|
434
434
|
-------
|
@@ -481,9 +481,9 @@ class Vertex():
|
|
481
481
|
vertex : topologic_core.Vertex
|
482
482
|
The input vertex.
|
483
483
|
outputType : string, optional
|
484
|
-
The desired output type. Could be any permutation or substring of "xyz" or the string "matrix".
|
484
|
+
The desired output type. Could be any permutation or substring of "xyz" or the string "matrix". Default is "xyz". The input is case insensitive and the coordinates will be returned in the specified order.
|
485
485
|
mantissa : int , optional
|
486
|
-
The
|
486
|
+
The number of decimal places to round the result to. Default is 6.
|
487
487
|
|
488
488
|
Returns
|
489
489
|
-------
|
@@ -527,7 +527,7 @@ class Vertex():
|
|
527
527
|
vertices : list
|
528
528
|
The input list of vertices
|
529
529
|
mantissa : int , optional
|
530
|
-
The
|
530
|
+
The number of decimal places to round the result to. Default is 6.
|
531
531
|
|
532
532
|
Returns
|
533
533
|
-------
|
@@ -568,7 +568,7 @@ class Vertex():
|
|
568
568
|
hostTopology : topologic_core.Topology
|
569
569
|
The input host topology in which to search for the connected super topologies.
|
570
570
|
topologyType : str , optional
|
571
|
-
The topology type to search for. This can be any of "edge", "wire", "face", "shell", "cell", "cellcomplex", "cluster". It is case insensitive. If set to None, the immediate supertopology type is searched for.
|
571
|
+
The topology type to search for. This can be any of "edge", "wire", "face", "shell", "cell", "cellcomplex", "cluster". It is case insensitive. If set to None, the immediate supertopology type is searched for. Default is None.
|
572
572
|
|
573
573
|
Returns
|
574
574
|
-------
|
@@ -597,9 +597,9 @@ class Vertex():
|
|
597
597
|
topology : topologic_core.Topology
|
598
598
|
The input topology.
|
599
599
|
includeCentroid : bool
|
600
|
-
If set to True, the centroid of the input topology will be considered in finding the nearest subTopology to the input vertex.
|
600
|
+
If set to True, the centroid of the input topology will be considered in finding the nearest subTopology to the input vertex. Default is True.
|
601
601
|
mantissa : int , optional
|
602
|
-
The
|
602
|
+
The number of decimal places to round the result to. Default is 6.
|
603
603
|
|
604
604
|
Returns
|
605
605
|
-------
|
@@ -737,11 +737,11 @@ class Vertex():
|
|
737
737
|
topology : topologic_core.Topology
|
738
738
|
The input topology.
|
739
739
|
exclusive : bool , optional
|
740
|
-
If set to True, return only the first found enclosing cell.
|
740
|
+
If set to True, return only the first found enclosing cell. Default is True.
|
741
741
|
mantissa : int , optional
|
742
|
-
The
|
742
|
+
The number of decimal places to round the result to. Default is 6.
|
743
743
|
tolerance : float , optional
|
744
|
-
The tolerance for computing if the input vertex is enclosed in a cell.
|
744
|
+
The tolerance for computing if the input vertex is enclosed in a cell. Default is 0.0001.
|
745
745
|
|
746
746
|
Returns
|
747
747
|
-------
|
@@ -814,9 +814,9 @@ class Vertex():
|
|
814
814
|
vertices : list
|
815
815
|
The input list of topologic vertices.
|
816
816
|
mantissa : int , optional
|
817
|
-
The desired length of the mantissa for retrieving vertex coordinates.
|
817
|
+
The desired length of the mantissa for retrieving vertex coordinates. Default is 6.
|
818
818
|
tolerance : float , optional
|
819
|
-
The desired tolerance for computing if vertices need to be fused. Any vertices that are closer to each other than this tolerance will be fused.
|
819
|
+
The desired tolerance for computing if vertices need to be fused. Any vertices that are closer to each other than this tolerance will be fused. Default is 0.0001.
|
820
820
|
|
821
821
|
Returns
|
822
822
|
-------
|
@@ -892,7 +892,7 @@ class Vertex():
|
|
892
892
|
hostTopology : topologic_core.Topology
|
893
893
|
The input host topology to which the vertex belongs.
|
894
894
|
tolerance : float , optional
|
895
|
-
The desired tolerance.
|
895
|
+
The desired tolerance. Default is 0.0001.
|
896
896
|
|
897
897
|
Returns
|
898
898
|
-------
|
@@ -930,9 +930,9 @@ class Vertex():
|
|
930
930
|
vertices : list
|
931
931
|
The input list of vertices.
|
932
932
|
strict : bool , optional
|
933
|
-
If set to True, the vertex must be strictly identical to the one found in the list. Otherwise, a distance comparison is used.
|
933
|
+
If set to True, the vertex must be strictly identical to the one found in the list. Otherwise, a distance comparison is used. Default is False.
|
934
934
|
tolerance : float , optional
|
935
|
-
The tolerance for computing if the input vertex is identical to a vertex from the list.
|
935
|
+
The tolerance for computing if the input vertex is identical to a vertex from the list. Default is 0.0001.
|
936
936
|
|
937
937
|
Returns
|
938
938
|
-------
|
@@ -971,13 +971,13 @@ class Vertex():
|
|
971
971
|
vertices : list
|
972
972
|
The input list of vertices.
|
973
973
|
n : int , optional
|
974
|
-
The maximum number of nearest vertices to consider.
|
974
|
+
The maximum number of nearest vertices to consider. Default is 3.
|
975
975
|
key : str , optional
|
976
|
-
The key that holds the value to be interpolated in the dictionaries of the vertices.
|
976
|
+
The key that holds the value to be interpolated in the dictionaries of the vertices. Default is "intensity".
|
977
977
|
mantissa : int , optional
|
978
|
-
The
|
978
|
+
The number of decimal places to round the result to. Default is 6.
|
979
979
|
tolerance : float , optional
|
980
|
-
The tolerance for computing if the input vertex is coincident with another vertex in the input list of vertices.
|
980
|
+
The tolerance for computing if the input vertex is coincident with another vertex in the input list of vertices. Default is 0.0001.
|
981
981
|
|
982
982
|
Returns
|
983
983
|
-------
|
@@ -1082,7 +1082,7 @@ class Vertex():
|
|
1082
1082
|
vertexB : topologic_core.Vertex
|
1083
1083
|
The second input vertex.
|
1084
1084
|
tolerance : float , optional
|
1085
|
-
The tolerance for computing if the input vertexA is coincident with the input vertexB.
|
1085
|
+
The tolerance for computing if the input vertexA is coincident with the input vertexB. Default is 0.0001.
|
1086
1086
|
|
1087
1087
|
Returns
|
1088
1088
|
-------
|
@@ -1114,9 +1114,9 @@ class Vertex():
|
|
1114
1114
|
topology : topologic_core.Topology
|
1115
1115
|
The input topology.
|
1116
1116
|
tolerance : float , optional
|
1117
|
-
The tolerance for computing if the input vertex is external to the input topology.
|
1117
|
+
The tolerance for computing if the input vertex is external to the input topology. Default is 0.0001.
|
1118
1118
|
silent : bool , optional
|
1119
|
-
If set to True, error and warning messages are suppressed.
|
1119
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
1120
1120
|
|
1121
1121
|
Returns
|
1122
1122
|
-------
|
@@ -1148,9 +1148,9 @@ class Vertex():
|
|
1148
1148
|
topology : topologic_core.Topology
|
1149
1149
|
The input topology.
|
1150
1150
|
tolerance : float , optional
|
1151
|
-
The tolerance for computing if the input vertex is internal to the input topology.
|
1151
|
+
The tolerance for computing if the input vertex is internal to the input topology. Default is 0.0001.
|
1152
1152
|
silent : bool , optional
|
1153
|
-
If set to True, error and warning messages are suppressed.
|
1153
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
1154
1154
|
|
1155
1155
|
Returns
|
1156
1156
|
-------
|
@@ -1263,9 +1263,9 @@ class Vertex():
|
|
1263
1263
|
topology : topologic_core.Topology
|
1264
1264
|
The input topology.
|
1265
1265
|
tolerance : float , optional
|
1266
|
-
The tolerance for computing if the input vertex is peripheral to the input topology.
|
1266
|
+
The tolerance for computing if the input vertex is peripheral to the input topology. Default is 0.0001.
|
1267
1267
|
silent : bool , optional
|
1268
|
-
If set to True, error and warning messages are suppressed.
|
1268
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
1269
1269
|
|
1270
1270
|
Returns
|
1271
1271
|
-------
|
@@ -1364,9 +1364,9 @@ class Vertex():
|
|
1364
1364
|
topology : topologic_core.Topology
|
1365
1365
|
The input topology to be searched for the nearest vertex.
|
1366
1366
|
useKDTree : bool , optional
|
1367
|
-
if set to True, the algorithm will use a KDTree method to search for the nearest vertex.
|
1367
|
+
if set to True, the algorithm will use a KDTree method to search for the nearest vertex. Default is True.
|
1368
1368
|
mantissa : int , optional
|
1369
|
-
The
|
1369
|
+
The number of decimal places to round the result to. Default is 6.
|
1370
1370
|
|
1371
1371
|
Returns
|
1372
1372
|
-------
|
@@ -1508,11 +1508,11 @@ class Vertex():
|
|
1508
1508
|
vertices : list
|
1509
1509
|
A list of Topologic Vertex objects that are assumed to be co-planar.
|
1510
1510
|
mantissa : int, optional
|
1511
|
-
The
|
1511
|
+
The number of decimal places to round the result to. Default is 6.
|
1512
1512
|
tolerance : float, optional
|
1513
|
-
The desired tolerance.
|
1513
|
+
The desired tolerance. Default is 0.0001.
|
1514
1514
|
silent : bool , optional
|
1515
|
-
If set to True
|
1515
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
1516
1516
|
|
1517
1517
|
Returns
|
1518
1518
|
-------
|
@@ -1575,7 +1575,7 @@ class Vertex():
|
|
1575
1575
|
hostTopology : topologic_core.Topology
|
1576
1576
|
The input host topology to which the vertex belongs.
|
1577
1577
|
tolerance : float , optional
|
1578
|
-
The desired tolerance.
|
1578
|
+
The desired tolerance. Default is 0.0001.
|
1579
1579
|
|
1580
1580
|
Returns
|
1581
1581
|
-------
|
@@ -1613,7 +1613,7 @@ class Vertex():
|
|
1613
1613
|
face : topologic_core.Face
|
1614
1614
|
The input face.
|
1615
1615
|
mantissa: int , optional
|
1616
|
-
The
|
1616
|
+
The number of decimal places to round the result to. Default is 6.
|
1617
1617
|
|
1618
1618
|
Returns
|
1619
1619
|
-------
|
@@ -1690,7 +1690,7 @@ class Vertex():
|
|
1690
1690
|
vertices : list
|
1691
1691
|
The input list of vertices
|
1692
1692
|
mantissa : int , optional
|
1693
|
-
The
|
1693
|
+
The number of decimal places to round the result to. Default is 6.
|
1694
1694
|
|
1695
1695
|
Returns
|
1696
1696
|
-------
|
@@ -1739,11 +1739,11 @@ class Vertex():
|
|
1739
1739
|
Parameters
|
1740
1740
|
----------
|
1741
1741
|
x : float , optional.
|
1742
|
-
The desired x coordinate.
|
1742
|
+
The desired x coordinate. Default is 0.
|
1743
1743
|
y : float , optional.
|
1744
|
-
The desired y coordinate.
|
1744
|
+
The desired y coordinate. Default is 0.
|
1745
1745
|
z : float , optional.
|
1746
|
-
The desired z coordinate.
|
1746
|
+
The desired z coordinate. Default is 0.
|
1747
1747
|
|
1748
1748
|
Returns
|
1749
1749
|
-------
|
@@ -1764,9 +1764,9 @@ class Vertex():
|
|
1764
1764
|
face : topologic_core.Face
|
1765
1765
|
The input face that receives the projection of the input vertex.
|
1766
1766
|
direction : vector, optional
|
1767
|
-
The direction in which to project the input vertex unto the input face. If not specified, the direction of the projection is the normal of the input face.
|
1767
|
+
The direction in which to project the input vertex unto the input face. If not specified, the direction of the projection is the normal of the input face. Default is None.
|
1768
1768
|
mantissa : int , optional
|
1769
|
-
The length of the desired mantissa.
|
1769
|
+
The length of the desired mantissa. Default is 6.
|
1770
1770
|
|
1771
1771
|
Returns
|
1772
1772
|
-------
|
@@ -1828,15 +1828,15 @@ class Vertex():
|
|
1828
1828
|
vertices : *topologicpy.Vertex
|
1829
1829
|
One or more instances of a topologic vertex to be processed.
|
1830
1830
|
minDistance : float , optional
|
1831
|
-
The desired minimum distance.
|
1831
|
+
The desired minimum distance. Default is 0.0001.
|
1832
1832
|
iterations : int
|
1833
|
-
The number of iterations to run the repulsion simulation.
|
1833
|
+
The number of iterations to run the repulsion simulation. Default is 100.
|
1834
1834
|
strength : float
|
1835
|
-
The force multiplier controlling how strongly vertices repel each other.
|
1835
|
+
The force multiplier controlling how strongly vertices repel each other. Default is 0.1.
|
1836
1836
|
tolerance : float
|
1837
|
-
The desired tolerance.
|
1837
|
+
The desired tolerance. Default is 0.0001.
|
1838
1838
|
silent : bool , optional
|
1839
|
-
If set to True, error and warning messages are suppressed.
|
1839
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
1840
1840
|
|
1841
1841
|
Returns
|
1842
1842
|
-------
|
@@ -1920,9 +1920,9 @@ class Vertex():
|
|
1920
1920
|
matrix : list
|
1921
1921
|
The 4x4 transformation matrix.
|
1922
1922
|
mantissa : int , optional
|
1923
|
-
The
|
1923
|
+
The number of decimal places to round the result to. Default is 6.
|
1924
1924
|
silent : bool , optional
|
1925
|
-
If set to True, error and warning messages are suppressed.
|
1925
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
1926
1926
|
|
1927
1927
|
Returns
|
1928
1928
|
-------
|
@@ -1975,7 +1975,7 @@ class Vertex():
|
|
1975
1975
|
vertex : topologic_core.Vertex
|
1976
1976
|
The input vertex.
|
1977
1977
|
mantissa : int , optional
|
1978
|
-
The
|
1978
|
+
The number of decimal places to round the result to. Default is 6.
|
1979
1979
|
|
1980
1980
|
Returns
|
1981
1981
|
-------
|
@@ -2001,7 +2001,7 @@ class Vertex():
|
|
2001
2001
|
vertex : topologic_core.Vertex
|
2002
2002
|
The input vertex.
|
2003
2003
|
mantissa : int , optional
|
2004
|
-
The
|
2004
|
+
The number of decimal places to round the result to. Default is 6.
|
2005
2005
|
|
2006
2006
|
Returns
|
2007
2007
|
-------
|
@@ -2027,7 +2027,7 @@ class Vertex():
|
|
2027
2027
|
vertex : topologic_core.Vertex
|
2028
2028
|
The input vertex.
|
2029
2029
|
mantissa : int , optional
|
2030
|
-
The
|
2030
|
+
The number of decimal places to round the result to. Default is 6.
|
2031
2031
|
|
2032
2032
|
Returns
|
2033
2033
|
-------
|