topologicpy 0.8.46__py3-none-any.whl → 0.8.48__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 +214 -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 +264 -250
- topologicpy/version.py +1 -1
- {topologicpy-0.8.46.dist-info → topologicpy-0.8.48.dist-info}/METADATA +1 -1
- topologicpy-0.8.48.dist-info/RECORD +38 -0
- topologicpy-0.8.46.dist-info/RECORD +0 -38
- {topologicpy-0.8.46.dist-info → topologicpy-0.8.48.dist-info}/WHEEL +0 -0
- {topologicpy-0.8.46.dist-info → topologicpy-0.8.48.dist-info}/licenses/LICENSE +0 -0
- {topologicpy-0.8.46.dist-info → topologicpy-0.8.48.dist-info}/top_level.txt +0 -0
topologicpy/Shell.py
CHANGED
@@ -70,21 +70,21 @@ class Shell():
|
|
70
70
|
faces : list
|
71
71
|
The input list of faces.
|
72
72
|
maximumGap : float , optional
|
73
|
-
The length of the maximum gap between the faces.
|
73
|
+
The length of the maximum gap between the faces. Default is 0.5.
|
74
74
|
mergeJunctions : bool , optional
|
75
75
|
If set to True, the interior junctions are merged into a single vertex. Otherwise, diagonal edges are added to resolve transitions between different gap distances.
|
76
76
|
threshold : float , optional
|
77
|
-
The desired threshold under which vertices are merged into a single vertex.
|
77
|
+
The desired threshold under which vertices are merged into a single vertex. Default is 0.5.
|
78
78
|
uSides : int , optional
|
79
|
-
The desired number of sides along the X axis for the grid that subdivides the input faces to aid in processing.
|
79
|
+
The desired number of sides along the X axis for the grid that subdivides the input faces to aid in processing. Default is 1.
|
80
80
|
vSides : int , optional
|
81
|
-
The desired number of sides along the Y axis for the grid that subdivides the input faces to aid in processing.
|
81
|
+
The desired number of sides along the Y axis for the grid that subdivides the input faces to aid in processing. Default is 1.
|
82
82
|
transferDictionaries : bool, optional.
|
83
|
-
If set to True, the dictionaries in the input list of faces are transfered to the faces of the resulting shell.
|
83
|
+
If set to True, the dictionaries in the input list of faces are transfered to the faces of the resulting shell. Default is False.
|
84
84
|
mantissa : int , optional
|
85
|
-
The
|
85
|
+
The number of decimal places to round the result to. Default is 6.
|
86
86
|
tolerance : float , optional
|
87
|
-
The desired tolerance.
|
87
|
+
The desired tolerance. Default is 0.0001.
|
88
88
|
|
89
89
|
Returns
|
90
90
|
-------
|
@@ -278,9 +278,9 @@ class Shell():
|
|
278
278
|
faces : list
|
279
279
|
The input list of faces.
|
280
280
|
tolerance : float , optional
|
281
|
-
The desired tolerance.
|
281
|
+
The desired tolerance. Default is 0.0001.
|
282
282
|
silent : bool , optional
|
283
|
-
If set to True, error and warning messages are suppressed.
|
283
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
284
284
|
|
285
285
|
Returns
|
286
286
|
-------
|
@@ -318,7 +318,7 @@ class Shell():
|
|
318
318
|
cluster : topologic_core.Cluster
|
319
319
|
The input cluster of faces.
|
320
320
|
tolerance : float , optional
|
321
|
-
The desired tolerance.
|
321
|
+
The desired tolerance. Default is 0.0001.
|
322
322
|
|
323
323
|
Returns
|
324
324
|
-------
|
@@ -343,11 +343,11 @@ class Shell():
|
|
343
343
|
wire : topologic_core.Wire
|
344
344
|
The input wire to be thickened.
|
345
345
|
offsetA : float , optional
|
346
|
-
The desired offset to the exterior of the wire.
|
346
|
+
The desired offset to the exterior of the wire. Default is 1.0.
|
347
347
|
offsetB : float , optional
|
348
|
-
The desired offset to the interior of the wire.
|
348
|
+
The desired offset to the interior of the wire. Default is 1.0.
|
349
349
|
tolerance : float , optional
|
350
|
-
The desired tolerance.
|
350
|
+
The desired tolerance. Default is 0.0001.
|
351
351
|
|
352
352
|
Returns
|
353
353
|
-------
|
@@ -388,11 +388,11 @@ class Shell():
|
|
388
388
|
wires : list
|
389
389
|
The input list of wires.
|
390
390
|
triangulate : bool , optional
|
391
|
-
If set to True, the faces will be triangulated.
|
391
|
+
If set to True, the faces will be triangulated. Default is True.
|
392
392
|
tolerance : float , optional
|
393
|
-
The desired tolerance.
|
393
|
+
The desired tolerance. Default is 0.0001.
|
394
394
|
silent : bool , optional
|
395
|
-
If set to True, error and warning messages are suppressed.
|
395
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
396
396
|
|
397
397
|
Returns
|
398
398
|
-------
|
@@ -524,11 +524,11 @@ class Shell():
|
|
524
524
|
wires : topologic_core.Cluster
|
525
525
|
The input cluster of wires.
|
526
526
|
triangulate : bool , optional
|
527
|
-
If set to True, the faces will be triangulated.
|
527
|
+
If set to True, the faces will be triangulated. Default is True.
|
528
528
|
tolerance : float , optional
|
529
|
-
The desired tolerance.
|
529
|
+
The desired tolerance. Default is 0.0001.
|
530
530
|
silent : bool , optional
|
531
|
-
If set to True, error and warning messages are suppressed.
|
531
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
532
532
|
|
533
533
|
Returns
|
534
534
|
-------
|
@@ -554,21 +554,21 @@ class Shell():
|
|
554
554
|
Parameters
|
555
555
|
----------
|
556
556
|
origin : topologic_core.Vertex , optional
|
557
|
-
The location of the origin of the circle.
|
557
|
+
The location of the origin of the circle. Default is None which results in the circle being placed at (0, 0, 0).
|
558
558
|
radius : float , optional
|
559
|
-
The radius of the circle.
|
559
|
+
The radius of the circle. Default is 0.5.
|
560
560
|
sides : int , optional
|
561
|
-
The number of sides of the circle.
|
561
|
+
The number of sides of the circle. Default is 32.
|
562
562
|
fromAngle : float , optional
|
563
|
-
The angle in degrees from which to start creating the arc of the circle.
|
563
|
+
The angle in degrees from which to start creating the arc of the circle. Default is 0.
|
564
564
|
toAngle : float , optional
|
565
|
-
The angle in degrees at which to end creating the arc of the circle.
|
565
|
+
The angle in degrees at which to end creating the arc of the circle. Default is 360.
|
566
566
|
direction : list , optional
|
567
|
-
The vector representing the up direction of the circle.
|
567
|
+
The vector representing the up direction of the circle. Default is [0, 0, 1].
|
568
568
|
placement : str , optional
|
569
|
-
The description of the placement of the origin of the pie. This can be "center", or "lowerleft". It is case insensitive.
|
569
|
+
The description of the placement of the origin of the pie. This can be "center", or "lowerleft". It is case insensitive. Default is "center".
|
570
570
|
tolerance : float , optional
|
571
|
-
The desired tolerance.
|
571
|
+
The desired tolerance. Default is 0.0001.
|
572
572
|
|
573
573
|
Returns
|
574
574
|
-------
|
@@ -589,9 +589,9 @@ class Shell():
|
|
589
589
|
face : topologic_core.Face , optional
|
590
590
|
The input face. If specified, the delaunay triangulation is clipped to the face.
|
591
591
|
mantissa : int , optional
|
592
|
-
The
|
592
|
+
The number of decimal places to round the result to. Default is 6.
|
593
593
|
tolerance : float , optional
|
594
|
-
The desired tolerance.
|
594
|
+
The desired tolerance. Default is 0.0001.
|
595
595
|
|
596
596
|
Returns
|
597
597
|
-------
|
@@ -694,7 +694,7 @@ class Shell():
|
|
694
694
|
shell : topologic_core.Shell
|
695
695
|
The input shell.
|
696
696
|
tolerance : float , optional
|
697
|
-
The desired tolerance.
|
697
|
+
The desired tolerance. Default is 0.0001.
|
698
698
|
|
699
699
|
Returns
|
700
700
|
-------
|
@@ -757,7 +757,7 @@ class Shell():
|
|
757
757
|
Parameters
|
758
758
|
----------
|
759
759
|
origin : topologic_core.Vertex , optional
|
760
|
-
The origin of the hyperbolic paraboloid. If set to None, it will be placed at the (0, 0, 0) origin.
|
760
|
+
The origin of the hyperbolic paraboloid. If set to None, it will be placed at the (0, 0, 0) origin. Default is None.
|
761
761
|
llVertex : topologic_core.Vertex , optional
|
762
762
|
The lower left corner of the hyperbolic paraboloid. If set to None, it will be set to (-0.5, -0.5, -0.5).
|
763
763
|
lrVertex : topologic_core.Vertex , optional
|
@@ -767,17 +767,17 @@ class Shell():
|
|
767
767
|
urVertex : topologic_core.Vertex , optional
|
768
768
|
The upper right corner of the hyperbolic paraboloid. If set to None, it will be set to (0.5, 0.5, -0.5).
|
769
769
|
uSides : int , optional
|
770
|
-
The number of segments along the X axis.
|
770
|
+
The number of segments along the X axis. Default is 10.
|
771
771
|
vSides : int , optional
|
772
|
-
The number of segments along the Y axis.
|
772
|
+
The number of segments along the Y axis. Default is 10.
|
773
773
|
direction : list , optional
|
774
|
-
The vector representing the up direction of the hyperbolic paraboloid.
|
774
|
+
The vector representing the up direction of the hyperbolic paraboloid. Default is [0, 0, 1].
|
775
775
|
placement : str , optional
|
776
|
-
The description of the placement of the origin of the hyperbolic paraboloid. This can be "center", "lowerleft", "bottom". It is case insensitive.
|
776
|
+
The description of the placement of the origin of the hyperbolic paraboloid. This can be "center", "lowerleft", "bottom". It is case insensitive. Default is "center".
|
777
777
|
mantissa : int , optional
|
778
|
-
The
|
778
|
+
The number of decimal places to round the result to. Default is 6.
|
779
779
|
tolerance : float , optional
|
780
|
-
The desired tolerance.
|
780
|
+
The desired tolerance. Default is 0.0001.
|
781
781
|
|
782
782
|
Returns
|
783
783
|
-------
|
@@ -855,25 +855,25 @@ class Shell():
|
|
855
855
|
Parameters
|
856
856
|
----------
|
857
857
|
origin : topologic_core.Vertex , optional
|
858
|
-
The origin of the hyperbolic parabolid. If set to None, it will be placed at the (0, 0, 0) origin.
|
858
|
+
The origin of the hyperbolic parabolid. If set to None, it will be placed at the (0, 0, 0) origin. Default is None.
|
859
859
|
radius : float , optional
|
860
|
-
The desired radius of the hyperbolic paraboloid.
|
860
|
+
The desired radius of the hyperbolic paraboloid. Default is 0.5.
|
861
861
|
sides : int , optional
|
862
|
-
The desired number of sides of the hyperbolic parabolid.
|
862
|
+
The desired number of sides of the hyperbolic parabolid. Default is 36.
|
863
863
|
rings : int , optional
|
864
|
-
The desired number of concentric rings of the hyperbolic parabolid.
|
864
|
+
The desired number of concentric rings of the hyperbolic parabolid. Default is 10.
|
865
865
|
A : float , optional
|
866
|
-
The *A* constant in the equation z = A*x^2^ + B*y^2^.
|
866
|
+
The *A* constant in the equation z = A*x^2^ + B*y^2^. Default is 2.0.
|
867
867
|
B : float , optional
|
868
|
-
The *B* constant in the equation z = A*x^2^ + B*y^2^.
|
868
|
+
The *B* constant in the equation z = A*x^2^ + B*y^2^. Default is -2.0.
|
869
869
|
direction : list , optional
|
870
|
-
The vector representing the up direction of the hyperbolic paraboloid.
|
870
|
+
The vector representing the up direction of the hyperbolic paraboloid. Default is [0, 0, 1].
|
871
871
|
placement : str , optional
|
872
|
-
The description of the placement of the origin of the circle. This can be "center", "lowerleft", "bottom". It is case insensitive.
|
872
|
+
The description of the placement of the origin of the circle. This can be "center", "lowerleft", "bottom". It is case insensitive. Default is "center".
|
873
873
|
mantissa : int , optional
|
874
|
-
The desired length of the mantissa.
|
874
|
+
The desired length of the mantissa. Default is 6
|
875
875
|
tolerance : float , optional
|
876
|
-
The desired tolerance.
|
876
|
+
The desired tolerance. Default is 0.0001.
|
877
877
|
|
878
878
|
Returns
|
879
879
|
-------
|
@@ -1020,7 +1020,7 @@ class Shell():
|
|
1020
1020
|
shell : topologic_core.Shell
|
1021
1021
|
The input shell.
|
1022
1022
|
tolerance : float , optional
|
1023
|
-
The desired tolerance.
|
1023
|
+
The desired tolerance. Default is 0.0001.
|
1024
1024
|
|
1025
1025
|
Returns
|
1026
1026
|
-------
|
@@ -1073,7 +1073,7 @@ class Shell():
|
|
1073
1073
|
vertex : topologic_core.Vertex
|
1074
1074
|
The input vertex.
|
1075
1075
|
tolerance : float , optional
|
1076
|
-
The desired tolerance.
|
1076
|
+
The desired tolerance. Default is 0.0001.
|
1077
1077
|
|
1078
1078
|
Returns
|
1079
1079
|
-------
|
@@ -1106,27 +1106,27 @@ class Shell():
|
|
1106
1106
|
Parameters
|
1107
1107
|
----------
|
1108
1108
|
origin : topologic_core.Vertex , optional
|
1109
|
-
The origin location of the parabolic surface.
|
1109
|
+
The origin location of the parabolic surface. Default is None which results in the parabolic surface being placed at (0, 0, 0).
|
1110
1110
|
focalLength : float , optional
|
1111
|
-
The focal length of the parabola.
|
1111
|
+
The focal length of the parabola. Default is 1.
|
1112
1112
|
width : float , optional
|
1113
|
-
The width of the parabolic surface.
|
1113
|
+
The width of the parabolic surface. Default is 1.
|
1114
1114
|
length : float , optional
|
1115
|
-
The length of the parabolic surface.
|
1115
|
+
The length of the parabolic surface. Default is 1.
|
1116
1116
|
uSides : int , optional
|
1117
|
-
The number of sides along the width.
|
1117
|
+
The number of sides along the width. Default is 16.
|
1118
1118
|
vSides : int , optional
|
1119
|
-
The number of sides along the length.
|
1119
|
+
The number of sides along the length. Default is 16.
|
1120
1120
|
direction : list , optional
|
1121
|
-
The vector representing the up direction of the parabolic surface.
|
1121
|
+
The vector representing the up direction of the parabolic surface. Default is [0, 0, 1].
|
1122
1122
|
placement : str , optional
|
1123
|
-
The description of the placement of the origin of the parabolic surface. This can be "bottom", "center", or "lowerleft". It is case insensitive.
|
1123
|
+
The description of the placement of the origin of the parabolic surface. This can be "bottom", "center", or "lowerleft". It is case insensitive. Default is "center".
|
1124
1124
|
mantissa : int , optional
|
1125
|
-
The
|
1125
|
+
The number of decimal places to round the result to. Default is 6.
|
1126
1126
|
tolerance : float , optional
|
1127
|
-
The desired tolerance.
|
1127
|
+
The desired tolerance. Default is 0.0001.
|
1128
1128
|
silent : bool , optional
|
1129
|
-
If set to True, error and warning messages are suppressed.
|
1129
|
+
If set to True, error and warning messages are suppressed. Default is False.
|
1130
1130
|
|
1131
1131
|
Returns
|
1132
1132
|
-------
|
@@ -1210,25 +1210,25 @@ class Shell():
|
|
1210
1210
|
Parameters
|
1211
1211
|
----------
|
1212
1212
|
origin : topologic_core.Vertex , optional
|
1213
|
-
The location of the origin of the pie.
|
1213
|
+
The location of the origin of the pie. Default is None which results in the pie being placed at (0, 0, 0).
|
1214
1214
|
radiusA : float , optional
|
1215
|
-
The outer radius of the pie.
|
1215
|
+
The outer radius of the pie. Default is 0.5.
|
1216
1216
|
radiusB : float , optional
|
1217
|
-
The inner radius of the pie.
|
1217
|
+
The inner radius of the pie. Default is 0.25.
|
1218
1218
|
sides : int , optional
|
1219
|
-
The number of sides of the pie.
|
1219
|
+
The number of sides of the pie. Default is 32.
|
1220
1220
|
rings : int , optional
|
1221
|
-
The number of rings of the pie.
|
1221
|
+
The number of rings of the pie. Default is 1.
|
1222
1222
|
fromAngle : float , optional
|
1223
|
-
The angle in degrees from which to start creating the arc of the pie.
|
1223
|
+
The angle in degrees from which to start creating the arc of the pie. Default is 0.
|
1224
1224
|
toAngle : float , optional
|
1225
|
-
The angle in degrees at which to end creating the arc of the pie.
|
1225
|
+
The angle in degrees at which to end creating the arc of the pie. Default is 360.
|
1226
1226
|
direction : list , optional
|
1227
|
-
The vector representing the up direction of the pie.
|
1227
|
+
The vector representing the up direction of the pie. Default is [0, 0, 1].
|
1228
1228
|
placement : str , optional
|
1229
|
-
The description of the placement of the origin of the pie. This can be "center", or "lowerleft". It is case insensitive.
|
1229
|
+
The description of the placement of the origin of the pie. This can be "center", or "lowerleft". It is case insensitive. Default is "center".
|
1230
1230
|
tolerance : float , optional
|
1231
|
-
The desired tolerance.
|
1231
|
+
The desired tolerance. Default is 0.0001.
|
1232
1232
|
|
1233
1233
|
Returns
|
1234
1234
|
-------
|
@@ -1337,11 +1337,11 @@ class Shell():
|
|
1337
1337
|
shell : topologic_core.Shell
|
1338
1338
|
The input shell.
|
1339
1339
|
origin : topologic_core.Vertex , optional
|
1340
|
-
The desired origin of the plane unto which the planar shell will be projected. If set to None, the centroid of the input shell will be chosen.
|
1340
|
+
The desired origin of the plane unto which the planar shell will be projected. If set to None, the centroid of the input shell will be chosen. Default is None.
|
1341
1341
|
mantissa : int , optional
|
1342
|
-
The
|
1342
|
+
The number of decimal places to round the result to. Default is 6.
|
1343
1343
|
tolerance : float, optional
|
1344
|
-
The desired tolerance.
|
1344
|
+
The desired tolerance. Default is 0.0001.
|
1345
1345
|
|
1346
1346
|
Returns
|
1347
1347
|
-------
|
@@ -1382,21 +1382,21 @@ class Shell():
|
|
1382
1382
|
Parameters
|
1383
1383
|
----------
|
1384
1384
|
origin : topologic_core.Vertex , optional
|
1385
|
-
The location of the origin of the rectangle.
|
1385
|
+
The location of the origin of the rectangle. Default is None which results in the rectangle being placed at (0, 0, 0).
|
1386
1386
|
width : float , optional
|
1387
|
-
The width of the rectangle.
|
1387
|
+
The width of the rectangle. Default is 1.0.
|
1388
1388
|
length : float , optional
|
1389
|
-
The length of the rectangle.
|
1389
|
+
The length of the rectangle. Default is 1.0.
|
1390
1390
|
uSides : int , optional
|
1391
|
-
The number of sides along the width.
|
1391
|
+
The number of sides along the width. Default is 2.
|
1392
1392
|
vSides : int , optional
|
1393
|
-
The number of sides along the length.
|
1393
|
+
The number of sides along the length. Default is 2.
|
1394
1394
|
direction : list , optional
|
1395
|
-
The vector representing the up direction of the rectangle.
|
1395
|
+
The vector representing the up direction of the rectangle. Default is [0, 0, 1].
|
1396
1396
|
placement : str , optional
|
1397
|
-
The description of the placement of the origin of the rectangle. This can be "center", or "lowerleft". It is case insensitive.
|
1397
|
+
The description of the placement of the origin of the rectangle. This can be "center", or "lowerleft". It is case insensitive. Default is "center".
|
1398
1398
|
tolerance : float , optional
|
1399
|
-
The desired tolerance.
|
1399
|
+
The desired tolerance. Default is 0.0001.
|
1400
1400
|
|
1401
1401
|
Returns
|
1402
1402
|
-------
|
@@ -1443,9 +1443,9 @@ class Shell():
|
|
1443
1443
|
shell : topologic_core.Shell
|
1444
1444
|
The input shell.
|
1445
1445
|
angTolerance : float , optional
|
1446
|
-
The desired angular tolerance.
|
1446
|
+
The desired angular tolerance. Default is 0.1.
|
1447
1447
|
tolerance : float , optional
|
1448
|
-
The desired tolerance.
|
1448
|
+
The desired tolerance. Default is 0.0001.
|
1449
1449
|
|
1450
1450
|
Returns
|
1451
1451
|
-------
|
@@ -1480,13 +1480,13 @@ class Shell():
|
|
1480
1480
|
face : topologic_core.Face
|
1481
1481
|
The input face.
|
1482
1482
|
angle : float , optioal
|
1483
|
-
The desired angle in degrees of the roof.
|
1483
|
+
The desired angle in degrees of the roof. Default is 45.
|
1484
1484
|
epsilon : float , optional
|
1485
|
-
The desired epsilon (another form of tolerance for distance from plane).
|
1485
|
+
The desired epsilon (another form of tolerance for distance from plane). Default is 0.01. (This is set to a larger number as it was found to work better)
|
1486
1486
|
mantissa : int , optional
|
1487
|
-
The
|
1487
|
+
The number of decimal places to round the result to. Default is 6.
|
1488
1488
|
tolerance : float , optional
|
1489
|
-
The desired tolerance.
|
1489
|
+
The desired tolerance. Default is 0.001. (This is set to a larger number as it was found to work better)
|
1490
1490
|
|
1491
1491
|
Returns
|
1492
1492
|
-------
|
@@ -1582,9 +1582,9 @@ class Shell():
|
|
1582
1582
|
shell : topologic_core.Shell
|
1583
1583
|
The input shell.
|
1584
1584
|
angTolerance : float , optional
|
1585
|
-
The desired angular tolerance.
|
1585
|
+
The desired angular tolerance. Default is 0.1.
|
1586
1586
|
tolerance : float , optional
|
1587
|
-
The desired tolerance.
|
1587
|
+
The desired tolerance. Default is 0.0001.
|
1588
1588
|
|
1589
1589
|
Returns
|
1590
1590
|
-------
|
@@ -1654,11 +1654,11 @@ class Shell():
|
|
1654
1654
|
shell : topologic_core.Shell
|
1655
1655
|
The input shell.
|
1656
1656
|
simplifyBoundary : bool , optional
|
1657
|
-
If set to True, the external boundary of the shell will be simplified as well. Otherwise, it will not be simplified.
|
1657
|
+
If set to True, the external boundary of the shell will be simplified as well. Otherwise, it will not be simplified. Default is True.
|
1658
1658
|
mantissa : int , optional
|
1659
|
-
The desired length of the mantissa.
|
1659
|
+
The desired length of the mantissa. Default is 6
|
1660
1660
|
tolerance : float , optional
|
1661
|
-
The desired tolerance.
|
1661
|
+
The desired tolerance. Default is 0.0001. Edges shorter than this length will be removed.
|
1662
1662
|
|
1663
1663
|
Returns
|
1664
1664
|
-------
|
@@ -1800,7 +1800,7 @@ class Shell():
|
|
1800
1800
|
face : topologic_core.Face
|
1801
1801
|
The input face.
|
1802
1802
|
tolerance : float , optional
|
1803
|
-
The desired tolerance.
|
1803
|
+
The desired tolerance. Default is 0.001. (This is set to a larger number as it was found to work better)
|
1804
1804
|
|
1805
1805
|
Returns
|
1806
1806
|
-------
|
@@ -1856,21 +1856,21 @@ class Shell():
|
|
1856
1856
|
Parameters
|
1857
1857
|
----------
|
1858
1858
|
origin : topologic_core.Vertex , optional
|
1859
|
-
The location of the origin of the square.
|
1859
|
+
The location of the origin of the square. Default is None which results in the square being placed at (0, 0, 0).
|
1860
1860
|
size : float , optional
|
1861
|
-
The size of the square.
|
1861
|
+
The size of the square. Default is 1.0.
|
1862
1862
|
length : float , optional
|
1863
|
-
The length of the square.
|
1863
|
+
The length of the square. Default is 1.0.
|
1864
1864
|
uSides : int , optional
|
1865
|
-
The number of sides along the width.
|
1865
|
+
The number of sides along the width. Default is 2.
|
1866
1866
|
vSides : int , optional
|
1867
|
-
The number of sides along the length.
|
1867
|
+
The number of sides along the length. Default is 2.
|
1868
1868
|
direction : list , optional
|
1869
|
-
The vector representing the up direction of the square.
|
1869
|
+
The vector representing the up direction of the square. Default is [0, 0, 1].
|
1870
1870
|
placement : str , optional
|
1871
|
-
The description of the placement of the origin of the square. This can be "center", or "lowerleft". It is case insensitive.
|
1871
|
+
The description of the placement of the origin of the square. This can be "center", or "lowerleft". It is case insensitive. Default is "center".
|
1872
1872
|
tolerance : float , optional
|
1873
|
-
The desired tolerance.
|
1873
|
+
The desired tolerance. Default is 0.0001.
|
1874
1874
|
|
1875
1875
|
Returns
|
1876
1876
|
-------
|
@@ -1943,11 +1943,11 @@ class Shell():
|
|
1943
1943
|
vertices : list
|
1944
1944
|
The input list of vertices.
|
1945
1945
|
face : topologic_core.Face , optional
|
1946
|
-
The input face. If the face is not set an optimised bounding rectangle of the input vertices is used instead.
|
1946
|
+
The input face. If the face is not set an optimised bounding rectangle of the input vertices is used instead. Default is None.
|
1947
1947
|
mantissa : int , optional
|
1948
|
-
The desired length of the mantissa.
|
1948
|
+
The desired length of the mantissa. Default is 6
|
1949
1949
|
tolerance : float , optional
|
1950
|
-
The desired tolerance.
|
1950
|
+
The desired tolerance. Default is 0.0001.
|
1951
1951
|
|
1952
1952
|
Returns
|
1953
1953
|
-------
|