1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071
|
import OCP.BRepBuilderAPI
from typing import *
from typing import Iterable as iterable
from typing import Iterator as iterator
from numpy import float64
_Shape = Tuple[int, ...]
import OCP.TopTools
import OCP.BRepTools
import OCP.Poly
import OCP.NCollection
import OCP.Geom
import OCP.TColStd
import OCP.Standard
import OCP.gp
import OCP.TopoDS
import OCP.Geom2d
import OCP.Bnd
__all__ = [
"BRepBuilderAPI",
"BRepBuilderAPI_BndBoxTreeSelector",
"BRepBuilderAPI_Collect",
"BRepBuilderAPI_Command",
"BRepBuilderAPI_MakeShape",
"BRepBuilderAPI_EdgeError",
"BRepBuilderAPI_FaceError",
"BRepBuilderAPI_FastSewing",
"BRepBuilderAPI_FindPlane",
"BRepBuilderAPI_ModifyShape",
"BRepBuilderAPI_MakeEdge",
"BRepBuilderAPI_MakeEdge2d",
"BRepBuilderAPI_MakeFace",
"BRepBuilderAPI_MakePolygon",
"BRepBuilderAPI_Copy",
"BRepBuilderAPI_MakeShapeOnMesh",
"BRepBuilderAPI_MakeShell",
"BRepBuilderAPI_MakeSolid",
"BRepBuilderAPI_MakeVertex",
"BRepBuilderAPI_MakeWire",
"BRepBuilderAPI_GTransform",
"BRepBuilderAPI_NurbsConvert",
"BRepBuilderAPI_PipeError",
"BRepBuilderAPI_Sewing",
"BRepBuilderAPI_ShapeModification",
"BRepBuilderAPI_ShellError",
"BRepBuilderAPI_Transform",
"BRepBuilderAPI_TransitionMode",
"BRepBuilderAPI_VertexInspector",
"BRepBuilderAPI_WireError",
"VectorOfPoint",
"BRepBuilderAPI_BoundaryModified",
"BRepBuilderAPI_CurveProjectionFailed",
"BRepBuilderAPI_Deleted",
"BRepBuilderAPI_DifferentPointsOnClosedCurve",
"BRepBuilderAPI_DifferentsPointAndParameter",
"BRepBuilderAPI_DisconnectedShell",
"BRepBuilderAPI_DisconnectedWire",
"BRepBuilderAPI_EdgeDone",
"BRepBuilderAPI_EmptyShell",
"BRepBuilderAPI_EmptyWire",
"BRepBuilderAPI_FaceDone",
"BRepBuilderAPI_ImpossibleContact",
"BRepBuilderAPI_LineThroughIdenticPoints",
"BRepBuilderAPI_Merged",
"BRepBuilderAPI_NoFace",
"BRepBuilderAPI_NonManifoldWire",
"BRepBuilderAPI_NotPlanar",
"BRepBuilderAPI_ParameterOutOfRange",
"BRepBuilderAPI_ParametersOutOfRange",
"BRepBuilderAPI_PipeDone",
"BRepBuilderAPI_PipeNotDone",
"BRepBuilderAPI_PlaneNotIntersectGuide",
"BRepBuilderAPI_PointProjectionFailed",
"BRepBuilderAPI_PointWithInfiniteParameter",
"BRepBuilderAPI_Preserved",
"BRepBuilderAPI_RightCorner",
"BRepBuilderAPI_RoundCorner",
"BRepBuilderAPI_ShellDone",
"BRepBuilderAPI_ShellParametersOutOfRange",
"BRepBuilderAPI_Transformed",
"BRepBuilderAPI_Trimmed",
"BRepBuilderAPI_WireDone"
]
class BRepBuilderAPI():
"""
The BRepBuilderAPI package provides an Application Programming Interface for the BRep topology data structure.
"""
@staticmethod
@overload
def Plane_s(P : OCP.Geom.Geom_Plane) -> None:
"""
Sets the current plane.
Returns the current plane.
"""
@staticmethod
@overload
def Plane_s() -> OCP.Geom.Geom_Plane: ...
@staticmethod
@overload
def Precision_s(P : float) -> None:
"""
Sets the default precision. The current Precision is returned.
Returns the default precision.
"""
@staticmethod
@overload
def Precision_s() -> float: ...
def __init__(self) -> None: ...
pass
class BRepBuilderAPI_BndBoxTreeSelector():
"""
Class BRepBuilderAPI_BndBoxTreeSelector derived from UBTree::Selector This class is used to select overlapping boxes, stored in NCollection::UBTree; contains methods to maintain the selection condition and to retrieve selected objects after search.
"""
def Accept(self,theObj : int) -> bool:
"""
Implementation of acceptance method This method is called when the bounding box intersect with the current. It stores the object - the index of box in the list of accepted objects.
"""
def ClearResList(self) -> None:
"""
Clear the list of intersecting boxes
"""
def Reject(self,theBox : OCP.Bnd.Bnd_Box) -> bool:
"""
Implementation of rejection method
"""
def ResInd(self) -> OCP.TColStd.TColStd_ListOfInteger:
"""
Get list of indexes of boxes intersecting with the current box
"""
def SetCurrent(self,theBox : OCP.Bnd.Bnd_Box) -> None:
"""
Set current box to search for overlapping with him
"""
def __init__(self) -> None: ...
pass
class BRepBuilderAPI_Collect():
"""
None
"""
def Add(self,SI : OCP.TopoDS.TopoDS_Shape,MKS : BRepBuilderAPI_MakeShape) -> None:
"""
None
"""
def AddGenerated(self,S : OCP.TopoDS.TopoDS_Shape,Gen : OCP.TopoDS.TopoDS_Shape) -> None:
"""
None
"""
def AddModif(self,S : OCP.TopoDS.TopoDS_Shape,Mod : OCP.TopoDS.TopoDS_Shape) -> None:
"""
None
"""
def Filter(self,SF : OCP.TopoDS.TopoDS_Shape) -> None:
"""
None
"""
def Generated(self) -> OCP.TopTools.TopTools_DataMapOfShapeListOfShape:
"""
None
"""
def Modification(self) -> OCP.TopTools.TopTools_DataMapOfShapeListOfShape:
"""
None
"""
def __init__(self) -> None: ...
pass
class BRepBuilderAPI_Command():
"""
Root class for all commands in BRepBuilderAPI.
"""
def Check(self) -> None:
"""
Raises NotDone if done is false.
"""
def IsDone(self) -> bool:
"""
None
"""
def __bool__(self) -> bool:
"""
Check if command is done
"""
pass
class BRepBuilderAPI_MakeShape(BRepBuilderAPI_Command):
"""
This is the root class for all shape constructions. It stores the result.
"""
def Build(self,theRange : OCP.Message.Message_ProgressRange=OCP.Message.Message_ProgressRange) -> None:
"""
This is called by Shape(). It does nothing but may be redefined.
"""
def Check(self) -> None:
"""
Raises NotDone if done is false.
"""
def Generated(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes generated from the shape <S>.
"""
def IsDeleted(self,S : OCP.TopoDS.TopoDS_Shape) -> bool:
"""
Returns true if the shape S has been deleted.
"""
def IsDone(self) -> bool:
"""
None
"""
def Modified(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes modified from the shape <S>.
"""
def Shape(self) -> OCP.TopoDS.TopoDS_Shape:
"""
Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built.
"""
def __bool__(self) -> bool:
"""
Check if command is done
"""
pass
class BRepBuilderAPI_EdgeError():
"""
Indicates the outcome of the construction of an edge, i.e. whether it has been successful or not, as explained below: - BRepBuilderAPI_EdgeDone No error occurred; The edge is correctly built. - BRepBuilderAPI_PointProjectionFailed No parameters were given but the projection of the 3D points on the curve failed. This happens when the point distance to the curve is greater than the precision value. - BRepBuilderAPI_ParameterOutOfRange The given parameters are not in the parametric range C->FirstParameter(), C->LastParameter() - BRepBuilderAPI_DifferentPointsOnClosedCurve The two vertices or points are the extremities of a closed curve but have different locations. - BRepBuilderAPI_PointWithInfiniteParameter A finite coordinate point was associated with an infinite parameter (see the Precision package for a definition of infinite values). - BRepBuilderAPI_DifferentsPointAndParameter The distance between the 3D point and the point evaluated on the curve with the parameter is greater than the precision. - BRepBuilderAPI_LineThroughIdenticPoints Two identical points were given to define a line (construction of an edge without curve); gp::Resolution is used for the confusion test.
Members:
BRepBuilderAPI_EdgeDone
BRepBuilderAPI_PointProjectionFailed
BRepBuilderAPI_ParameterOutOfRange
BRepBuilderAPI_DifferentPointsOnClosedCurve
BRepBuilderAPI_PointWithInfiniteParameter
BRepBuilderAPI_DifferentsPointAndParameter
BRepBuilderAPI_LineThroughIdenticPoints
"""
def __eq__(self,other : object) -> bool: ...
def __getstate__(self) -> int: ...
def __hash__(self) -> int: ...
def __index__(self) -> int: ...
def __init__(self,value : int) -> None: ...
def __int__(self) -> int: ...
def __ne__(self,other : object) -> bool: ...
def __repr__(self) -> str: ...
def __setstate__(self,state : int) -> None: ...
def __str__(self) -> str: ...
@property
def name(self) -> None:
"""
:type: None
"""
@property
def value(self) -> int:
"""
:type: int
"""
BRepBuilderAPI_DifferentPointsOnClosedCurve: OCP.BRepBuilderAPI.BRepBuilderAPI_EdgeError # value = <BRepBuilderAPI_EdgeError.BRepBuilderAPI_DifferentPointsOnClosedCurve: 3>
BRepBuilderAPI_DifferentsPointAndParameter: OCP.BRepBuilderAPI.BRepBuilderAPI_EdgeError # value = <BRepBuilderAPI_EdgeError.BRepBuilderAPI_DifferentsPointAndParameter: 5>
BRepBuilderAPI_EdgeDone: OCP.BRepBuilderAPI.BRepBuilderAPI_EdgeError # value = <BRepBuilderAPI_EdgeError.BRepBuilderAPI_EdgeDone: 0>
BRepBuilderAPI_LineThroughIdenticPoints: OCP.BRepBuilderAPI.BRepBuilderAPI_EdgeError # value = <BRepBuilderAPI_EdgeError.BRepBuilderAPI_LineThroughIdenticPoints: 6>
BRepBuilderAPI_ParameterOutOfRange: OCP.BRepBuilderAPI.BRepBuilderAPI_EdgeError # value = <BRepBuilderAPI_EdgeError.BRepBuilderAPI_ParameterOutOfRange: 2>
BRepBuilderAPI_PointProjectionFailed: OCP.BRepBuilderAPI.BRepBuilderAPI_EdgeError # value = <BRepBuilderAPI_EdgeError.BRepBuilderAPI_PointProjectionFailed: 1>
BRepBuilderAPI_PointWithInfiniteParameter: OCP.BRepBuilderAPI.BRepBuilderAPI_EdgeError # value = <BRepBuilderAPI_EdgeError.BRepBuilderAPI_PointWithInfiniteParameter: 4>
__entries: dict # value = {'BRepBuilderAPI_EdgeDone': (<BRepBuilderAPI_EdgeError.BRepBuilderAPI_EdgeDone: 0>, None), 'BRepBuilderAPI_PointProjectionFailed': (<BRepBuilderAPI_EdgeError.BRepBuilderAPI_PointProjectionFailed: 1>, None), 'BRepBuilderAPI_ParameterOutOfRange': (<BRepBuilderAPI_EdgeError.BRepBuilderAPI_ParameterOutOfRange: 2>, None), 'BRepBuilderAPI_DifferentPointsOnClosedCurve': (<BRepBuilderAPI_EdgeError.BRepBuilderAPI_DifferentPointsOnClosedCurve: 3>, None), 'BRepBuilderAPI_PointWithInfiniteParameter': (<BRepBuilderAPI_EdgeError.BRepBuilderAPI_PointWithInfiniteParameter: 4>, None), 'BRepBuilderAPI_DifferentsPointAndParameter': (<BRepBuilderAPI_EdgeError.BRepBuilderAPI_DifferentsPointAndParameter: 5>, None), 'BRepBuilderAPI_LineThroughIdenticPoints': (<BRepBuilderAPI_EdgeError.BRepBuilderAPI_LineThroughIdenticPoints: 6>, None)}
__members__: dict # value = {'BRepBuilderAPI_EdgeDone': <BRepBuilderAPI_EdgeError.BRepBuilderAPI_EdgeDone: 0>, 'BRepBuilderAPI_PointProjectionFailed': <BRepBuilderAPI_EdgeError.BRepBuilderAPI_PointProjectionFailed: 1>, 'BRepBuilderAPI_ParameterOutOfRange': <BRepBuilderAPI_EdgeError.BRepBuilderAPI_ParameterOutOfRange: 2>, 'BRepBuilderAPI_DifferentPointsOnClosedCurve': <BRepBuilderAPI_EdgeError.BRepBuilderAPI_DifferentPointsOnClosedCurve: 3>, 'BRepBuilderAPI_PointWithInfiniteParameter': <BRepBuilderAPI_EdgeError.BRepBuilderAPI_PointWithInfiniteParameter: 4>, 'BRepBuilderAPI_DifferentsPointAndParameter': <BRepBuilderAPI_EdgeError.BRepBuilderAPI_DifferentsPointAndParameter: 5>, 'BRepBuilderAPI_LineThroughIdenticPoints': <BRepBuilderAPI_EdgeError.BRepBuilderAPI_LineThroughIdenticPoints: 6>}
pass
class BRepBuilderAPI_FaceError():
"""
Indicates the outcome of the construction of a face, i.e. whether it has been successful or not, as explained below: - BRepBuilderAPI_FaceDone No error occurred. The face is correctly built. - BRepBuilderAPI_NoFace No initialization of the algorithm; only an empty constructor was used. - BRepBuilderAPI_NotPlanar No surface was given and the wire was not planar. - BRepBuilderAPI_CurveProjectionFailed Not used so far. - BRepBuilderAPI_ParametersOutOfRange The parameters given to limit the surface are out of its bounds.
Members:
BRepBuilderAPI_FaceDone
BRepBuilderAPI_NoFace
BRepBuilderAPI_NotPlanar
BRepBuilderAPI_CurveProjectionFailed
BRepBuilderAPI_ParametersOutOfRange
"""
def __eq__(self,other : object) -> bool: ...
def __getstate__(self) -> int: ...
def __hash__(self) -> int: ...
def __index__(self) -> int: ...
def __init__(self,value : int) -> None: ...
def __int__(self) -> int: ...
def __ne__(self,other : object) -> bool: ...
def __repr__(self) -> str: ...
def __setstate__(self,state : int) -> None: ...
def __str__(self) -> str: ...
@property
def name(self) -> None:
"""
:type: None
"""
@property
def value(self) -> int:
"""
:type: int
"""
BRepBuilderAPI_CurveProjectionFailed: OCP.BRepBuilderAPI.BRepBuilderAPI_FaceError # value = <BRepBuilderAPI_FaceError.BRepBuilderAPI_CurveProjectionFailed: 3>
BRepBuilderAPI_FaceDone: OCP.BRepBuilderAPI.BRepBuilderAPI_FaceError # value = <BRepBuilderAPI_FaceError.BRepBuilderAPI_FaceDone: 0>
BRepBuilderAPI_NoFace: OCP.BRepBuilderAPI.BRepBuilderAPI_FaceError # value = <BRepBuilderAPI_FaceError.BRepBuilderAPI_NoFace: 1>
BRepBuilderAPI_NotPlanar: OCP.BRepBuilderAPI.BRepBuilderAPI_FaceError # value = <BRepBuilderAPI_FaceError.BRepBuilderAPI_NotPlanar: 2>
BRepBuilderAPI_ParametersOutOfRange: OCP.BRepBuilderAPI.BRepBuilderAPI_FaceError # value = <BRepBuilderAPI_FaceError.BRepBuilderAPI_ParametersOutOfRange: 4>
__entries: dict # value = {'BRepBuilderAPI_FaceDone': (<BRepBuilderAPI_FaceError.BRepBuilderAPI_FaceDone: 0>, None), 'BRepBuilderAPI_NoFace': (<BRepBuilderAPI_FaceError.BRepBuilderAPI_NoFace: 1>, None), 'BRepBuilderAPI_NotPlanar': (<BRepBuilderAPI_FaceError.BRepBuilderAPI_NotPlanar: 2>, None), 'BRepBuilderAPI_CurveProjectionFailed': (<BRepBuilderAPI_FaceError.BRepBuilderAPI_CurveProjectionFailed: 3>, None), 'BRepBuilderAPI_ParametersOutOfRange': (<BRepBuilderAPI_FaceError.BRepBuilderAPI_ParametersOutOfRange: 4>, None)}
__members__: dict # value = {'BRepBuilderAPI_FaceDone': <BRepBuilderAPI_FaceError.BRepBuilderAPI_FaceDone: 0>, 'BRepBuilderAPI_NoFace': <BRepBuilderAPI_FaceError.BRepBuilderAPI_NoFace: 1>, 'BRepBuilderAPI_NotPlanar': <BRepBuilderAPI_FaceError.BRepBuilderAPI_NotPlanar: 2>, 'BRepBuilderAPI_CurveProjectionFailed': <BRepBuilderAPI_FaceError.BRepBuilderAPI_CurveProjectionFailed: 3>, 'BRepBuilderAPI_ParametersOutOfRange': <BRepBuilderAPI_FaceError.BRepBuilderAPI_ParametersOutOfRange: 4>}
pass
class BRepBuilderAPI_FastSewing(OCP.Standard.Standard_Transient):
"""
This class performs fast sewing of surfaces (faces). It supposes that all surfaces are finite and are naturally restricted by their bounds. Moreover, it supposes that stitched together surfaces have the same parameterization along common boundaries, therefore it does not perform time-consuming check for SameParameter property of edges.This class performs fast sewing of surfaces (faces). It supposes that all surfaces are finite and are naturally restricted by their bounds. Moreover, it supposes that stitched together surfaces have the same parameterization along common boundaries, therefore it does not perform time-consuming check for SameParameter property of edges.
"""
class FS_Statuses_e():
"""
Enumeration of result statuses
Members:
FS_OK
FS_Degenerated
FS_FindVertexError
FS_FindEdgeError
FS_FaceWithNullSurface
FS_NotNaturalBoundsFace
FS_InfiniteSurface
FS_EmptyInput
FS_Exception
"""
def __eq__(self,other : object) -> bool: ...
def __getstate__(self) -> int: ...
def __hash__(self) -> int: ...
def __index__(self) -> int: ...
def __init__(self,value : int) -> None: ...
def __int__(self) -> int: ...
def __ne__(self,other : object) -> bool: ...
def __repr__(self) -> str: ...
def __setstate__(self,state : int) -> None: ...
def __str__(self) -> str: ...
@property
def name(self) -> None:
"""
:type: None
"""
@property
def value(self) -> int:
"""
:type: int
"""
FS_Degenerated: OCP.BRepBuilderAPI.FS_Statuses_e # value = <FS_Statuses_e.FS_Degenerated: 1>
FS_EmptyInput: OCP.BRepBuilderAPI.FS_Statuses_e # value = <FS_Statuses_e.FS_EmptyInput: 64>
FS_Exception: OCP.BRepBuilderAPI.FS_Statuses_e # value = <FS_Statuses_e.FS_Exception: 128>
FS_FaceWithNullSurface: OCP.BRepBuilderAPI.FS_Statuses_e # value = <FS_Statuses_e.FS_FaceWithNullSurface: 8>
FS_FindEdgeError: OCP.BRepBuilderAPI.FS_Statuses_e # value = <FS_Statuses_e.FS_FindEdgeError: 4>
FS_FindVertexError: OCP.BRepBuilderAPI.FS_Statuses_e # value = <FS_Statuses_e.FS_FindVertexError: 2>
FS_InfiniteSurface: OCP.BRepBuilderAPI.FS_Statuses_e # value = <FS_Statuses_e.FS_InfiniteSurface: 32>
FS_NotNaturalBoundsFace: OCP.BRepBuilderAPI.FS_Statuses_e # value = <FS_Statuses_e.FS_NotNaturalBoundsFace: 16>
FS_OK: OCP.BRepBuilderAPI.FS_Statuses_e # value = <FS_Statuses_e.FS_OK: 0>
__entries: dict # value = {'FS_OK': (<FS_Statuses_e.FS_OK: 0>, None), 'FS_Degenerated': (<FS_Statuses_e.FS_Degenerated: 1>, None), 'FS_FindVertexError': (<FS_Statuses_e.FS_FindVertexError: 2>, None), 'FS_FindEdgeError': (<FS_Statuses_e.FS_FindEdgeError: 4>, None), 'FS_FaceWithNullSurface': (<FS_Statuses_e.FS_FaceWithNullSurface: 8>, None), 'FS_NotNaturalBoundsFace': (<FS_Statuses_e.FS_NotNaturalBoundsFace: 16>, None), 'FS_InfiniteSurface': (<FS_Statuses_e.FS_InfiniteSurface: 32>, None), 'FS_EmptyInput': (<FS_Statuses_e.FS_EmptyInput: 64>, None), 'FS_Exception': (<FS_Statuses_e.FS_Exception: 128>, None)}
__members__: dict # value = {'FS_OK': <FS_Statuses_e.FS_OK: 0>, 'FS_Degenerated': <FS_Statuses_e.FS_Degenerated: 1>, 'FS_FindVertexError': <FS_Statuses_e.FS_FindVertexError: 2>, 'FS_FindEdgeError': <FS_Statuses_e.FS_FindEdgeError: 4>, 'FS_FaceWithNullSurface': <FS_Statuses_e.FS_FaceWithNullSurface: 8>, 'FS_NotNaturalBoundsFace': <FS_Statuses_e.FS_NotNaturalBoundsFace: 16>, 'FS_InfiniteSurface': <FS_Statuses_e.FS_InfiniteSurface: 32>, 'FS_EmptyInput': <FS_Statuses_e.FS_EmptyInput: 64>, 'FS_Exception': <FS_Statuses_e.FS_Exception: 128>}
pass
@overload
def Add(self,theSurface : OCP.Geom.Geom_Surface) -> bool:
"""
Adds faces of a shape
Adds a surface
"""
@overload
def Add(self,theShape : OCP.TopoDS.TopoDS_Shape) -> bool: ...
def DecrementRefCounter(self) -> int:
"""
Decrements the reference counter of this object; returns the decremented value
"""
def Delete(self) -> None:
"""
Memory deallocator for transient classes
"""
def DynamicType(self) -> OCP.Standard.Standard_Type:
"""
None
"""
def GetRefCount(self) -> int:
"""
Get the reference counter of this object
"""
def GetResult(self) -> OCP.TopoDS.TopoDS_Shape:
"""
Returns resulted shape
"""
def GetTolerance(self) -> float:
"""
Returns tolerance
"""
def IncrementRefCounter(self) -> None:
"""
Increments the reference counter of this object
"""
@overload
def IsInstance(self,theType : OCP.Standard.Standard_Type) -> bool:
"""
Returns a true value if this is an instance of Type.
Returns a true value if this is an instance of TypeName.
"""
@overload
def IsInstance(self,theTypeName : str) -> bool: ...
@overload
def IsKind(self,theTypeName : str) -> bool:
"""
Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
"""
@overload
def IsKind(self,theType : OCP.Standard.Standard_Type) -> bool: ...
def Perform(self) -> None:
"""
Compute resulted shape
"""
def SetTolerance(self,theToler : float) -> None:
"""
Sets tolerance
"""
def This(self) -> OCP.Standard.Standard_Transient:
"""
Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero.
"""
def __init__(self,theTolerance : float=1e-06) -> None: ...
@staticmethod
def get_type_descriptor_s() -> OCP.Standard.Standard_Type:
"""
None
"""
@staticmethod
def get_type_name_s() -> str:
"""
None
"""
FS_Degenerated: OCP.BRepBuilderAPI.FS_Statuses_e # value = <FS_Statuses_e.FS_Degenerated: 1>
FS_EmptyInput: OCP.BRepBuilderAPI.FS_Statuses_e # value = <FS_Statuses_e.FS_EmptyInput: 64>
FS_Exception: OCP.BRepBuilderAPI.FS_Statuses_e # value = <FS_Statuses_e.FS_Exception: 128>
FS_FaceWithNullSurface: OCP.BRepBuilderAPI.FS_Statuses_e # value = <FS_Statuses_e.FS_FaceWithNullSurface: 8>
FS_FindEdgeError: OCP.BRepBuilderAPI.FS_Statuses_e # value = <FS_Statuses_e.FS_FindEdgeError: 4>
FS_FindVertexError: OCP.BRepBuilderAPI.FS_Statuses_e # value = <FS_Statuses_e.FS_FindVertexError: 2>
FS_InfiniteSurface: OCP.BRepBuilderAPI.FS_Statuses_e # value = <FS_Statuses_e.FS_InfiniteSurface: 32>
FS_NotNaturalBoundsFace: OCP.BRepBuilderAPI.FS_Statuses_e # value = <FS_Statuses_e.FS_NotNaturalBoundsFace: 16>
FS_OK: OCP.BRepBuilderAPI.FS_Statuses_e # value = <FS_Statuses_e.FS_OK: 0>
pass
class BRepBuilderAPI_FindPlane():
"""
Describes functions to find the plane in which the edges of a given shape are located. A FindPlane object provides a framework for: - extracting the edges of a given shape, - implementing the construction algorithm, and - consulting the result.
"""
def Found(self) -> bool:
"""
Returns true if a plane containing the edges of the shape is found and built. Use the function Plane to consult the result.
"""
def Init(self,S : OCP.TopoDS.TopoDS_Shape,Tol : float=-1.0) -> None:
"""
Constructs the plane containing the edges of the shape S. A plane is built only if all the edges are within a distance of less than or equal to tolerance from a planar surface. This tolerance value is equal to the larger of the following two values: - Tol, where the default value is negative, or - the largest of the tolerance values assigned to the individual edges of S. Use the function Found to verify that a plane is built. The resulting plane is then retrieved using the function Plane.
"""
def Plane(self) -> OCP.Geom.Geom_Plane:
"""
Returns the plane containing the edges of the shape. Warning Use the function Found to verify that the plane is built. If a plane is not found, Plane returns a null handle.
"""
@overload
def __init__(self,S : OCP.TopoDS.TopoDS_Shape,Tol : float=-1.0) -> None: ...
@overload
def __init__(self) -> None: ...
pass
class BRepBuilderAPI_ModifyShape(BRepBuilderAPI_MakeShape, BRepBuilderAPI_Command):
"""
Implements the methods of MakeShape for the constant topology modifications. The methods are implemented when the modification uses a Modifier from BRepTools. Some of them have to be redefined if the modification is implemented with another tool (see Transform from BRepBuilderAPI for example). The BRepBuilderAPI package provides the following frameworks to perform modifications of this sort: - BRepBuilderAPI_Copy to produce the copy of a shape, - BRepBuilderAPI_Transform and BRepBuilderAPI_GTransform to apply a geometric transformation to a shape, - BRepBuilderAPI_NurbsConvert to convert the whole geometry of a shape into NURBS geometry, - BRepOffsetAPI_DraftAngle to build a tapered shape.
"""
def Build(self,theRange : OCP.Message.Message_ProgressRange=OCP.Message.Message_ProgressRange) -> None:
"""
This is called by Shape(). It does nothing but may be redefined.
"""
def Check(self) -> None:
"""
Raises NotDone if done is false.
"""
def Generated(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes generated from the shape <S>.
"""
def IsDeleted(self,S : OCP.TopoDS.TopoDS_Shape) -> bool:
"""
Returns true if the shape S has been deleted.
"""
def IsDone(self) -> bool:
"""
None
"""
def Modified(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes modified from the shape <S>.
"""
def ModifiedShape(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopoDS.TopoDS_Shape:
"""
Returns the modified shape corresponding to <S>. S can correspond to the entire initial shape or to its subshape. Exceptions Standard_NoSuchObject if S is not the initial shape or a subshape of the initial shape to which the transformation has been applied. Raises NoSuchObject from Standard if S is not the initial shape or a sub-shape of the initial shape.
"""
def Shape(self) -> OCP.TopoDS.TopoDS_Shape:
"""
Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built.
"""
def __bool__(self) -> bool:
"""
Check if command is done
"""
pass
class BRepBuilderAPI_MakeEdge(BRepBuilderAPI_MakeShape, BRepBuilderAPI_Command):
"""
Provides methods to build edges.
"""
def Build(self,theRange : OCP.Message.Message_ProgressRange=OCP.Message.Message_ProgressRange) -> None:
"""
This is called by Shape(). It does nothing but may be redefined.
"""
def Check(self) -> None:
"""
Raises NotDone if done is false.
"""
def Edge(self) -> OCP.TopoDS.TopoDS_Edge:
"""
Returns the constructed edge. Exceptions StdFail_NotDone if the edge is not built.
"""
def Error(self) -> BRepBuilderAPI_EdgeError:
"""
Returns the construction status - BRepBuilderAPI_EdgeDone if the edge is built, or - another value of the BRepBuilderAPI_EdgeError enumeration indicating the reason of construction failure.
"""
def Generated(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes generated from the shape <S>.
"""
@overload
def Init(self,C : OCP.Geom.Geom_Curve,p1 : float,p2 : float) -> None:
"""
None
None
None
None
None
None
None
None
None
None
None
Defines or redefines the arguments for the construction of an edge. This function is currently used after the empty constructor BRepAPI_MakeEdge().
"""
@overload
def Init(self,C : OCP.Geom2d.Geom2d_Curve,S : OCP.Geom.Geom_Surface,V1 : OCP.TopoDS.TopoDS_Vertex,V2 : OCP.TopoDS.TopoDS_Vertex,p1 : float,p2 : float) -> None: ...
@overload
def Init(self,C : OCP.Geom2d.Geom2d_Curve,S : OCP.Geom.Geom_Surface,V1 : OCP.TopoDS.TopoDS_Vertex,V2 : OCP.TopoDS.TopoDS_Vertex) -> None: ...
@overload
def Init(self,C : OCP.Geom.Geom_Curve,V1 : OCP.TopoDS.TopoDS_Vertex,V2 : OCP.TopoDS.TopoDS_Vertex,p1 : float,p2 : float) -> None: ...
@overload
def Init(self,C : OCP.Geom2d.Geom2d_Curve,S : OCP.Geom.Geom_Surface,p1 : float,p2 : float) -> None: ...
@overload
def Init(self,C : OCP.Geom.Geom_Curve,P1 : OCP.gp.gp_Pnt,P2 : OCP.gp.gp_Pnt,p1 : float,p2 : float) -> None: ...
@overload
def Init(self,C : OCP.Geom.Geom_Curve,P1 : OCP.gp.gp_Pnt,P2 : OCP.gp.gp_Pnt) -> None: ...
@overload
def Init(self,C : OCP.Geom2d.Geom2d_Curve,S : OCP.Geom.Geom_Surface,P1 : OCP.gp.gp_Pnt,P2 : OCP.gp.gp_Pnt,p1 : float,p2 : float) -> None: ...
@overload
def Init(self,C : OCP.Geom2d.Geom2d_Curve,S : OCP.Geom.Geom_Surface) -> None: ...
@overload
def Init(self,C : OCP.Geom.Geom_Curve,V1 : OCP.TopoDS.TopoDS_Vertex,V2 : OCP.TopoDS.TopoDS_Vertex) -> None: ...
@overload
def Init(self,C : OCP.Geom.Geom_Curve) -> None: ...
@overload
def Init(self,C : OCP.Geom2d.Geom2d_Curve,S : OCP.Geom.Geom_Surface,P1 : OCP.gp.gp_Pnt,P2 : OCP.gp.gp_Pnt) -> None: ...
def IsDeleted(self,S : OCP.TopoDS.TopoDS_Shape) -> bool:
"""
Returns true if the shape S has been deleted.
"""
def IsDone(self) -> bool:
"""
Returns true if the edge is built.
"""
def Modified(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes modified from the shape <S>.
"""
def Shape(self) -> OCP.TopoDS.TopoDS_Shape:
"""
Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built.
"""
def Vertex1(self) -> OCP.TopoDS.TopoDS_Vertex:
"""
Returns the first vertex of the edge. May be Null.
"""
def Vertex2(self) -> OCP.TopoDS.TopoDS_Vertex:
"""
Returns the second vertex of the edge. May be Null.
"""
def __bool__(self) -> bool:
"""
Check if command is done
"""
@overload
def __init__(self,P1 : OCP.gp.gp_Pnt,P2 : OCP.gp.gp_Pnt) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Parab,p1 : float,p2 : float) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Elips,p1 : float,p2 : float) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Lin,P1 : OCP.gp.gp_Pnt,P2 : OCP.gp.gp_Pnt) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Lin,p1 : float,p2 : float) -> None: ...
@overload
def __init__(self,V1 : OCP.TopoDS.TopoDS_Vertex,V2 : OCP.TopoDS.TopoDS_Vertex) -> None: ...
@overload
def __init__(self,L : OCP.Geom.Geom_Curve,p1 : float,p2 : float) -> None: ...
@overload
def __init__(self,L : OCP.Geom2d.Geom2d_Curve,S : OCP.Geom.Geom_Surface,p1 : float,p2 : float) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Elips,V1 : OCP.TopoDS.TopoDS_Vertex,V2 : OCP.TopoDS.TopoDS_Vertex) -> None: ...
@overload
def __init__(self,L : OCP.Geom.Geom_Curve,P1 : OCP.gp.gp_Pnt,P2 : OCP.gp.gp_Pnt,p1 : float,p2 : float) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Circ,V1 : OCP.TopoDS.TopoDS_Vertex,V2 : OCP.TopoDS.TopoDS_Vertex) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Hypr,p1 : float,p2 : float) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Circ) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Hypr,V1 : OCP.TopoDS.TopoDS_Vertex,V2 : OCP.TopoDS.TopoDS_Vertex) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Lin,V1 : OCP.TopoDS.TopoDS_Vertex,V2 : OCP.TopoDS.TopoDS_Vertex) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Circ,P1 : OCP.gp.gp_Pnt,P2 : OCP.gp.gp_Pnt) -> None: ...
@overload
def __init__(self,L : OCP.Geom2d.Geom2d_Curve,S : OCP.Geom.Geom_Surface,P1 : OCP.gp.gp_Pnt,P2 : OCP.gp.gp_Pnt) -> None: ...
@overload
def __init__(self,L : OCP.Geom.Geom_Curve,P1 : OCP.gp.gp_Pnt,P2 : OCP.gp.gp_Pnt) -> None: ...
@overload
def __init__(self) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Elips) -> None: ...
@overload
def __init__(self,L : OCP.Geom2d.Geom2d_Curve,S : OCP.Geom.Geom_Surface,V1 : OCP.TopoDS.TopoDS_Vertex,V2 : OCP.TopoDS.TopoDS_Vertex,p1 : float,p2 : float) -> None: ...
@overload
def __init__(self,L : OCP.Geom.Geom_Curve) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Parab) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Elips,P1 : OCP.gp.gp_Pnt,P2 : OCP.gp.gp_Pnt) -> None: ...
@overload
def __init__(self,L : OCP.Geom.Geom_Curve,V1 : OCP.TopoDS.TopoDS_Vertex,V2 : OCP.TopoDS.TopoDS_Vertex) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Hypr,P1 : OCP.gp.gp_Pnt,P2 : OCP.gp.gp_Pnt) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Parab,V1 : OCP.TopoDS.TopoDS_Vertex,V2 : OCP.TopoDS.TopoDS_Vertex) -> None: ...
@overload
def __init__(self,L : OCP.Geom2d.Geom2d_Curve,S : OCP.Geom.Geom_Surface,P1 : OCP.gp.gp_Pnt,P2 : OCP.gp.gp_Pnt,p1 : float,p2 : float) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Lin) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Hypr) -> None: ...
@overload
def __init__(self,L : OCP.Geom2d.Geom2d_Curve,S : OCP.Geom.Geom_Surface,V1 : OCP.TopoDS.TopoDS_Vertex,V2 : OCP.TopoDS.TopoDS_Vertex) -> None: ...
@overload
def __init__(self,L : OCP.Geom.Geom_Curve,V1 : OCP.TopoDS.TopoDS_Vertex,V2 : OCP.TopoDS.TopoDS_Vertex,p1 : float,p2 : float) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Circ,p1 : float,p2 : float) -> None: ...
@overload
def __init__(self,L : OCP.Geom2d.Geom2d_Curve,S : OCP.Geom.Geom_Surface) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Parab,P1 : OCP.gp.gp_Pnt,P2 : OCP.gp.gp_Pnt) -> None: ...
pass
class BRepBuilderAPI_MakeEdge2d(BRepBuilderAPI_MakeShape, BRepBuilderAPI_Command):
"""
Provides methods to build edges.
"""
def Build(self,theRange : OCP.Message.Message_ProgressRange=OCP.Message.Message_ProgressRange) -> None:
"""
This is called by Shape(). It does nothing but may be redefined.
"""
def Check(self) -> None:
"""
Raises NotDone if done is false.
"""
def Edge(self) -> OCP.TopoDS.TopoDS_Edge:
"""
None
"""
def Error(self) -> BRepBuilderAPI_EdgeError:
"""
Returns the error description when NotDone.
"""
def Generated(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes generated from the shape <S>.
"""
@overload
def Init(self,C : OCP.Geom2d.Geom2d_Curve) -> None:
"""
None
None
None
None
None
None
"""
@overload
def Init(self,C : OCP.Geom2d.Geom2d_Curve,V1 : OCP.TopoDS.TopoDS_Vertex,V2 : OCP.TopoDS.TopoDS_Vertex,p1 : float,p2 : float) -> None: ...
@overload
def Init(self,C : OCP.Geom2d.Geom2d_Curve,p1 : float,p2 : float) -> None: ...
@overload
def Init(self,C : OCP.Geom2d.Geom2d_Curve,P1 : OCP.gp.gp_Pnt2d,P2 : OCP.gp.gp_Pnt2d) -> None: ...
@overload
def Init(self,C : OCP.Geom2d.Geom2d_Curve,V1 : OCP.TopoDS.TopoDS_Vertex,V2 : OCP.TopoDS.TopoDS_Vertex) -> None: ...
@overload
def Init(self,C : OCP.Geom2d.Geom2d_Curve,P1 : OCP.gp.gp_Pnt2d,P2 : OCP.gp.gp_Pnt2d,p1 : float,p2 : float) -> None: ...
def IsDeleted(self,S : OCP.TopoDS.TopoDS_Shape) -> bool:
"""
Returns true if the shape S has been deleted.
"""
def IsDone(self) -> bool:
"""
None
"""
def Modified(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes modified from the shape <S>.
"""
def Shape(self) -> OCP.TopoDS.TopoDS_Shape:
"""
Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built.
"""
def Vertex1(self) -> OCP.TopoDS.TopoDS_Vertex:
"""
Returns the first vertex of the edge. May be Null.
"""
def Vertex2(self) -> OCP.TopoDS.TopoDS_Vertex:
"""
Returns the second vertex of the edge. May be Null.
"""
def __bool__(self) -> bool:
"""
Check if command is done
"""
@overload
def __init__(self,L : OCP.gp.gp_Lin2d) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Elips2d,V1 : OCP.TopoDS.TopoDS_Vertex,V2 : OCP.TopoDS.TopoDS_Vertex) -> None: ...
@overload
def __init__(self,L : OCP.Geom2d.Geom2d_Curve,V1 : OCP.TopoDS.TopoDS_Vertex,V2 : OCP.TopoDS.TopoDS_Vertex,p1 : float,p2 : float) -> None: ...
@overload
def __init__(self,V1 : OCP.TopoDS.TopoDS_Vertex,V2 : OCP.TopoDS.TopoDS_Vertex) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Lin2d,P1 : OCP.gp.gp_Pnt2d,P2 : OCP.gp.gp_Pnt2d) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Elips2d,p1 : float,p2 : float) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Hypr2d,V1 : OCP.TopoDS.TopoDS_Vertex,V2 : OCP.TopoDS.TopoDS_Vertex) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Hypr2d,p1 : float,p2 : float) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Parab2d,p1 : float,p2 : float) -> None: ...
@overload
def __init__(self,L : OCP.Geom2d.Geom2d_Curve,p1 : float,p2 : float) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Parab2d,P1 : OCP.gp.gp_Pnt2d,P2 : OCP.gp.gp_Pnt2d) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Circ2d) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Lin2d,p1 : float,p2 : float) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Elips2d) -> None: ...
@overload
def __init__(self,L : OCP.Geom2d.Geom2d_Curve,P1 : OCP.gp.gp_Pnt2d,P2 : OCP.gp.gp_Pnt2d) -> None: ...
@overload
def __init__(self,L : OCP.Geom2d.Geom2d_Curve,P1 : OCP.gp.gp_Pnt2d,P2 : OCP.gp.gp_Pnt2d,p1 : float,p2 : float) -> None: ...
@overload
def __init__(self,L : OCP.Geom2d.Geom2d_Curve,V1 : OCP.TopoDS.TopoDS_Vertex,V2 : OCP.TopoDS.TopoDS_Vertex) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Circ2d,V1 : OCP.TopoDS.TopoDS_Vertex,V2 : OCP.TopoDS.TopoDS_Vertex) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Parab2d,V1 : OCP.TopoDS.TopoDS_Vertex,V2 : OCP.TopoDS.TopoDS_Vertex) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Hypr2d) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Lin2d,V1 : OCP.TopoDS.TopoDS_Vertex,V2 : OCP.TopoDS.TopoDS_Vertex) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Circ2d,p1 : float,p2 : float) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Parab2d) -> None: ...
@overload
def __init__(self,L : OCP.Geom2d.Geom2d_Curve) -> None: ...
@overload
def __init__(self,P1 : OCP.gp.gp_Pnt2d,P2 : OCP.gp.gp_Pnt2d) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Elips2d,P1 : OCP.gp.gp_Pnt2d,P2 : OCP.gp.gp_Pnt2d) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Circ2d,P1 : OCP.gp.gp_Pnt2d,P2 : OCP.gp.gp_Pnt2d) -> None: ...
@overload
def __init__(self,L : OCP.gp.gp_Hypr2d,P1 : OCP.gp.gp_Pnt2d,P2 : OCP.gp.gp_Pnt2d) -> None: ...
pass
class BRepBuilderAPI_MakeFace(BRepBuilderAPI_MakeShape, BRepBuilderAPI_Command):
"""
Provides methods to build faces.
"""
def Add(self,W : OCP.TopoDS.TopoDS_Wire) -> None:
"""
Adds the wire W to the constructed face as a hole. Warning W must not cross the other bounds of the face, and all the bounds must define only one area on the surface. (Be careful, however, as this is not checked.) Example // a cylinder gp_Cylinder C = ..; // a wire TopoDS_Wire W = ...; BRepBuilderAPI_MakeFace MF(C); MF.Add(W); TopoDS_Face F = MF;
"""
def Build(self,theRange : OCP.Message.Message_ProgressRange=OCP.Message.Message_ProgressRange) -> None:
"""
This is called by Shape(). It does nothing but may be redefined.
"""
def Check(self) -> None:
"""
Raises NotDone if done is false.
"""
def Error(self) -> BRepBuilderAPI_FaceError:
"""
Returns the construction status BRepBuilderAPI_FaceDone if the face is built, or - another value of the BRepBuilderAPI_FaceError enumeration indicating why the construction failed, in particular when the given parameters are outside the bounds of the surface.
"""
def Face(self) -> OCP.TopoDS.TopoDS_Face:
"""
Returns the constructed face. Exceptions StdFail_NotDone if no face is built.
"""
def Generated(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes generated from the shape <S>.
"""
@overload
def Init(self,F : OCP.TopoDS.TopoDS_Face) -> None: ...
@overload
def Init(self,S : OCP.Geom.Geom_Surface,UMin : float,UMax : float,VMin : float,VMax : float,TolDegen : float) -> None: ...
@overload
def Init(self,S : OCP.Geom.Geom_Surface,Bound : bool,TolDegen : float) -> None: ...
def IsDeleted(self,S : OCP.TopoDS.TopoDS_Shape) -> bool:
"""
Returns true if the shape S has been deleted.
"""
def IsDone(self) -> bool:
"""
Returns true if this algorithm has a valid face.
"""
def Modified(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes modified from the shape <S>.
"""
def Shape(self) -> OCP.TopoDS.TopoDS_Shape:
"""
Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built.
"""
def __bool__(self) -> bool:
"""
Check if command is done
"""
@overload
def __init__(self,F : OCP.TopoDS.TopoDS_Face) -> None: ...
@overload
def __init__(self,C : OCP.gp.gp_Cylinder,W : OCP.TopoDS.TopoDS_Wire,Inside : bool=True) -> None: ...
@overload
def __init__(self,W : OCP.TopoDS.TopoDS_Wire,OnlyPlane : bool=False) -> None: ...
@overload
def __init__(self,C : OCP.gp.gp_Cone,W : OCP.TopoDS.TopoDS_Wire,Inside : bool=True) -> None: ...
@overload
def __init__(self,F : OCP.TopoDS.TopoDS_Face,W : OCP.TopoDS.TopoDS_Wire) -> None: ...
@overload
def __init__(self,C : OCP.gp.gp_Torus) -> None: ...
@overload
def __init__(self,S : OCP.gp.gp_Sphere) -> None: ...
@overload
def __init__(self,S : OCP.Geom.Geom_Surface,UMin : float,UMax : float,VMin : float,VMax : float,TolDegen : float) -> None: ...
@overload
def __init__(self,S : OCP.gp.gp_Sphere,W : OCP.TopoDS.TopoDS_Wire,Inside : bool=True) -> None: ...
@overload
def __init__(self,C : OCP.gp.gp_Torus,UMin : float,UMax : float,VMin : float,VMax : float) -> None: ...
@overload
def __init__(self,C : OCP.gp.gp_Torus,W : OCP.TopoDS.TopoDS_Wire,Inside : bool=True) -> None: ...
@overload
def __init__(self,S : OCP.Geom.Geom_Surface,W : OCP.TopoDS.TopoDS_Wire,Inside : bool=True) -> None: ...
@overload
def __init__(self,P : OCP.gp.gp_Pln) -> None: ...
@overload
def __init__(self,P : OCP.gp.gp_Pln,W : OCP.TopoDS.TopoDS_Wire,Inside : bool=True) -> None: ...
@overload
def __init__(self,S : OCP.Geom.Geom_Surface,TolDegen : float) -> None: ...
@overload
def __init__(self,C : OCP.gp.gp_Cylinder) -> None: ...
@overload
def __init__(self,C : OCP.gp.gp_Cone,UMin : float,UMax : float,VMin : float,VMax : float) -> None: ...
@overload
def __init__(self,C : OCP.gp.gp_Cylinder,UMin : float,UMax : float,VMin : float,VMax : float) -> None: ...
@overload
def __init__(self,C : OCP.gp.gp_Cone) -> None: ...
@overload
def __init__(self) -> None: ...
@overload
def __init__(self,P : OCP.gp.gp_Pln,UMin : float,UMax : float,VMin : float,VMax : float) -> None: ...
@overload
def __init__(self,S : OCP.gp.gp_Sphere,UMin : float,UMax : float,VMin : float,VMax : float) -> None: ...
pass
class BRepBuilderAPI_MakePolygon(BRepBuilderAPI_MakeShape, BRepBuilderAPI_Command):
"""
Describes functions to build polygonal wires. A polygonal wire can be built from any number of points or vertices, and consists of a sequence of connected rectilinear edges. When a point or vertex is added to the polygon if it is identic to the previous point no edge is built. The method added can be used to test it. Construction of a Polygonal Wire You can construct: - a complete polygonal wire by defining all its points or vertices (limited to four), or - an empty polygonal wire and add its points or vertices in sequence (unlimited number). A MakePolygon object provides a framework for: - initializing the construction of a polygonal wire, - adding points or vertices to the polygonal wire under construction, and - consulting the result.
"""
@overload
def Add(self,P : OCP.gp.gp_Pnt) -> None:
"""
None
Adds the point P or the vertex V at the end of the polygonal wire under construction. A vertex is automatically created on the point P. Warning - When P or V is coincident to the previous vertex, no edge is built. The method Added can be used to test for this. Neither P nor V is checked to verify that it is coincident with another vertex than the last one, of the polygonal wire under construction. It is also possible to add vertices on a closed polygon (built for example by using a constructor which declares the polygon closed, or after the use of the Close function). Consequently, be careful using this function: you might create: - a polygonal wire with two consecutive coincident edges, or - a non manifold polygonal wire. - P or V is not checked to verify if it is coincident with another vertex but the last one, of the polygonal wire under construction. It is also possible to add vertices on a closed polygon (built for example by using a constructor which declares the polygon closed, or after the use of the Close function). Consequently, be careful when using this function: you might create: - a polygonal wire with two consecutive coincident edges, or - a non-manifold polygonal wire.
"""
@overload
def Add(self,V : OCP.TopoDS.TopoDS_Vertex) -> None: ...
def Added(self) -> bool:
"""
Returns true if the last vertex added to the constructed polygonal wire is not coincident with the previous one.
"""
def Build(self,theRange : OCP.Message.Message_ProgressRange=OCP.Message.Message_ProgressRange) -> None:
"""
This is called by Shape(). It does nothing but may be redefined.
"""
def Check(self) -> None:
"""
Raises NotDone if done is false.
"""
def Close(self) -> None:
"""
Closes the polygonal wire under construction. Note - this is equivalent to adding the first vertex to the polygonal wire under construction.
"""
def Edge(self) -> OCP.TopoDS.TopoDS_Edge:
"""
Returns the edge built between the last two points or vertices added to the constructed polygonal wire under construction. Warning If there is only one vertex in the polygonal wire, the result is a null edge.
"""
def FirstVertex(self) -> OCP.TopoDS.TopoDS_Vertex:
"""
None
"""
def Generated(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes generated from the shape <S>.
"""
def IsDeleted(self,S : OCP.TopoDS.TopoDS_Shape) -> bool:
"""
Returns true if the shape S has been deleted.
"""
def IsDone(self) -> bool:
"""
Returns true if this algorithm contains a valid polygonal wire (i.e. if there is at least one edge). IsDone returns false if fewer than two vertices have been chained together by this construction algorithm.
"""
def LastVertex(self) -> OCP.TopoDS.TopoDS_Vertex:
"""
Returns the first or the last vertex of the polygonal wire under construction. If the constructed polygonal wire is closed, the first and the last vertices are identical.
"""
def Modified(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes modified from the shape <S>.
"""
def Shape(self) -> OCP.TopoDS.TopoDS_Shape:
"""
Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built.
"""
def Wire(self) -> OCP.TopoDS.TopoDS_Wire:
"""
Returns the constructed polygonal wire, or the already built part of the polygonal wire under construction. Exceptions StdFail_NotDone if the wire is not built, i.e. if fewer than two vertices have been chained together by this construction algorithm.
"""
def __bool__(self) -> bool:
"""
Check if command is done
"""
@overload
def __init__(self,P1 : OCP.gp.gp_Pnt,P2 : OCP.gp.gp_Pnt) -> None: ...
@overload
def __init__(self,P1 : OCP.gp.gp_Pnt,P2 : OCP.gp.gp_Pnt,P3 : OCP.gp.gp_Pnt,Close : bool=False) -> None: ...
@overload
def __init__(self,V1 : OCP.TopoDS.TopoDS_Vertex,V2 : OCP.TopoDS.TopoDS_Vertex,V3 : OCP.TopoDS.TopoDS_Vertex,Close : bool=False) -> None: ...
@overload
def __init__(self) -> None: ...
@overload
def __init__(self,P1 : OCP.gp.gp_Pnt,P2 : OCP.gp.gp_Pnt,P3 : OCP.gp.gp_Pnt,P4 : OCP.gp.gp_Pnt,Close : bool=False) -> None: ...
@overload
def __init__(self,V1 : OCP.TopoDS.TopoDS_Vertex,V2 : OCP.TopoDS.TopoDS_Vertex) -> None: ...
@overload
def __init__(self,V1 : OCP.TopoDS.TopoDS_Vertex,V2 : OCP.TopoDS.TopoDS_Vertex,V3 : OCP.TopoDS.TopoDS_Vertex,V4 : OCP.TopoDS.TopoDS_Vertex,Close : bool=False) -> None: ...
pass
class BRepBuilderAPI_Copy(BRepBuilderAPI_ModifyShape, BRepBuilderAPI_MakeShape, BRepBuilderAPI_Command):
"""
Duplication of a shape. A Copy object provides a framework for: - defining the construction of a duplicate shape, - implementing the construction algorithm, and - consulting the result.
"""
def Build(self,theRange : OCP.Message.Message_ProgressRange=OCP.Message.Message_ProgressRange) -> None:
"""
This is called by Shape(). It does nothing but may be redefined.
"""
def Check(self) -> None:
"""
Raises NotDone if done is false.
"""
def Generated(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes generated from the shape <S>.
"""
def IsDeleted(self,S : OCP.TopoDS.TopoDS_Shape) -> bool:
"""
Returns true if the shape S has been deleted.
"""
def IsDone(self) -> bool:
"""
None
"""
def Modified(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes modified from the shape <S>.
"""
def ModifiedShape(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopoDS.TopoDS_Shape:
"""
Returns the modified shape corresponding to <S>. S can correspond to the entire initial shape or to its subshape. Exceptions Standard_NoSuchObject if S is not the initial shape or a subshape of the initial shape to which the transformation has been applied. Raises NoSuchObject from Standard if S is not the initial shape or a sub-shape of the initial shape.
"""
def Perform(self,S : OCP.TopoDS.TopoDS_Shape,copyGeom : bool=True,copyMesh : bool=False) -> None:
"""
Copies the shape S. Use the function Shape to access the result. If copyMesh is True, triangulation contained in original shape will be copied along with geometry (by default, triangulation gets lost). If copyGeom is False, only topological objects will be copied, while geometry and triangulation will be shared with original shape.
"""
def Shape(self) -> OCP.TopoDS.TopoDS_Shape:
"""
Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built.
"""
def __bool__(self) -> bool:
"""
Check if command is done
"""
@overload
def __init__(self,S : OCP.TopoDS.TopoDS_Shape,copyGeom : bool=True,copyMesh : bool=False) -> None: ...
@overload
def __init__(self) -> None: ...
pass
class BRepBuilderAPI_MakeShapeOnMesh(BRepBuilderAPI_MakeShape, BRepBuilderAPI_Command):
"""
Builds shape on per-facet basis on the input mesh. Resulting shape has shared edges by construction, but no maximization (unify same domain) is applied. No generation history is provided.
"""
def Build(self,theRange : OCP.Message.Message_ProgressRange=OCP.Message.Message_ProgressRange) -> None:
"""
Builds shape on mesh.
"""
def Check(self) -> None:
"""
Raises NotDone if done is false.
"""
def Generated(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes generated from the shape <S>.
"""
def IsDeleted(self,S : OCP.TopoDS.TopoDS_Shape) -> bool:
"""
Returns true if the shape S has been deleted.
"""
def IsDone(self) -> bool:
"""
None
"""
def Modified(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes modified from the shape <S>.
"""
def Shape(self) -> OCP.TopoDS.TopoDS_Shape:
"""
Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built.
"""
def __bool__(self) -> bool:
"""
Check if command is done
"""
def __init__(self,theMesh : OCP.Poly.Poly_Triangulation) -> None: ...
pass
class BRepBuilderAPI_MakeShell(BRepBuilderAPI_MakeShape, BRepBuilderAPI_Command):
"""
Describes functions to build a shape corresponding to the skin of a surface. Note that the term shell in the class name has the same definition as that of a shell in STEP, in other words the skin of a shape, and not a solid model defined by surface and thickness. If you want to build the second sort of shell, you must use BRepOffsetAPI_MakeOffsetShape. A shell is made of a series of faces connected by their common edges. If the underlying surface of a face is not C2 continuous and the flag Segment is True, MakeShell breaks the surface down into several faces which are all C2 continuous and which are connected along the non-regular curves on the surface. The resulting shell contains all these faces. Construction of a Shell from a non-C2 continuous Surface A MakeShell object provides a framework for: - defining the construction of a shell, - implementing the construction algorithm, and - consulting the result. Warning The connected C2 faces in the shell resulting from a decomposition of the surface are not sewn. For a sewn result, you need to use BRepOffsetAPI_Sewing. For a shell with thickness, you need to use BRepOffsetAPI_MakeOffsetShape.
"""
def Build(self,theRange : OCP.Message.Message_ProgressRange=OCP.Message.Message_ProgressRange) -> None:
"""
This is called by Shape(). It does nothing but may be redefined.
"""
def Check(self) -> None:
"""
Raises NotDone if done is false.
"""
def Error(self) -> BRepBuilderAPI_ShellError:
"""
Returns the construction status: - BRepBuilderAPI_ShellDone if the shell is built, or - another value of the BRepBuilderAPI_ShellError enumeration indicating why the construction failed. This is frequently BRepBuilderAPI_ShellParametersOutOfRange indicating that the given parameters are outside the bounds of the surface.
"""
def Generated(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes generated from the shape <S>.
"""
def Init(self,S : OCP.Geom.Geom_Surface,UMin : float,UMax : float,VMin : float,VMax : float,Segment : bool=False) -> None:
"""
Defines or redefines the arguments for the construction of a shell. The construction is initialized with the surface S, limited in the u parametric direction by the two parameter values UMin and UMax, and in the v parametric direction by the two parameter values VMin and VMax. Warning The function Error returns: - BRepBuilderAPI_ShellParametersOutOfRange when the given parameters are outside the bounds of the surface or the basis surface if S is trimmed
"""
def IsDeleted(self,S : OCP.TopoDS.TopoDS_Shape) -> bool:
"""
Returns true if the shape S has been deleted.
"""
def IsDone(self) -> bool:
"""
Returns true if the shell is built.
"""
def Modified(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes modified from the shape <S>.
"""
def Shape(self) -> OCP.TopoDS.TopoDS_Shape:
"""
Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built.
"""
def Shell(self) -> OCP.TopoDS.TopoDS_Shell:
"""
Returns the new Shell.
"""
def __bool__(self) -> bool:
"""
Check if command is done
"""
@overload
def __init__(self,S : OCP.Geom.Geom_Surface,Segment : bool=False) -> None: ...
@overload
def __init__(self) -> None: ...
@overload
def __init__(self,S : OCP.Geom.Geom_Surface,UMin : float,UMax : float,VMin : float,VMax : float,Segment : bool=False) -> None: ...
pass
class BRepBuilderAPI_MakeSolid(BRepBuilderAPI_MakeShape, BRepBuilderAPI_Command):
"""
Describes functions to build a solid from shells. A solid is made of one shell, or a series of shells, which do not intersect each other. One of these shells constitutes the outside skin of the solid. It may be closed (a finite solid) or open (an infinite solid). Other shells form hollows (cavities) in these previous ones. Each must bound a closed volume. A MakeSolid object provides a framework for: - defining and implementing the construction of a solid, and - consulting the result.
"""
def Add(self,S : OCP.TopoDS.TopoDS_Shell) -> None:
"""
Adds the shell to the current solid. Warning No check is done to verify the conditions of coherence of the resulting solid. In particular, S must not intersect other shells of the solid under construction. Besides, after all shells have been added, one of these shells should constitute the outside skin of the solid. It may be closed (a finite solid) or open (an infinite solid). Other shells form hollows (cavities) in these previous ones. Each must bound a closed volume.
"""
def Build(self,theRange : OCP.Message.Message_ProgressRange=OCP.Message.Message_ProgressRange) -> None:
"""
This is called by Shape(). It does nothing but may be redefined.
"""
def Check(self) -> None:
"""
Raises NotDone if done is false.
"""
def Generated(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes generated from the shape <S>.
"""
def IsDeleted(self,S : OCP.TopoDS.TopoDS_Shape) -> bool:
"""
None
"""
def IsDone(self) -> bool:
"""
Returns true if the solid is built. For this class, a solid under construction is always valid. If no shell has been added, it could be a whole-space solid. However, no check was done to verify the conditions of coherence of the resulting solid.
"""
def Modified(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes modified from the shape <S>.
"""
def Shape(self) -> OCP.TopoDS.TopoDS_Shape:
"""
Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built.
"""
def Solid(self) -> OCP.TopoDS.TopoDS_Solid:
"""
Returns the new Solid.
"""
def __bool__(self) -> bool:
"""
Check if command is done
"""
@overload
def __init__(self,S : OCP.TopoDS.TopoDS_CompSolid) -> None: ...
@overload
def __init__(self,S : OCP.TopoDS.TopoDS_Shell) -> None: ...
@overload
def __init__(self,S1 : OCP.TopoDS.TopoDS_Shell,S2 : OCP.TopoDS.TopoDS_Shell,S3 : OCP.TopoDS.TopoDS_Shell) -> None: ...
@overload
def __init__(self,So : OCP.TopoDS.TopoDS_Solid) -> None: ...
@overload
def __init__(self,S1 : OCP.TopoDS.TopoDS_Shell,S2 : OCP.TopoDS.TopoDS_Shell) -> None: ...
@overload
def __init__(self,So : OCP.TopoDS.TopoDS_Solid,S : OCP.TopoDS.TopoDS_Shell) -> None: ...
@overload
def __init__(self) -> None: ...
pass
class BRepBuilderAPI_MakeVertex(BRepBuilderAPI_MakeShape, BRepBuilderAPI_Command):
"""
Describes functions to build BRepBuilder vertices directly from 3D geometric points. A vertex built using a MakeVertex object is only composed of a 3D point and a default precision value (Precision::Confusion()). Later on, 2D representations can be added, for example, when inserting a vertex in an edge. A MakeVertex object provides a framework for: - defining and implementing the construction of a vertex, and - consulting the result.
"""
def Build(self,theRange : OCP.Message.Message_ProgressRange=OCP.Message.Message_ProgressRange) -> None:
"""
This is called by Shape(). It does nothing but may be redefined.
"""
def Check(self) -> None:
"""
Raises NotDone if done is false.
"""
def Generated(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes generated from the shape <S>.
"""
def IsDeleted(self,S : OCP.TopoDS.TopoDS_Shape) -> bool:
"""
Returns true if the shape S has been deleted.
"""
def IsDone(self) -> bool:
"""
None
"""
def Modified(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes modified from the shape <S>.
"""
def Shape(self) -> OCP.TopoDS.TopoDS_Shape:
"""
Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built.
"""
def Vertex(self) -> OCP.TopoDS.TopoDS_Vertex:
"""
Returns the constructed vertex.
"""
def __bool__(self) -> bool:
"""
Check if command is done
"""
def __init__(self,P : OCP.gp.gp_Pnt) -> None: ...
pass
class BRepBuilderAPI_MakeWire(BRepBuilderAPI_MakeShape, BRepBuilderAPI_Command):
"""
Describes functions to build wires from edges. A wire can be built from any number of edges. To build a wire you first initialize the construction, then add edges in sequence. An unlimited number of edges can be added. The initialization of construction is done with: - no edge (an empty wire), or - edges of an existing wire, or - up to four connectable edges. In order to be added to a wire under construction, an edge (unless it is the first one) must satisfy the following condition: one of its vertices must be geometrically coincident with one of the vertices of the wire (provided that the highest tolerance factor is assigned to the two vertices). It could also be the same vertex. - The given edge is shared by the wire if it contains: - two vertices, identical to two vertices of the wire under construction (a general case of the wire closure), or - one vertex, identical to a vertex of the wire under construction; the other vertex not being geometrically coincident with another vertex of the wire. - In other cases, when one of the vertices of the edge is simply geometrically coincident with a vertex of the wire under construction (provided that the highest tolerance factor is assigned to the two vertices), the given edge is first copied and the coincident vertex is replaced in this new edge, by the coincident vertex of the wire. Note: it is possible to build non manifold wires using this construction tool. A MakeWire object provides a framework for: - initializing the construction of a wire, - adding edges to the wire under construction, and - consulting the result.
"""
@overload
def Add(self,L : OCP.TopTools.TopTools_ListOfShape) -> None:
"""
Adds the edge E to the wire under construction. E must be connectable to the wire under construction, and, unless it is the first edge of the wire, must satisfy the following condition: one of its vertices must be geometrically coincident with one of the vertices of the wire (provided that the highest tolerance factor is assigned to the two vertices). It could also be the same vertex. Warning If E is not connectable to the wire under construction it is not added. The function Error will return BRepBuilderAPI_DisconnectedWire, the function IsDone will return false and the function Wire will raise an error, until a new connectable edge is added.
Add the edges of <W> to the current wire.
Adds the edges of <L> to the current wire. The edges are not to be consecutive. But they are to be all connected geometrically or topologically. If some of them are not connected the Status give DisconnectedWire but the "Maker" is Done() and you can get the partial result. (ie connected to the first edgeof the list <L>)
"""
@overload
def Add(self,W : OCP.TopoDS.TopoDS_Wire) -> None: ...
@overload
def Add(self,E : OCP.TopoDS.TopoDS_Edge) -> None: ...
def Build(self,theRange : OCP.Message.Message_ProgressRange=OCP.Message.Message_ProgressRange) -> None:
"""
This is called by Shape(). It does nothing but may be redefined.
"""
def Check(self) -> None:
"""
Raises NotDone if done is false.
"""
def Edge(self) -> OCP.TopoDS.TopoDS_Edge:
"""
Returns the last edge added to the wire under construction. Warning - This edge can be different from the original one (the argument of the function Add, for instance,) - A null edge is returned if there are no edges in the wire under construction, or if the last edge which you tried to add was not connectable..
"""
def Error(self) -> BRepBuilderAPI_WireError:
"""
Returns the construction status - BRepBuilderAPI_WireDone if the wire is built, or - another value of the BRepBuilderAPI_WireError enumeration indicating why the construction failed.
"""
def Generated(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes generated from the shape <S>.
"""
def IsDeleted(self,S : OCP.TopoDS.TopoDS_Shape) -> bool:
"""
Returns true if the shape S has been deleted.
"""
def IsDone(self) -> bool:
"""
Returns true if this algorithm contains a valid wire. IsDone returns false if: - there are no edges in the wire, or - the last edge which you tried to add was not connectable.
"""
def Modified(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes modified from the shape <S>.
"""
def Shape(self) -> OCP.TopoDS.TopoDS_Shape:
"""
Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built.
"""
def Vertex(self) -> OCP.TopoDS.TopoDS_Vertex:
"""
Returns the last vertex of the last edge added to the wire under construction. Warning A null vertex is returned if there are no edges in the wire under construction, or if the last edge which you tried to add was not connectableR
"""
def Wire(self) -> OCP.TopoDS.TopoDS_Wire:
"""
Returns the constructed wire; or the part of the wire under construction already built. Exceptions StdFail_NotDone if a wire is not built.
"""
def __bool__(self) -> bool:
"""
Check if command is done
"""
@overload
def __init__(self,E1 : OCP.TopoDS.TopoDS_Edge,E2 : OCP.TopoDS.TopoDS_Edge) -> None: ...
@overload
def __init__(self,E1 : OCP.TopoDS.TopoDS_Edge,E2 : OCP.TopoDS.TopoDS_Edge,E3 : OCP.TopoDS.TopoDS_Edge,E4 : OCP.TopoDS.TopoDS_Edge) -> None: ...
@overload
def __init__(self,E : OCP.TopoDS.TopoDS_Edge) -> None: ...
@overload
def __init__(self,W : OCP.TopoDS.TopoDS_Wire,E : OCP.TopoDS.TopoDS_Edge) -> None: ...
@overload
def __init__(self,E1 : OCP.TopoDS.TopoDS_Edge,E2 : OCP.TopoDS.TopoDS_Edge,E3 : OCP.TopoDS.TopoDS_Edge) -> None: ...
@overload
def __init__(self) -> None: ...
@overload
def __init__(self,W : OCP.TopoDS.TopoDS_Wire) -> None: ...
pass
class BRepBuilderAPI_GTransform(BRepBuilderAPI_ModifyShape, BRepBuilderAPI_MakeShape, BRepBuilderAPI_Command):
"""
Geometric transformation on a shape. The transformation to be applied is defined as a gp_GTrsf transformation. It may be: - a transformation equivalent to a gp_Trsf transformation, the most common case: you should , however, use a BRepAPI_Transform object to perform this kind of transformation; or - an affinity, or - more generally, any type of point transformation which may be defined by a three row, four column matrix of transformation. In the last two cases, the underlying geometry of the following shapes may change: - a curve which supports an edge of the shape, or - a surface which supports a face of the shape; For example, a circle may be transformed into an ellipse when applying an affinity transformation. The transformation is applied to: - all the curves which support edges of the shape, and - all the surfaces which support faces of the shape. A GTransform object provides a framework for: - defining the geometric transformation to be applied, - implementing the transformation algorithm, and - consulting the result.
"""
def Build(self,theRange : OCP.Message.Message_ProgressRange=OCP.Message.Message_ProgressRange) -> None:
"""
This is called by Shape(). It does nothing but may be redefined.
"""
def Check(self) -> None:
"""
Raises NotDone if done is false.
"""
def Generated(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes generated from the shape <S>.
"""
def IsDeleted(self,S : OCP.TopoDS.TopoDS_Shape) -> bool:
"""
Returns true if the shape S has been deleted.
"""
def IsDone(self) -> bool:
"""
None
"""
def Modified(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes modified from the shape <S>.
"""
def ModifiedShape(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopoDS.TopoDS_Shape:
"""
Returns the modified shape corresponding to <S>.
"""
def Perform(self,S : OCP.TopoDS.TopoDS_Shape,Copy : bool=False) -> None:
"""
Applies the geometric transformation defined at the time of construction of this framework to the shape S. - If the transformation T is direct and isometric (i.e. if the determinant of the vectorial part of T is equal to 1.), and if Copy equals false (default value), the resulting shape is the same as the original but with a new location assigned to it. - In all other cases, the transformation is applied to a duplicate of S. Use the function Shape to access the result. Note: this framework can be reused to apply the same geometric transformation to other shapes: just specify them by calling the function Perform again.
"""
def Shape(self) -> OCP.TopoDS.TopoDS_Shape:
"""
Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built.
"""
def __bool__(self) -> bool:
"""
Check if command is done
"""
@overload
def __init__(self,T : OCP.gp.gp_GTrsf) -> None: ...
@overload
def __init__(self,S : OCP.TopoDS.TopoDS_Shape,T : OCP.gp.gp_GTrsf,Copy : bool=False) -> None: ...
pass
class BRepBuilderAPI_NurbsConvert(BRepBuilderAPI_ModifyShape, BRepBuilderAPI_MakeShape, BRepBuilderAPI_Command):
"""
Conversion of the complete geometry of a shape (all 3D analytical representation of surfaces and curves) into NURBS geometry (execpt for Planes). For example, all curves supporting edges of the basis shape are converted into BSpline curves, and all surfaces supporting its faces are converted into BSpline surfaces.
"""
def Build(self,theRange : OCP.Message.Message_ProgressRange=OCP.Message.Message_ProgressRange) -> None:
"""
This is called by Shape(). It does nothing but may be redefined.
"""
def Check(self) -> None:
"""
Raises NotDone if done is false.
"""
def Generated(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes generated from the shape <S>.
"""
def IsDeleted(self,S : OCP.TopoDS.TopoDS_Shape) -> bool:
"""
Returns true if the shape S has been deleted.
"""
def IsDone(self) -> bool:
"""
None
"""
def Modified(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes modified from the shape <S>.
"""
def ModifiedShape(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopoDS.TopoDS_Shape:
"""
Returns the modified shape corresponding to <S>. S can correspond to the entire initial shape or to its subshape. Exceptions Standard_NoSuchObject if S is not the initial shape or a subshape of the initial shape to which the transformation has been applied.
"""
def Perform(self,S : OCP.TopoDS.TopoDS_Shape,Copy : bool=False) -> None:
"""
Builds a new shape by converting the geometry of the shape S into NURBS geometry. Specifically, all curves supporting edges of S are converted into BSpline curves, and all surfaces supporting its faces are converted into BSpline surfaces. Use the function Shape to access the new shape. Note: this framework can be reused to convert other shapes: you specify them by calling the function Perform again.
"""
def Shape(self) -> OCP.TopoDS.TopoDS_Shape:
"""
Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built.
"""
def __bool__(self) -> bool:
"""
Check if command is done
"""
@overload
def __init__(self,S : OCP.TopoDS.TopoDS_Shape,Copy : bool=False) -> None: ...
@overload
def __init__(self) -> None: ...
pass
class BRepBuilderAPI_PipeError():
"""
Errors that can occur at (shell)pipe construction.
Members:
BRepBuilderAPI_PipeDone
BRepBuilderAPI_PipeNotDone
BRepBuilderAPI_PlaneNotIntersectGuide
BRepBuilderAPI_ImpossibleContact
"""
def __eq__(self,other : object) -> bool: ...
def __getstate__(self) -> int: ...
def __hash__(self) -> int: ...
def __index__(self) -> int: ...
def __init__(self,value : int) -> None: ...
def __int__(self) -> int: ...
def __ne__(self,other : object) -> bool: ...
def __repr__(self) -> str: ...
def __setstate__(self,state : int) -> None: ...
def __str__(self) -> str: ...
@property
def name(self) -> None:
"""
:type: None
"""
@property
def value(self) -> int:
"""
:type: int
"""
BRepBuilderAPI_ImpossibleContact: OCP.BRepBuilderAPI.BRepBuilderAPI_PipeError # value = <BRepBuilderAPI_PipeError.BRepBuilderAPI_ImpossibleContact: 3>
BRepBuilderAPI_PipeDone: OCP.BRepBuilderAPI.BRepBuilderAPI_PipeError # value = <BRepBuilderAPI_PipeError.BRepBuilderAPI_PipeDone: 0>
BRepBuilderAPI_PipeNotDone: OCP.BRepBuilderAPI.BRepBuilderAPI_PipeError # value = <BRepBuilderAPI_PipeError.BRepBuilderAPI_PipeNotDone: 1>
BRepBuilderAPI_PlaneNotIntersectGuide: OCP.BRepBuilderAPI.BRepBuilderAPI_PipeError # value = <BRepBuilderAPI_PipeError.BRepBuilderAPI_PlaneNotIntersectGuide: 2>
__entries: dict # value = {'BRepBuilderAPI_PipeDone': (<BRepBuilderAPI_PipeError.BRepBuilderAPI_PipeDone: 0>, None), 'BRepBuilderAPI_PipeNotDone': (<BRepBuilderAPI_PipeError.BRepBuilderAPI_PipeNotDone: 1>, None), 'BRepBuilderAPI_PlaneNotIntersectGuide': (<BRepBuilderAPI_PipeError.BRepBuilderAPI_PlaneNotIntersectGuide: 2>, None), 'BRepBuilderAPI_ImpossibleContact': (<BRepBuilderAPI_PipeError.BRepBuilderAPI_ImpossibleContact: 3>, None)}
__members__: dict # value = {'BRepBuilderAPI_PipeDone': <BRepBuilderAPI_PipeError.BRepBuilderAPI_PipeDone: 0>, 'BRepBuilderAPI_PipeNotDone': <BRepBuilderAPI_PipeError.BRepBuilderAPI_PipeNotDone: 1>, 'BRepBuilderAPI_PlaneNotIntersectGuide': <BRepBuilderAPI_PipeError.BRepBuilderAPI_PlaneNotIntersectGuide: 2>, 'BRepBuilderAPI_ImpossibleContact': <BRepBuilderAPI_PipeError.BRepBuilderAPI_ImpossibleContact: 3>}
pass
class BRepBuilderAPI_Sewing(OCP.Standard.Standard_Transient):
"""
Provides methods toProvides methods toProvides methods to
"""
def Add(self,shape : OCP.TopoDS.TopoDS_Shape) -> None:
"""
Defines the shapes to be sewed or controlled
"""
def ContigousEdge(self,index : int) -> OCP.TopoDS.TopoDS_Edge:
"""
Gives each contiguous edge
"""
def ContigousEdgeCouple(self,index : int) -> OCP.TopTools.TopTools_ListOfShape:
"""
Gives the sections (edge) belonging to a contiguous edge
"""
def DecrementRefCounter(self) -> int:
"""
Decrements the reference counter of this object; returns the decremented value
"""
def DegeneratedShape(self,index : int) -> OCP.TopoDS.TopoDS_Shape:
"""
Gives each degenerated shape
"""
def Delete(self) -> None:
"""
Memory deallocator for transient classes
"""
def DeletedFace(self,index : int) -> OCP.TopoDS.TopoDS_Face:
"""
Gives each deleted face
"""
def Dump(self) -> None:
"""
print the information
"""
def DynamicType(self) -> OCP.Standard.Standard_Type:
"""
None
"""
def FaceMode(self) -> bool:
"""
Returns mode for sewing faces By default - true.
Returns mode for sewing faces By default - true.
"""
def FloatingEdgesMode(self) -> bool:
"""
Returns mode for sewing floating edges By default - false.
Returns mode for sewing floating edges By default - false.
"""
def FreeEdge(self,index : int) -> OCP.TopoDS.TopoDS_Edge:
"""
Gives each free edge
"""
def GetContext(self) -> OCP.BRepTools.BRepTools_ReShape:
"""
return context
"""
def GetRefCount(self) -> int:
"""
Get the reference counter of this object
"""
def IncrementRefCounter(self) -> None:
"""
Increments the reference counter of this object
"""
def Init(self,tolerance : float=1e-06,option1 : bool=True,option2 : bool=True,option3 : bool=True,option4 : bool=False) -> None:
"""
initialize the parameters if necessary
"""
def IsDegenerated(self,shape : OCP.TopoDS.TopoDS_Shape) -> bool:
"""
Indicates if a input shape is degenerated
"""
@overload
def IsInstance(self,theType : OCP.Standard.Standard_Type) -> bool:
"""
Returns a true value if this is an instance of Type.
Returns a true value if this is an instance of TypeName.
"""
@overload
def IsInstance(self,theTypeName : str) -> bool: ...
@overload
def IsKind(self,theTypeName : str) -> bool:
"""
Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
"""
@overload
def IsKind(self,theType : OCP.Standard.Standard_Type) -> bool: ...
def IsModified(self,shape : OCP.TopoDS.TopoDS_Shape) -> bool:
"""
Indicates if a input shape has been modified
"""
def IsModifiedSubShape(self,shape : OCP.TopoDS.TopoDS_Shape) -> bool:
"""
Indicates if a input subshape has been modified
"""
def IsSectionBound(self,section : OCP.TopoDS.TopoDS_Edge) -> bool:
"""
Indicates if a section is bound (before use SectionToBoundary)
"""
def Load(self,shape : OCP.TopoDS.TopoDS_Shape) -> None:
"""
Loades the context shape.
"""
def LocalTolerancesMode(self) -> bool:
"""
Returns mode for accounting of local tolerances of edges and vertices during of merging.
Returns mode for accounting of local tolerances of edges and vertices during of merging.
"""
def MaxTolerance(self) -> float:
"""
Gives set max tolerance
Gives set max tolerance
"""
def MinTolerance(self) -> float:
"""
Gives set min tolerance.
Gives set min tolerance.
"""
def Modified(self,shape : OCP.TopoDS.TopoDS_Shape) -> OCP.TopoDS.TopoDS_Shape:
"""
Gives a modifieded shape
"""
def ModifiedSubShape(self,shape : OCP.TopoDS.TopoDS_Shape) -> OCP.TopoDS.TopoDS_Shape:
"""
Gives a modifieded subshape
"""
def MultipleEdge(self,index : int) -> OCP.TopoDS.TopoDS_Edge:
"""
Gives each multiple edge
"""
def NbContigousEdges(self) -> int:
"""
Gives the number of contiguous edges (edge shared by two faces)
"""
def NbDegeneratedShapes(self) -> int:
"""
Gives the number of degenerated shapes
"""
def NbDeletedFaces(self) -> int:
"""
Gives the number of deleted faces (faces smallest than tolerance)
"""
def NbFreeEdges(self) -> int:
"""
Gives the number of free edges (edge shared by one face)
"""
def NbMultipleEdges(self) -> int:
"""
Gives the number of multiple edges (edge shared by more than two faces)
"""
def NonManifoldMode(self) -> bool:
"""
Gets mode for non-manifold sewing.
Gets mode for non-manifold sewing.
"""
def Perform(self,theProgress : OCP.Message.Message_ProgressRange=OCP.Message.Message_ProgressRange) -> None:
"""
Computing theProgress - progress indicator of algorithm
"""
def SameParameterMode(self) -> bool:
"""
Gets same parameter mode.
Gets same parameter mode.
"""
def SectionToBoundary(self,section : OCP.TopoDS.TopoDS_Edge) -> OCP.TopoDS.TopoDS_Edge:
"""
Gives the original edge (free boundary) which becomes the the section. Remember that sections constitute common edges. This imformation is important for control because with original edge we can find the surface to which the section is attached.
"""
def SetContext(self,theContext : OCP.BRepTools.BRepTools_ReShape) -> None:
"""
set context
"""
def SetFaceMode(self,theFaceMode : bool) -> None:
"""
Sets mode for sewing faces By default - true.
Sets mode for sewing faces By default - true.
"""
def SetFloatingEdgesMode(self,theFloatingEdgesMode : bool) -> None:
"""
Sets mode for sewing floating edges By default - false. Returns mode for cutting floating edges By default - false. Sets mode for cutting floating edges By default - false.
Sets mode for sewing floating edges By default - false. Returns mode for cutting floating edges By default - false. Sets mode for cutting floating edges By default - false.
"""
def SetLocalTolerancesMode(self,theLocalTolerancesMode : bool) -> None:
"""
Sets mode for accounting of local tolerances of edges and vertices during of merging in this case WorkTolerance = myTolerance + tolEdge1+ tolEdg2;
Sets mode for accounting of local tolerances of edges and vertices during of merging in this case WorkTolerance = myTolerance + tolEdge1+ tolEdg2;
"""
def SetMaxTolerance(self,theMaxToler : float) -> None:
"""
Sets max tolerance.
Sets max tolerance.
"""
def SetMinTolerance(self,theMinToler : float) -> None:
"""
Sets min tolerance
Sets min tolerance
"""
def SetNonManifoldMode(self,theNonManifoldMode : bool) -> None:
"""
Sets mode for non-manifold sewing.
Sets mode for non-manifold sewing.
"""
def SetSameParameterMode(self,SameParameterMode : bool) -> None:
"""
Sets same parameter mode.
Sets same parameter mode.
"""
def SetTolerance(self,theToler : float) -> None:
"""
Sets tolerance
Sets tolerance
"""
def SewedShape(self) -> OCP.TopoDS.TopoDS_Shape:
"""
Gives the sewed shape a null shape if nothing constructed may be a face, a shell, a solid or a compound
"""
def This(self) -> OCP.Standard.Standard_Transient:
"""
Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero.
"""
def Tolerance(self) -> float:
"""
Gives set tolerance.
Gives set tolerance.
"""
def WhichFace(self,theEdg : OCP.TopoDS.TopoDS_Edge,index : int=1) -> OCP.TopoDS.TopoDS_Face:
"""
Gives a modified shape
"""
def __init__(self,tolerance : float=1e-06,option1 : bool=True,option2 : bool=True,option3 : bool=True,option4 : bool=False) -> None: ...
@staticmethod
def get_type_descriptor_s() -> OCP.Standard.Standard_Type:
"""
None
"""
@staticmethod
def get_type_name_s() -> str:
"""
None
"""
pass
class BRepBuilderAPI_ShapeModification():
"""
Lists the possible types of modification to a shape following a topological operation: Preserved, Deleted, Trimmed, Merged or BoundaryModified. This enumeration enables you to assign a "state" to the different shapes that are on the list of operands for each API function. The MakeShape class then uses this to determine what has happened to the shapes which constitute the list of operands.
Members:
BRepBuilderAPI_Preserved
BRepBuilderAPI_Deleted
BRepBuilderAPI_Trimmed
BRepBuilderAPI_Merged
BRepBuilderAPI_BoundaryModified
"""
def __eq__(self,other : object) -> bool: ...
def __getstate__(self) -> int: ...
def __hash__(self) -> int: ...
def __index__(self) -> int: ...
def __init__(self,value : int) -> None: ...
def __int__(self) -> int: ...
def __ne__(self,other : object) -> bool: ...
def __repr__(self) -> str: ...
def __setstate__(self,state : int) -> None: ...
def __str__(self) -> str: ...
@property
def name(self) -> None:
"""
:type: None
"""
@property
def value(self) -> int:
"""
:type: int
"""
BRepBuilderAPI_BoundaryModified: OCP.BRepBuilderAPI.BRepBuilderAPI_ShapeModification # value = <BRepBuilderAPI_ShapeModification.BRepBuilderAPI_BoundaryModified: 4>
BRepBuilderAPI_Deleted: OCP.BRepBuilderAPI.BRepBuilderAPI_ShapeModification # value = <BRepBuilderAPI_ShapeModification.BRepBuilderAPI_Deleted: 1>
BRepBuilderAPI_Merged: OCP.BRepBuilderAPI.BRepBuilderAPI_ShapeModification # value = <BRepBuilderAPI_ShapeModification.BRepBuilderAPI_Merged: 3>
BRepBuilderAPI_Preserved: OCP.BRepBuilderAPI.BRepBuilderAPI_ShapeModification # value = <BRepBuilderAPI_ShapeModification.BRepBuilderAPI_Preserved: 0>
BRepBuilderAPI_Trimmed: OCP.BRepBuilderAPI.BRepBuilderAPI_ShapeModification # value = <BRepBuilderAPI_ShapeModification.BRepBuilderAPI_Trimmed: 2>
__entries: dict # value = {'BRepBuilderAPI_Preserved': (<BRepBuilderAPI_ShapeModification.BRepBuilderAPI_Preserved: 0>, None), 'BRepBuilderAPI_Deleted': (<BRepBuilderAPI_ShapeModification.BRepBuilderAPI_Deleted: 1>, None), 'BRepBuilderAPI_Trimmed': (<BRepBuilderAPI_ShapeModification.BRepBuilderAPI_Trimmed: 2>, None), 'BRepBuilderAPI_Merged': (<BRepBuilderAPI_ShapeModification.BRepBuilderAPI_Merged: 3>, None), 'BRepBuilderAPI_BoundaryModified': (<BRepBuilderAPI_ShapeModification.BRepBuilderAPI_BoundaryModified: 4>, None)}
__members__: dict # value = {'BRepBuilderAPI_Preserved': <BRepBuilderAPI_ShapeModification.BRepBuilderAPI_Preserved: 0>, 'BRepBuilderAPI_Deleted': <BRepBuilderAPI_ShapeModification.BRepBuilderAPI_Deleted: 1>, 'BRepBuilderAPI_Trimmed': <BRepBuilderAPI_ShapeModification.BRepBuilderAPI_Trimmed: 2>, 'BRepBuilderAPI_Merged': <BRepBuilderAPI_ShapeModification.BRepBuilderAPI_Merged: 3>, 'BRepBuilderAPI_BoundaryModified': <BRepBuilderAPI_ShapeModification.BRepBuilderAPI_BoundaryModified: 4>}
pass
class BRepBuilderAPI_ShellError():
"""
Indicates the outcome of the construction of a face, i.e. whether it is successful or not, as explained below: - BRepBuilderAPI_ShellDone No error occurred. The shell is correctly built. - BRepBuilderAPI_EmptyShell No initialization of the algorithm: only an empty constructor was used. - BRepBuilderAPI_DisconnectedShell not yet used - BRepBuilderAPI_ShellParametersOutOfRange The parameters given to limit the surface are out of its bounds.
Members:
BRepBuilderAPI_ShellDone
BRepBuilderAPI_EmptyShell
BRepBuilderAPI_DisconnectedShell
BRepBuilderAPI_ShellParametersOutOfRange
"""
def __eq__(self,other : object) -> bool: ...
def __getstate__(self) -> int: ...
def __hash__(self) -> int: ...
def __index__(self) -> int: ...
def __init__(self,value : int) -> None: ...
def __int__(self) -> int: ...
def __ne__(self,other : object) -> bool: ...
def __repr__(self) -> str: ...
def __setstate__(self,state : int) -> None: ...
def __str__(self) -> str: ...
@property
def name(self) -> None:
"""
:type: None
"""
@property
def value(self) -> int:
"""
:type: int
"""
BRepBuilderAPI_DisconnectedShell: OCP.BRepBuilderAPI.BRepBuilderAPI_ShellError # value = <BRepBuilderAPI_ShellError.BRepBuilderAPI_DisconnectedShell: 2>
BRepBuilderAPI_EmptyShell: OCP.BRepBuilderAPI.BRepBuilderAPI_ShellError # value = <BRepBuilderAPI_ShellError.BRepBuilderAPI_EmptyShell: 1>
BRepBuilderAPI_ShellDone: OCP.BRepBuilderAPI.BRepBuilderAPI_ShellError # value = <BRepBuilderAPI_ShellError.BRepBuilderAPI_ShellDone: 0>
BRepBuilderAPI_ShellParametersOutOfRange: OCP.BRepBuilderAPI.BRepBuilderAPI_ShellError # value = <BRepBuilderAPI_ShellError.BRepBuilderAPI_ShellParametersOutOfRange: 3>
__entries: dict # value = {'BRepBuilderAPI_ShellDone': (<BRepBuilderAPI_ShellError.BRepBuilderAPI_ShellDone: 0>, None), 'BRepBuilderAPI_EmptyShell': (<BRepBuilderAPI_ShellError.BRepBuilderAPI_EmptyShell: 1>, None), 'BRepBuilderAPI_DisconnectedShell': (<BRepBuilderAPI_ShellError.BRepBuilderAPI_DisconnectedShell: 2>, None), 'BRepBuilderAPI_ShellParametersOutOfRange': (<BRepBuilderAPI_ShellError.BRepBuilderAPI_ShellParametersOutOfRange: 3>, None)}
__members__: dict # value = {'BRepBuilderAPI_ShellDone': <BRepBuilderAPI_ShellError.BRepBuilderAPI_ShellDone: 0>, 'BRepBuilderAPI_EmptyShell': <BRepBuilderAPI_ShellError.BRepBuilderAPI_EmptyShell: 1>, 'BRepBuilderAPI_DisconnectedShell': <BRepBuilderAPI_ShellError.BRepBuilderAPI_DisconnectedShell: 2>, 'BRepBuilderAPI_ShellParametersOutOfRange': <BRepBuilderAPI_ShellError.BRepBuilderAPI_ShellParametersOutOfRange: 3>}
pass
class BRepBuilderAPI_Transform(BRepBuilderAPI_ModifyShape, BRepBuilderAPI_MakeShape, BRepBuilderAPI_Command):
"""
Geometric transformation on a shape. The transformation to be applied is defined as a gp_Trsf transformation, i.e. a transformation which does not modify the underlying geometry of shapes. The transformation is applied to: - all curves which support edges of a shape, and - all surfaces which support its faces. A Transform object provides a framework for: - defining the geometric transformation to be applied, - implementing the transformation algorithm, and - consulting the results.
"""
def Build(self,theRange : OCP.Message.Message_ProgressRange=OCP.Message.Message_ProgressRange) -> None:
"""
This is called by Shape(). It does nothing but may be redefined.
"""
def Check(self) -> None:
"""
Raises NotDone if done is false.
"""
def Generated(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes generated from the shape <S>.
"""
def IsDeleted(self,S : OCP.TopoDS.TopoDS_Shape) -> bool:
"""
Returns true if the shape S has been deleted.
"""
def IsDone(self) -> bool:
"""
None
"""
def Modified(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopTools.TopTools_ListOfShape:
"""
Returns the list of shapes modified from the shape <S>.
"""
def ModifiedShape(self,S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopoDS.TopoDS_Shape:
"""
Returns the modified shape corresponding to <S>.
"""
def Perform(self,theShape : OCP.TopoDS.TopoDS_Shape,theCopyGeom : bool=False,theCopyMesh : bool=False) -> None:
"""
Applies the geometric transformation defined at the time of construction of this framework to the shape S. - If the transformation T is direct and isometric, in other words, if the determinant of the vectorial part of T is equal to 1., and if theCopyGeom equals false (the default value), the resulting shape is the same as the original but with a new location assigned to it. - In all other cases, the transformation is applied to a duplicate of theShape. - If theCopyMesh is true, the triangulation will be copied, and the copy will be assigned to the result shape. Use the function Shape to access the result. Note: this framework can be reused to apply the same geometric transformation to other shapes. You only need to specify them by calling the function Perform again.
"""
def Shape(self) -> OCP.TopoDS.TopoDS_Shape:
"""
Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built.
"""
def __bool__(self) -> bool:
"""
Check if command is done
"""
@overload
def __init__(self,theShape : OCP.TopoDS.TopoDS_Shape,theTrsf : OCP.gp.gp_Trsf,theCopyGeom : bool=False,theCopyMesh : bool=False) -> None: ...
@overload
def __init__(self,T : OCP.gp.gp_Trsf) -> None: ...
pass
class BRepBuilderAPI_TransitionMode():
"""
Option to manage discontinuities in Sweep
Members:
BRepBuilderAPI_Transformed
BRepBuilderAPI_RightCorner
BRepBuilderAPI_RoundCorner
"""
def __eq__(self,other : object) -> bool: ...
def __getstate__(self) -> int: ...
def __hash__(self) -> int: ...
def __index__(self) -> int: ...
def __init__(self,value : int) -> None: ...
def __int__(self) -> int: ...
def __ne__(self,other : object) -> bool: ...
def __repr__(self) -> str: ...
def __setstate__(self,state : int) -> None: ...
def __str__(self) -> str: ...
@property
def name(self) -> None:
"""
:type: None
"""
@property
def value(self) -> int:
"""
:type: int
"""
BRepBuilderAPI_RightCorner: OCP.BRepBuilderAPI.BRepBuilderAPI_TransitionMode # value = <BRepBuilderAPI_TransitionMode.BRepBuilderAPI_RightCorner: 1>
BRepBuilderAPI_RoundCorner: OCP.BRepBuilderAPI.BRepBuilderAPI_TransitionMode # value = <BRepBuilderAPI_TransitionMode.BRepBuilderAPI_RoundCorner: 2>
BRepBuilderAPI_Transformed: OCP.BRepBuilderAPI.BRepBuilderAPI_TransitionMode # value = <BRepBuilderAPI_TransitionMode.BRepBuilderAPI_Transformed: 0>
__entries: dict # value = {'BRepBuilderAPI_Transformed': (<BRepBuilderAPI_TransitionMode.BRepBuilderAPI_Transformed: 0>, None), 'BRepBuilderAPI_RightCorner': (<BRepBuilderAPI_TransitionMode.BRepBuilderAPI_RightCorner: 1>, None), 'BRepBuilderAPI_RoundCorner': (<BRepBuilderAPI_TransitionMode.BRepBuilderAPI_RoundCorner: 2>, None)}
__members__: dict # value = {'BRepBuilderAPI_Transformed': <BRepBuilderAPI_TransitionMode.BRepBuilderAPI_Transformed: 0>, 'BRepBuilderAPI_RightCorner': <BRepBuilderAPI_TransitionMode.BRepBuilderAPI_RightCorner: 1>, 'BRepBuilderAPI_RoundCorner': <BRepBuilderAPI_TransitionMode.BRepBuilderAPI_RoundCorner: 2>}
pass
class BRepBuilderAPI_VertexInspector(OCP.NCollection.NCollection_CellFilter_InspectorXYZ):
"""
Class BRepBuilderAPI_VertexInspector derived from NCollection_CellFilter_InspectorXYZ This class define the Inspector interface for CellFilter algorithm, working with gp_XYZ points in 3d space. Used in search of coincidence points with a certain tolerance.
"""
def Add(self,thePnt : OCP.gp.gp_XYZ) -> None:
"""
Keep the points used for comparison
"""
def ClearResList(self) -> None:
"""
Clear the list of adjacent points
"""
@staticmethod
def Coord_s(i : int,thePnt : OCP.gp.gp_XYZ) -> float:
"""
Access to coordinate
"""
def Inspect(self,theTarget : int) -> OCP.NCollection.NCollection_CellFilter_Action:
"""
Implementation of inspection method
"""
def ResInd(self) -> OCP.TColStd.TColStd_ListOfInteger:
"""
Get list of indexes of points adjacent with the current
"""
def SetCurrent(self,theCurPnt : OCP.gp.gp_XYZ) -> None:
"""
Set current point to search for coincidence
"""
def Shift(self,thePnt : OCP.gp.gp_XYZ,theTol : float) -> OCP.gp.gp_XYZ:
"""
Auxiliary method to shift point by each coordinate on given value; useful for preparing a points range for Inspect with tolerance
"""
def __init__(self,theTol : float) -> None: ...
Dimension = 3
pass
class BRepBuilderAPI_WireError():
"""
Indicates the outcome of wire construction, i.e. whether it is successful or not, as explained below: - BRepBuilderAPI_WireDone No error occurred. The wire is correctly built. - BRepBuilderAPI_EmptyWire No initialization of the algorithm. Only an empty constructor was used. - BRepBuilderAPI_DisconnectedWire The last edge which you attempted to add was not connected to the wire. - BRepBuilderAPI_NonManifoldWire The wire with some singularity.
Members:
BRepBuilderAPI_WireDone
BRepBuilderAPI_EmptyWire
BRepBuilderAPI_DisconnectedWire
BRepBuilderAPI_NonManifoldWire
"""
def __eq__(self,other : object) -> bool: ...
def __getstate__(self) -> int: ...
def __hash__(self) -> int: ...
def __index__(self) -> int: ...
def __init__(self,value : int) -> None: ...
def __int__(self) -> int: ...
def __ne__(self,other : object) -> bool: ...
def __repr__(self) -> str: ...
def __setstate__(self,state : int) -> None: ...
def __str__(self) -> str: ...
@property
def name(self) -> None:
"""
:type: None
"""
@property
def value(self) -> int:
"""
:type: int
"""
BRepBuilderAPI_DisconnectedWire: OCP.BRepBuilderAPI.BRepBuilderAPI_WireError # value = <BRepBuilderAPI_WireError.BRepBuilderAPI_DisconnectedWire: 2>
BRepBuilderAPI_EmptyWire: OCP.BRepBuilderAPI.BRepBuilderAPI_WireError # value = <BRepBuilderAPI_WireError.BRepBuilderAPI_EmptyWire: 1>
BRepBuilderAPI_NonManifoldWire: OCP.BRepBuilderAPI.BRepBuilderAPI_WireError # value = <BRepBuilderAPI_WireError.BRepBuilderAPI_NonManifoldWire: 3>
BRepBuilderAPI_WireDone: OCP.BRepBuilderAPI.BRepBuilderAPI_WireError # value = <BRepBuilderAPI_WireError.BRepBuilderAPI_WireDone: 0>
__entries: dict # value = {'BRepBuilderAPI_WireDone': (<BRepBuilderAPI_WireError.BRepBuilderAPI_WireDone: 0>, None), 'BRepBuilderAPI_EmptyWire': (<BRepBuilderAPI_WireError.BRepBuilderAPI_EmptyWire: 1>, None), 'BRepBuilderAPI_DisconnectedWire': (<BRepBuilderAPI_WireError.BRepBuilderAPI_DisconnectedWire: 2>, None), 'BRepBuilderAPI_NonManifoldWire': (<BRepBuilderAPI_WireError.BRepBuilderAPI_NonManifoldWire: 3>, None)}
__members__: dict # value = {'BRepBuilderAPI_WireDone': <BRepBuilderAPI_WireError.BRepBuilderAPI_WireDone: 0>, 'BRepBuilderAPI_EmptyWire': <BRepBuilderAPI_WireError.BRepBuilderAPI_EmptyWire: 1>, 'BRepBuilderAPI_DisconnectedWire': <BRepBuilderAPI_WireError.BRepBuilderAPI_DisconnectedWire: 2>, 'BRepBuilderAPI_NonManifoldWire': <BRepBuilderAPI_WireError.BRepBuilderAPI_NonManifoldWire: 3>}
pass
class VectorOfPoint():
"""
Class NCollection_DynamicArray (dynamic array of objects)
"""
def Assign(self,theOther : VectorOfPoint,theOwnAllocator : bool=True) -> VectorOfPoint:
"""
Assignment to the collection of the same type
"""
def Clear(self,theReleaseMemory : bool=False) -> None:
"""
None
"""
def EraseLast(self) -> None:
"""
None
"""
def IsEmpty(self) -> bool:
"""
Empty query
"""
def Length(self) -> int:
"""
Total number of items
"""
def Lower(self) -> int:
"""
Method for consistency with other collections.
"""
def SetIncrement(self,theIncrement : int) -> None:
"""
None
"""
def Size(self) -> int:
"""
Total number of items in the vector
"""
def Upper(self) -> int:
"""
Method for consistency with other collections.
"""
def __bool__(self) -> bool: ...
def __call__(self,theIndex : int) -> OCP.gp.gp_XYZ: ...
@overload
def __init__(self,theIncrement : int,theAllocator : OCP.NCollection.NCollection_BaseAllocator) -> None: ...
@overload
def __init__(self,theOther : VectorOfPoint) -> None: ...
@overload
def __init__(self,theIncrement : int,theAllocator : Any) -> None: ...
@overload
def __init__(self,theIncrement : int=256) -> None: ...
def __iter__(self) -> Iterator[OCP.gp.gp_XYZ]: ...
def __len__(self) -> int: ...
pass
BRepBuilderAPI_BoundaryModified: OCP.BRepBuilderAPI.BRepBuilderAPI_ShapeModification # value = <BRepBuilderAPI_ShapeModification.BRepBuilderAPI_BoundaryModified: 4>
BRepBuilderAPI_CurveProjectionFailed: OCP.BRepBuilderAPI.BRepBuilderAPI_FaceError # value = <BRepBuilderAPI_FaceError.BRepBuilderAPI_CurveProjectionFailed: 3>
BRepBuilderAPI_Deleted: OCP.BRepBuilderAPI.BRepBuilderAPI_ShapeModification # value = <BRepBuilderAPI_ShapeModification.BRepBuilderAPI_Deleted: 1>
BRepBuilderAPI_DifferentPointsOnClosedCurve: OCP.BRepBuilderAPI.BRepBuilderAPI_EdgeError # value = <BRepBuilderAPI_EdgeError.BRepBuilderAPI_DifferentPointsOnClosedCurve: 3>
BRepBuilderAPI_DifferentsPointAndParameter: OCP.BRepBuilderAPI.BRepBuilderAPI_EdgeError # value = <BRepBuilderAPI_EdgeError.BRepBuilderAPI_DifferentsPointAndParameter: 5>
BRepBuilderAPI_DisconnectedShell: OCP.BRepBuilderAPI.BRepBuilderAPI_ShellError # value = <BRepBuilderAPI_ShellError.BRepBuilderAPI_DisconnectedShell: 2>
BRepBuilderAPI_DisconnectedWire: OCP.BRepBuilderAPI.BRepBuilderAPI_WireError # value = <BRepBuilderAPI_WireError.BRepBuilderAPI_DisconnectedWire: 2>
BRepBuilderAPI_EdgeDone: OCP.BRepBuilderAPI.BRepBuilderAPI_EdgeError # value = <BRepBuilderAPI_EdgeError.BRepBuilderAPI_EdgeDone: 0>
BRepBuilderAPI_EmptyShell: OCP.BRepBuilderAPI.BRepBuilderAPI_ShellError # value = <BRepBuilderAPI_ShellError.BRepBuilderAPI_EmptyShell: 1>
BRepBuilderAPI_EmptyWire: OCP.BRepBuilderAPI.BRepBuilderAPI_WireError # value = <BRepBuilderAPI_WireError.BRepBuilderAPI_EmptyWire: 1>
BRepBuilderAPI_FaceDone: OCP.BRepBuilderAPI.BRepBuilderAPI_FaceError # value = <BRepBuilderAPI_FaceError.BRepBuilderAPI_FaceDone: 0>
BRepBuilderAPI_ImpossibleContact: OCP.BRepBuilderAPI.BRepBuilderAPI_PipeError # value = <BRepBuilderAPI_PipeError.BRepBuilderAPI_ImpossibleContact: 3>
BRepBuilderAPI_LineThroughIdenticPoints: OCP.BRepBuilderAPI.BRepBuilderAPI_EdgeError # value = <BRepBuilderAPI_EdgeError.BRepBuilderAPI_LineThroughIdenticPoints: 6>
BRepBuilderAPI_Merged: OCP.BRepBuilderAPI.BRepBuilderAPI_ShapeModification # value = <BRepBuilderAPI_ShapeModification.BRepBuilderAPI_Merged: 3>
BRepBuilderAPI_NoFace: OCP.BRepBuilderAPI.BRepBuilderAPI_FaceError # value = <BRepBuilderAPI_FaceError.BRepBuilderAPI_NoFace: 1>
BRepBuilderAPI_NonManifoldWire: OCP.BRepBuilderAPI.BRepBuilderAPI_WireError # value = <BRepBuilderAPI_WireError.BRepBuilderAPI_NonManifoldWire: 3>
BRepBuilderAPI_NotPlanar: OCP.BRepBuilderAPI.BRepBuilderAPI_FaceError # value = <BRepBuilderAPI_FaceError.BRepBuilderAPI_NotPlanar: 2>
BRepBuilderAPI_ParameterOutOfRange: OCP.BRepBuilderAPI.BRepBuilderAPI_EdgeError # value = <BRepBuilderAPI_EdgeError.BRepBuilderAPI_ParameterOutOfRange: 2>
BRepBuilderAPI_ParametersOutOfRange: OCP.BRepBuilderAPI.BRepBuilderAPI_FaceError # value = <BRepBuilderAPI_FaceError.BRepBuilderAPI_ParametersOutOfRange: 4>
BRepBuilderAPI_PipeDone: OCP.BRepBuilderAPI.BRepBuilderAPI_PipeError # value = <BRepBuilderAPI_PipeError.BRepBuilderAPI_PipeDone: 0>
BRepBuilderAPI_PipeNotDone: OCP.BRepBuilderAPI.BRepBuilderAPI_PipeError # value = <BRepBuilderAPI_PipeError.BRepBuilderAPI_PipeNotDone: 1>
BRepBuilderAPI_PlaneNotIntersectGuide: OCP.BRepBuilderAPI.BRepBuilderAPI_PipeError # value = <BRepBuilderAPI_PipeError.BRepBuilderAPI_PlaneNotIntersectGuide: 2>
BRepBuilderAPI_PointProjectionFailed: OCP.BRepBuilderAPI.BRepBuilderAPI_EdgeError # value = <BRepBuilderAPI_EdgeError.BRepBuilderAPI_PointProjectionFailed: 1>
BRepBuilderAPI_PointWithInfiniteParameter: OCP.BRepBuilderAPI.BRepBuilderAPI_EdgeError # value = <BRepBuilderAPI_EdgeError.BRepBuilderAPI_PointWithInfiniteParameter: 4>
BRepBuilderAPI_Preserved: OCP.BRepBuilderAPI.BRepBuilderAPI_ShapeModification # value = <BRepBuilderAPI_ShapeModification.BRepBuilderAPI_Preserved: 0>
BRepBuilderAPI_RightCorner: OCP.BRepBuilderAPI.BRepBuilderAPI_TransitionMode # value = <BRepBuilderAPI_TransitionMode.BRepBuilderAPI_RightCorner: 1>
BRepBuilderAPI_RoundCorner: OCP.BRepBuilderAPI.BRepBuilderAPI_TransitionMode # value = <BRepBuilderAPI_TransitionMode.BRepBuilderAPI_RoundCorner: 2>
BRepBuilderAPI_ShellDone: OCP.BRepBuilderAPI.BRepBuilderAPI_ShellError # value = <BRepBuilderAPI_ShellError.BRepBuilderAPI_ShellDone: 0>
BRepBuilderAPI_ShellParametersOutOfRange: OCP.BRepBuilderAPI.BRepBuilderAPI_ShellError # value = <BRepBuilderAPI_ShellError.BRepBuilderAPI_ShellParametersOutOfRange: 3>
BRepBuilderAPI_Transformed: OCP.BRepBuilderAPI.BRepBuilderAPI_TransitionMode # value = <BRepBuilderAPI_TransitionMode.BRepBuilderAPI_Transformed: 0>
BRepBuilderAPI_Trimmed: OCP.BRepBuilderAPI.BRepBuilderAPI_ShapeModification # value = <BRepBuilderAPI_ShapeModification.BRepBuilderAPI_Trimmed: 2>
BRepBuilderAPI_WireDone: OCP.BRepBuilderAPI.BRepBuilderAPI_WireError # value = <BRepBuilderAPI_WireError.BRepBuilderAPI_WireDone: 0>
|