topologicpy 0.8.45__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/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. The default is 0.5.
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. The default is 0.5.
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. The default is 1.
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. The default is 1.
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. The default is False.
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 desired length of the mantissa. The default is 6.
85
+ The number of decimal places to round the result to. Default is 6.
86
86
  tolerance : float , optional
87
- The desired tolerance. The default is 0.0001.
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. The default is 0.0001.
281
+ The desired tolerance. Default is 0.0001.
282
282
  silent : bool , optional
283
- If set to True, error and warning messages are suppressed. The default is False.
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. The default is 0.0001.
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. The default is 1.0.
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. The default is 1.0.
348
+ The desired offset to the interior of the wire. Default is 1.0.
349
349
  tolerance : float , optional
350
- The desired tolerance. The default is 0.0001.
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. The default is True.
391
+ If set to True, the faces will be triangulated. Default is True.
392
392
  tolerance : float , optional
393
- The desired tolerance. The default is 0.0001.
393
+ The desired tolerance. Default is 0.0001.
394
394
  silent : bool , optional
395
- If set to True, error and warning messages are suppressed. The default is False.
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. The default is True.
527
+ If set to True, the faces will be triangulated. Default is True.
528
528
  tolerance : float , optional
529
- The desired tolerance. The default is 0.0001.
529
+ The desired tolerance. Default is 0.0001.
530
530
  silent : bool , optional
531
- If set to True, error and warning messages are suppressed. The default is False.
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. The default is None which results in the circle being placed at (0, 0, 0).
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. The default is 0.5.
559
+ The radius of the circle. Default is 0.5.
560
560
  sides : int , optional
561
- The number of sides of the circle. The default is 32.
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. The default is 0.
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. The default is 360.
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. The default is [0, 0, 1].
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. The default is "center".
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. The default is 0.0001.
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 desired length of the mantissa. The default is 6.
592
+ The number of decimal places to round the result to. Default is 6.
593
593
  tolerance : float , optional
594
- The desired tolerance. The default is 0.0001.
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. The default is 0.0001.
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. The default is None.
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. The default is 10.
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. The default is 10.
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. The default is [0, 0, 1].
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. The default is "center".
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 desired length of the mantissa. The default is 6.
778
+ The number of decimal places to round the result to. Default is 6.
779
779
  tolerance : float , optional
780
- The desired tolerance. The default is 0.0001.
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. The default is None.
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. The default is 0.5.
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. The default is 36.
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. The default is 10.
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^. The default is 2.0.
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^. The default is -2.0.
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. The default is [0, 0, 1].
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. The default is "center".
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. The default is 6
874
+ The desired length of the mantissa. Default is 6
875
875
  tolerance : float , optional
876
- The desired tolerance. The default is 0.0001.
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. The default is 0.0001.
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. The default is 0.0001.
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. The default is None which results in the parabolic surface being placed at (0, 0, 0).
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. The default is 1.
1111
+ The focal length of the parabola. Default is 1.
1112
1112
  width : float , optional
1113
- The width of the parabolic surface. The default is 1.
1113
+ The width of the parabolic surface. Default is 1.
1114
1114
  length : float , optional
1115
- The length of the parabolic surface. The default is 1.
1115
+ The length of the parabolic surface. Default is 1.
1116
1116
  uSides : int , optional
1117
- The number of sides along the width. The default is 16.
1117
+ The number of sides along the width. Default is 16.
1118
1118
  vSides : int , optional
1119
- The number of sides along the length. The default is 16.
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. The default is [0, 0, 1].
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. The default is "center".
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 desired length of the mantissa. The default is 6.
1125
+ The number of decimal places to round the result to. Default is 6.
1126
1126
  tolerance : float , optional
1127
- The desired tolerance. The default is 0.0001.
1127
+ The desired tolerance. Default is 0.0001.
1128
1128
  silent : bool , optional
1129
- If set to True, error and warning messages are suppressed. The default is False.
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. The default is None which results in the pie being placed at (0, 0, 0).
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. The default is 0.5.
1215
+ The outer radius of the pie. Default is 0.5.
1216
1216
  radiusB : float , optional
1217
- The inner radius of the pie. The default is 0.25.
1217
+ The inner radius of the pie. Default is 0.25.
1218
1218
  sides : int , optional
1219
- The number of sides of the pie. The default is 32.
1219
+ The number of sides of the pie. Default is 32.
1220
1220
  rings : int , optional
1221
- The number of rings of the pie. The default is 1.
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. The default is 0.
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. The default is 360.
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. The default is [0, 0, 1].
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. The default is "center".
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. The default is 0.0001.
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. The default is None.
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 desired length of the mantissa. The default is 6.
1342
+ The number of decimal places to round the result to. Default is 6.
1343
1343
  tolerance : float, optional
1344
- The desired tolerance. The default is 0.0001.
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. The default is None which results in the rectangle being placed at (0, 0, 0).
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. The default is 1.0.
1387
+ The width of the rectangle. Default is 1.0.
1388
1388
  length : float , optional
1389
- The length of the rectangle. The default is 1.0.
1389
+ The length of the rectangle. Default is 1.0.
1390
1390
  uSides : int , optional
1391
- The number of sides along the width. The default is 2.
1391
+ The number of sides along the width. Default is 2.
1392
1392
  vSides : int , optional
1393
- The number of sides along the length. The default is 2.
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. The default is [0, 0, 1].
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. The default is "center".
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. The default is 0.0001.
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. The default is 0.1.
1446
+ The desired angular tolerance. Default is 0.1.
1447
1447
  tolerance : float , optional
1448
- The desired tolerance. The default is 0.0001.
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. The default is 45.
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). The default is 0.01. (This is set to a larger number as it was found to work better)
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 desired length of the mantissa. The default is 6.
1487
+ The number of decimal places to round the result to. Default is 6.
1488
1488
  tolerance : float , optional
1489
- The desired tolerance. The default is 0.001. (This is set to a larger number as it was found to work better)
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. The default is 0.1.
1585
+ The desired angular tolerance. Default is 0.1.
1586
1586
  tolerance : float , optional
1587
- The desired tolerance. The default is 0.0001.
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. The default is True.
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. The default is 6
1659
+ The desired length of the mantissa. Default is 6
1660
1660
  tolerance : float , optional
1661
- The desired tolerance. The default is 0.0001. Edges shorter than this length will be removed.
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. The default is 0.001. (This is set to a larger number as it was found to work better)
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. The default is None which results in the square being placed at (0, 0, 0).
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. The default is 1.0.
1861
+ The size of the square. Default is 1.0.
1862
1862
  length : float , optional
1863
- The length of the square. The default is 1.0.
1863
+ The length of the square. Default is 1.0.
1864
1864
  uSides : int , optional
1865
- The number of sides along the width. The default is 2.
1865
+ The number of sides along the width. Default is 2.
1866
1866
  vSides : int , optional
1867
- The number of sides along the length. The default is 2.
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. The default is [0, 0, 1].
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. The default is "center".
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. The default is 0.0001.
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. The default is None.
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. The default is 6
1948
+ The desired length of the mantissa. Default is 6
1949
1949
  tolerance : float , optional
1950
- The desired tolerance. The default is 0.0001.
1950
+ The desired tolerance. Default is 0.0001.
1951
1951
 
1952
1952
  Returns
1953
1953
  -------