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
|
// std lib related includes
#include <tuple>
// pybind 11 related includes
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
namespace py = pybind11;
// Standard Handle
#include <Standard_Handle.hxx>
// includes to resolve forward declarations
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Geom_Plane.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <BRepBuilderAPI_MakeShape.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Geom_Plane.hxx>
#include <TopoDS_Shape.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <gp_Lin.hxx>
#include <gp_Circ.hxx>
#include <gp_Elips.hxx>
#include <gp_Hypr.hxx>
#include <gp_Parab.hxx>
#include <Geom_Curve.hxx>
#include <Geom2d_Curve.hxx>
#include <Geom_Surface.hxx>
#include <TopoDS_Edge.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <gp_Lin2d.hxx>
#include <gp_Circ2d.hxx>
#include <gp_Elips2d.hxx>
#include <gp_Hypr2d.hxx>
#include <gp_Parab2d.hxx>
#include <Geom2d_Curve.hxx>
#include <TopoDS_Edge.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <TopoDS_Face.hxx>
#include <gp_Pln.hxx>
#include <gp_Cylinder.hxx>
#include <gp_Cone.hxx>
#include <gp_Sphere.hxx>
#include <gp_Torus.hxx>
#include <Geom_Surface.hxx>
#include <TopoDS_Wire.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <TopoDS_Wire.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Geom_Surface.hxx>
#include <TopoDS_Shell.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <TopoDS_CompSolid.hxx>
#include <TopoDS_Shell.hxx>
#include <TopoDS_Solid.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <TopoDS_Vertex.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <TopoDS_Wire.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <BRepTools_Modification.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <BRepTools_ReShape.hxx>
#include <TopoDS_Edge.hxx>
#include <TopoDS_Face.hxx>
#include <Geom_Surface.hxx>
#include <Geom2d_Curve.hxx>
#include <Geom_Curve.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
// module includes
#include <BRepBuilderAPI.hxx>
#include <BRepBuilderAPI_BndBoxTreeSelector.hxx>
#include <BRepBuilderAPI_CellFilter.hxx>
#include <BRepBuilderAPI_Collect.hxx>
#include <BRepBuilderAPI_Command.hxx>
#include <BRepBuilderAPI_Copy.hxx>
#include <BRepBuilderAPI_EdgeError.hxx>
#include <BRepBuilderAPI_FaceError.hxx>
#include <BRepBuilderAPI_FastSewing.hxx>
#include <BRepBuilderAPI_FindPlane.hxx>
#include <BRepBuilderAPI_GTransform.hxx>
#include <BRepBuilderAPI_MakeEdge.hxx>
#include <BRepBuilderAPI_MakeEdge2d.hxx>
#include <BRepBuilderAPI_MakeFace.hxx>
#include <BRepBuilderAPI_MakePolygon.hxx>
#include <BRepBuilderAPI_MakeShape.hxx>
#include <BRepBuilderAPI_MakeShapeOnMesh.hxx>
#include <BRepBuilderAPI_MakeShell.hxx>
#include <BRepBuilderAPI_MakeSolid.hxx>
#include <BRepBuilderAPI_MakeVertex.hxx>
#include <BRepBuilderAPI_MakeWire.hxx>
#include <BRepBuilderAPI_ModifyShape.hxx>
#include <BRepBuilderAPI_NurbsConvert.hxx>
#include <BRepBuilderAPI_PipeError.hxx>
#include <BRepBuilderAPI_Sewing.hxx>
#include <BRepBuilderAPI_ShapeModification.hxx>
#include <BRepBuilderAPI_ShellError.hxx>
#include <BRepBuilderAPI_Transform.hxx>
#include <BRepBuilderAPI_TransitionMode.hxx>
#include <BRepBuilderAPI_VertexInspector.hxx>
#include <BRepBuilderAPI_WireError.hxx>
// template related includes
// ./opencascade/BRepBuilderAPI_VertexInspector.hxx
#include "NCollection_tmpl.hxx"
// user-defined pre
#include "OCP_specific.inc"
// user-defined inclusion per module
// Module definiiton
void register_BRepBuilderAPI(py::module &main_module) {
py::module m = static_cast<py::module>(main_module.attr("BRepBuilderAPI"));
py::object klass;
//Python trampoline classes
// classes
// Class BRepBuilderAPI from ./opencascade/BRepBuilderAPI.hxx
klass = m.attr("BRepBuilderAPI");
// default constructor
register_default_constructor<BRepBuilderAPI , shared_ptr<BRepBuilderAPI>>(m,"BRepBuilderAPI");
// nested enums
static_cast<py::class_<BRepBuilderAPI , shared_ptr<BRepBuilderAPI> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
.def_static("Plane_s",
(void (*)( const opencascade::handle<Geom_Plane> & ) ) static_cast<void (*)( const opencascade::handle<Geom_Plane> & ) >(&BRepBuilderAPI::Plane),
R"#(Sets the current plane.)#" , py::arg("P")
)
.def_static("Plane_s",
(const opencascade::handle<Geom_Plane> & (*)() ) static_cast<const opencascade::handle<Geom_Plane> & (*)() >(&BRepBuilderAPI::Plane),
R"#(Returns the current plane.)#"
)
.def_static("Precision_s",
(void (*)( const Standard_Real ) ) static_cast<void (*)( const Standard_Real ) >(&BRepBuilderAPI::Precision),
R"#(Sets the default precision. The current Precision is returned.)#" , py::arg("P")
)
.def_static("Precision_s",
(Standard_Real (*)() ) static_cast<Standard_Real (*)() >(&BRepBuilderAPI::Precision),
R"#(Returns the default precision.)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class BRepBuilderAPI_BndBoxTreeSelector from ./opencascade/BRepBuilderAPI_BndBoxTreeSelector.hxx
klass = m.attr("BRepBuilderAPI_BndBoxTreeSelector");
// nested enums
static_cast<py::class_<BRepBuilderAPI_BndBoxTreeSelector , shared_ptr<BRepBuilderAPI_BndBoxTreeSelector> >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("Reject",
(Standard_Boolean (BRepBuilderAPI_BndBoxTreeSelector::*)( const Bnd_Box & ) const) static_cast<Standard_Boolean (BRepBuilderAPI_BndBoxTreeSelector::*)( const Bnd_Box & ) const>(&BRepBuilderAPI_BndBoxTreeSelector::Reject),
R"#(Implementation of rejection method)#" , py::arg("theBox")
)
.def("Accept",
(Standard_Boolean (BRepBuilderAPI_BndBoxTreeSelector::*)( const Standard_Integer & ) ) static_cast<Standard_Boolean (BRepBuilderAPI_BndBoxTreeSelector::*)( const Standard_Integer & ) >(&BRepBuilderAPI_BndBoxTreeSelector::Accept),
R"#(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.)#" , py::arg("theObj")
)
.def("ClearResList",
(void (BRepBuilderAPI_BndBoxTreeSelector::*)() ) static_cast<void (BRepBuilderAPI_BndBoxTreeSelector::*)() >(&BRepBuilderAPI_BndBoxTreeSelector::ClearResList),
R"#(Clear the list of intersecting boxes)#"
)
.def("SetCurrent",
(void (BRepBuilderAPI_BndBoxTreeSelector::*)( const Bnd_Box & ) ) static_cast<void (BRepBuilderAPI_BndBoxTreeSelector::*)( const Bnd_Box & ) >(&BRepBuilderAPI_BndBoxTreeSelector::SetCurrent),
R"#(Set current box to search for overlapping with him)#" , py::arg("theBox")
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("ResInd",
(const TColStd_ListOfInteger & (BRepBuilderAPI_BndBoxTreeSelector::*)() ) static_cast<const TColStd_ListOfInteger & (BRepBuilderAPI_BndBoxTreeSelector::*)() >(&BRepBuilderAPI_BndBoxTreeSelector::ResInd),
R"#(Get list of indexes of boxes intersecting with the current box)#"
, py::return_value_policy::reference_internal
)
;
// Class BRepBuilderAPI_Collect from ./opencascade/BRepBuilderAPI_Collect.hxx
klass = m.attr("BRepBuilderAPI_Collect");
// nested enums
static_cast<py::class_<BRepBuilderAPI_Collect , shared_ptr<BRepBuilderAPI_Collect> >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("Add",
(void (BRepBuilderAPI_Collect::*)( const TopoDS_Shape & , BRepBuilderAPI_MakeShape & ) ) static_cast<void (BRepBuilderAPI_Collect::*)( const TopoDS_Shape & , BRepBuilderAPI_MakeShape & ) >(&BRepBuilderAPI_Collect::Add),
R"#(None)#" , py::arg("SI"), py::arg("MKS")
)
.def("AddGenerated",
(void (BRepBuilderAPI_Collect::*)( const TopoDS_Shape & , const TopoDS_Shape & ) ) static_cast<void (BRepBuilderAPI_Collect::*)( const TopoDS_Shape & , const TopoDS_Shape & ) >(&BRepBuilderAPI_Collect::AddGenerated),
R"#(None)#" , py::arg("S"), py::arg("Gen")
)
.def("AddModif",
(void (BRepBuilderAPI_Collect::*)( const TopoDS_Shape & , const TopoDS_Shape & ) ) static_cast<void (BRepBuilderAPI_Collect::*)( const TopoDS_Shape & , const TopoDS_Shape & ) >(&BRepBuilderAPI_Collect::AddModif),
R"#(None)#" , py::arg("S"), py::arg("Mod")
)
.def("Filter",
(void (BRepBuilderAPI_Collect::*)( const TopoDS_Shape & ) ) static_cast<void (BRepBuilderAPI_Collect::*)( const TopoDS_Shape & ) >(&BRepBuilderAPI_Collect::Filter),
R"#(None)#" , py::arg("SF")
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("Modification",
(const TopTools_DataMapOfShapeListOfShape & (BRepBuilderAPI_Collect::*)() const) static_cast<const TopTools_DataMapOfShapeListOfShape & (BRepBuilderAPI_Collect::*)() const>(&BRepBuilderAPI_Collect::Modification),
R"#(None)#"
)
.def("Generated",
(const TopTools_DataMapOfShapeListOfShape & (BRepBuilderAPI_Collect::*)() const) static_cast<const TopTools_DataMapOfShapeListOfShape & (BRepBuilderAPI_Collect::*)() const>(&BRepBuilderAPI_Collect::Generated),
R"#(None)#"
)
;
// Class BRepBuilderAPI_Command from ./opencascade/BRepBuilderAPI_Command.hxx
klass = m.attr("BRepBuilderAPI_Command");
// nested enums
static_cast<py::class_<BRepBuilderAPI_Command , shared_ptr<BRepBuilderAPI_Command> >>(klass)
// constructors
// custom constructors
// methods
.def("IsDone",
(Standard_Boolean (BRepBuilderAPI_Command::*)() const) static_cast<Standard_Boolean (BRepBuilderAPI_Command::*)() const>(&BRepBuilderAPI_Command::IsDone),
R"#(None)#"
)
.def("Check",
(void (BRepBuilderAPI_Command::*)() const) static_cast<void (BRepBuilderAPI_Command::*)() const>(&BRepBuilderAPI_Command::Check),
R"#(Raises NotDone if done is false.)#"
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
.def("__bool__",
[]( const BRepBuilderAPI_Command & self){ return self.IsDone();},
R"#(Check if command is done)#"
)
// properties
// methods returning by ref wrapped as properties
;
// Class BRepBuilderAPI_FastSewing from ./opencascade/BRepBuilderAPI_FastSewing.hxx
klass = m.attr("BRepBuilderAPI_FastSewing");
// nested enums
py::enum_<BRepBuilderAPI_FastSewing::FS_Statuses>(klass, "FS_Statuses_e", R"#(Enumeration of result statuses)#")
.value("FS_OK", BRepBuilderAPI_FastSewing::FS_Statuses::FS_OK)
.value("FS_Degenerated", BRepBuilderAPI_FastSewing::FS_Statuses::FS_Degenerated)
.value("FS_FindVertexError", BRepBuilderAPI_FastSewing::FS_Statuses::FS_FindVertexError)
.value("FS_FindEdgeError", BRepBuilderAPI_FastSewing::FS_Statuses::FS_FindEdgeError)
.value("FS_FaceWithNullSurface", BRepBuilderAPI_FastSewing::FS_Statuses::FS_FaceWithNullSurface)
.value("FS_NotNaturalBoundsFace", BRepBuilderAPI_FastSewing::FS_Statuses::FS_NotNaturalBoundsFace)
.value("FS_InfiniteSurface", BRepBuilderAPI_FastSewing::FS_Statuses::FS_InfiniteSurface)
.value("FS_EmptyInput", BRepBuilderAPI_FastSewing::FS_Statuses::FS_EmptyInput)
.value("FS_Exception", BRepBuilderAPI_FastSewing::FS_Statuses::FS_Exception).export_values();
static_cast<py::class_<BRepBuilderAPI_FastSewing ,opencascade::handle<BRepBuilderAPI_FastSewing> , Standard_Transient >>(klass)
// constructors
.def(py::init< const Standard_Real >() , py::arg("theTolerance")=static_cast<const Standard_Real>(1.0e-06) )
// custom constructors
// methods
.def("Add",
(Standard_Boolean (BRepBuilderAPI_FastSewing::*)( const TopoDS_Shape & ) ) static_cast<Standard_Boolean (BRepBuilderAPI_FastSewing::*)( const TopoDS_Shape & ) >(&BRepBuilderAPI_FastSewing::Add),
R"#(Adds faces of a shape)#" , py::arg("theShape")
)
.def("Add",
(Standard_Boolean (BRepBuilderAPI_FastSewing::*)( const opencascade::handle<Geom_Surface> & ) ) static_cast<Standard_Boolean (BRepBuilderAPI_FastSewing::*)( const opencascade::handle<Geom_Surface> & ) >(&BRepBuilderAPI_FastSewing::Add),
R"#(Adds a surface)#" , py::arg("theSurface")
)
.def("Perform",
(void (BRepBuilderAPI_FastSewing::*)() ) static_cast<void (BRepBuilderAPI_FastSewing::*)() >(&BRepBuilderAPI_FastSewing::Perform),
R"#(Compute resulted shape)#"
)
.def("SetTolerance",
(void (BRepBuilderAPI_FastSewing::*)( const Standard_Real ) ) static_cast<void (BRepBuilderAPI_FastSewing::*)( const Standard_Real ) >(&BRepBuilderAPI_FastSewing::SetTolerance),
R"#(Sets tolerance)#" , py::arg("theToler")
)
.def("GetTolerance",
(Standard_Real (BRepBuilderAPI_FastSewing::*)() const) static_cast<Standard_Real (BRepBuilderAPI_FastSewing::*)() const>(&BRepBuilderAPI_FastSewing::GetTolerance),
R"#(Returns tolerance)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&BRepBuilderAPI_FastSewing::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&BRepBuilderAPI_FastSewing::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("GetResult",
(const TopoDS_Shape & (BRepBuilderAPI_FastSewing::*)() const) static_cast<const TopoDS_Shape & (BRepBuilderAPI_FastSewing::*)() const>(&BRepBuilderAPI_FastSewing::GetResult),
R"#(Returns resulted shape)#"
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (BRepBuilderAPI_FastSewing::*)() const) static_cast<const opencascade::handle<Standard_Type> & (BRepBuilderAPI_FastSewing::*)() const>(&BRepBuilderAPI_FastSewing::DynamicType),
R"#(None)#"
)
;
// Class BRepBuilderAPI_FindPlane from ./opencascade/BRepBuilderAPI_FindPlane.hxx
klass = m.attr("BRepBuilderAPI_FindPlane");
// nested enums
static_cast<py::class_<BRepBuilderAPI_FindPlane , shared_ptr<BRepBuilderAPI_FindPlane> >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const TopoDS_Shape &,const Standard_Real >() , py::arg("S"), py::arg("Tol")=static_cast<const Standard_Real>(- 1) )
// custom constructors
// methods
.def("Init",
(void (BRepBuilderAPI_FindPlane::*)( const TopoDS_Shape & , const Standard_Real ) ) static_cast<void (BRepBuilderAPI_FindPlane::*)( const TopoDS_Shape & , const Standard_Real ) >(&BRepBuilderAPI_FindPlane::Init),
R"#(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.)#" , py::arg("S"), py::arg("Tol")=static_cast<const Standard_Real>(- 1)
)
.def("Found",
(Standard_Boolean (BRepBuilderAPI_FindPlane::*)() const) static_cast<Standard_Boolean (BRepBuilderAPI_FindPlane::*)() const>(&BRepBuilderAPI_FindPlane::Found),
R"#(Returns true if a plane containing the edges of the shape is found and built. Use the function Plane to consult the result.)#"
)
.def("Plane",
(opencascade::handle<Geom_Plane> (BRepBuilderAPI_FindPlane::*)() const) static_cast<opencascade::handle<Geom_Plane> (BRepBuilderAPI_FindPlane::*)() const>(&BRepBuilderAPI_FindPlane::Plane),
R"#(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.)#"
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class BRepBuilderAPI_Sewing from ./opencascade/BRepBuilderAPI_Sewing.hxx
klass = m.attr("BRepBuilderAPI_Sewing");
// nested enums
static_cast<py::class_<BRepBuilderAPI_Sewing ,opencascade::handle<BRepBuilderAPI_Sewing> , Standard_Transient >>(klass)
// constructors
.def(py::init< const Standard_Real,const Standard_Boolean,const Standard_Boolean,const Standard_Boolean,const Standard_Boolean >() , py::arg("tolerance")=static_cast<const Standard_Real>(1.0e-06), py::arg("option1")=static_cast<const Standard_Boolean>(Standard_True), py::arg("option2")=static_cast<const Standard_Boolean>(Standard_True), py::arg("option3")=static_cast<const Standard_Boolean>(Standard_True), py::arg("option4")=static_cast<const Standard_Boolean>(Standard_False) )
// custom constructors
// methods
.def("Init",
(void (BRepBuilderAPI_Sewing::*)( const Standard_Real , const Standard_Boolean , const Standard_Boolean , const Standard_Boolean , const Standard_Boolean ) ) static_cast<void (BRepBuilderAPI_Sewing::*)( const Standard_Real , const Standard_Boolean , const Standard_Boolean , const Standard_Boolean , const Standard_Boolean ) >(&BRepBuilderAPI_Sewing::Init),
R"#(initialize the parameters if necessary)#" , py::arg("tolerance")=static_cast<const Standard_Real>(1.0e-06), py::arg("option1")=static_cast<const Standard_Boolean>(Standard_True), py::arg("option2")=static_cast<const Standard_Boolean>(Standard_True), py::arg("option3")=static_cast<const Standard_Boolean>(Standard_True), py::arg("option4")=static_cast<const Standard_Boolean>(Standard_False)
)
.def("Load",
(void (BRepBuilderAPI_Sewing::*)( const TopoDS_Shape & ) ) static_cast<void (BRepBuilderAPI_Sewing::*)( const TopoDS_Shape & ) >(&BRepBuilderAPI_Sewing::Load),
R"#(Loades the context shape.)#" , py::arg("shape")
)
.def("Add",
(void (BRepBuilderAPI_Sewing::*)( const TopoDS_Shape & ) ) static_cast<void (BRepBuilderAPI_Sewing::*)( const TopoDS_Shape & ) >(&BRepBuilderAPI_Sewing::Add),
R"#(Defines the shapes to be sewed or controlled)#" , py::arg("shape")
)
.def("Perform",
(void (BRepBuilderAPI_Sewing::*)( const Message_ProgressRange & ) ) static_cast<void (BRepBuilderAPI_Sewing::*)( const Message_ProgressRange & ) >(&BRepBuilderAPI_Sewing::Perform),
R"#(Computing theProgress - progress indicator of algorithm)#" , py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
)
.def("SetContext",
(void (BRepBuilderAPI_Sewing::*)( const opencascade::handle<BRepTools_ReShape> & ) ) static_cast<void (BRepBuilderAPI_Sewing::*)( const opencascade::handle<BRepTools_ReShape> & ) >(&BRepBuilderAPI_Sewing::SetContext),
R"#(set context)#" , py::arg("theContext")
)
.def("NbFreeEdges",
(Standard_Integer (BRepBuilderAPI_Sewing::*)() const) static_cast<Standard_Integer (BRepBuilderAPI_Sewing::*)() const>(&BRepBuilderAPI_Sewing::NbFreeEdges),
R"#(Gives the number of free edges (edge shared by one face))#"
)
.def("FreeEdge",
(const TopoDS_Edge & (BRepBuilderAPI_Sewing::*)( const Standard_Integer ) const) static_cast<const TopoDS_Edge & (BRepBuilderAPI_Sewing::*)( const Standard_Integer ) const>(&BRepBuilderAPI_Sewing::FreeEdge),
R"#(Gives each free edge)#" , py::arg("index")
)
.def("NbMultipleEdges",
(Standard_Integer (BRepBuilderAPI_Sewing::*)() const) static_cast<Standard_Integer (BRepBuilderAPI_Sewing::*)() const>(&BRepBuilderAPI_Sewing::NbMultipleEdges),
R"#(Gives the number of multiple edges (edge shared by more than two faces))#"
)
.def("MultipleEdge",
(const TopoDS_Edge & (BRepBuilderAPI_Sewing::*)( const Standard_Integer ) const) static_cast<const TopoDS_Edge & (BRepBuilderAPI_Sewing::*)( const Standard_Integer ) const>(&BRepBuilderAPI_Sewing::MultipleEdge),
R"#(Gives each multiple edge)#" , py::arg("index")
)
.def("NbContigousEdges",
(Standard_Integer (BRepBuilderAPI_Sewing::*)() const) static_cast<Standard_Integer (BRepBuilderAPI_Sewing::*)() const>(&BRepBuilderAPI_Sewing::NbContigousEdges),
R"#(Gives the number of contiguous edges (edge shared by two faces))#"
)
.def("ContigousEdge",
(const TopoDS_Edge & (BRepBuilderAPI_Sewing::*)( const Standard_Integer ) const) static_cast<const TopoDS_Edge & (BRepBuilderAPI_Sewing::*)( const Standard_Integer ) const>(&BRepBuilderAPI_Sewing::ContigousEdge),
R"#(Gives each contiguous edge)#" , py::arg("index")
)
.def("ContigousEdgeCouple",
(const TopTools_ListOfShape & (BRepBuilderAPI_Sewing::*)( const Standard_Integer ) const) static_cast<const TopTools_ListOfShape & (BRepBuilderAPI_Sewing::*)( const Standard_Integer ) const>(&BRepBuilderAPI_Sewing::ContigousEdgeCouple),
R"#(Gives the sections (edge) belonging to a contiguous edge)#" , py::arg("index")
)
.def("IsSectionBound",
(Standard_Boolean (BRepBuilderAPI_Sewing::*)( const TopoDS_Edge & ) const) static_cast<Standard_Boolean (BRepBuilderAPI_Sewing::*)( const TopoDS_Edge & ) const>(&BRepBuilderAPI_Sewing::IsSectionBound),
R"#(Indicates if a section is bound (before use SectionToBoundary))#" , py::arg("section")
)
.def("SectionToBoundary",
(const TopoDS_Edge & (BRepBuilderAPI_Sewing::*)( const TopoDS_Edge & ) const) static_cast<const TopoDS_Edge & (BRepBuilderAPI_Sewing::*)( const TopoDS_Edge & ) const>(&BRepBuilderAPI_Sewing::SectionToBoundary),
R"#(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.)#" , py::arg("section")
)
.def("NbDegeneratedShapes",
(Standard_Integer (BRepBuilderAPI_Sewing::*)() const) static_cast<Standard_Integer (BRepBuilderAPI_Sewing::*)() const>(&BRepBuilderAPI_Sewing::NbDegeneratedShapes),
R"#(Gives the number of degenerated shapes)#"
)
.def("DegeneratedShape",
(const TopoDS_Shape & (BRepBuilderAPI_Sewing::*)( const Standard_Integer ) const) static_cast<const TopoDS_Shape & (BRepBuilderAPI_Sewing::*)( const Standard_Integer ) const>(&BRepBuilderAPI_Sewing::DegeneratedShape),
R"#(Gives each degenerated shape)#" , py::arg("index")
)
.def("IsDegenerated",
(Standard_Boolean (BRepBuilderAPI_Sewing::*)( const TopoDS_Shape & ) const) static_cast<Standard_Boolean (BRepBuilderAPI_Sewing::*)( const TopoDS_Shape & ) const>(&BRepBuilderAPI_Sewing::IsDegenerated),
R"#(Indicates if a input shape is degenerated)#" , py::arg("shape")
)
.def("IsModified",
(Standard_Boolean (BRepBuilderAPI_Sewing::*)( const TopoDS_Shape & ) const) static_cast<Standard_Boolean (BRepBuilderAPI_Sewing::*)( const TopoDS_Shape & ) const>(&BRepBuilderAPI_Sewing::IsModified),
R"#(Indicates if a input shape has been modified)#" , py::arg("shape")
)
.def("Modified",
(const TopoDS_Shape & (BRepBuilderAPI_Sewing::*)( const TopoDS_Shape & ) const) static_cast<const TopoDS_Shape & (BRepBuilderAPI_Sewing::*)( const TopoDS_Shape & ) const>(&BRepBuilderAPI_Sewing::Modified),
R"#(Gives a modifieded shape)#" , py::arg("shape")
)
.def("IsModifiedSubShape",
(Standard_Boolean (BRepBuilderAPI_Sewing::*)( const TopoDS_Shape & ) const) static_cast<Standard_Boolean (BRepBuilderAPI_Sewing::*)( const TopoDS_Shape & ) const>(&BRepBuilderAPI_Sewing::IsModifiedSubShape),
R"#(Indicates if a input subshape has been modified)#" , py::arg("shape")
)
.def("ModifiedSubShape",
(TopoDS_Shape (BRepBuilderAPI_Sewing::*)( const TopoDS_Shape & ) const) static_cast<TopoDS_Shape (BRepBuilderAPI_Sewing::*)( const TopoDS_Shape & ) const>(&BRepBuilderAPI_Sewing::ModifiedSubShape),
R"#(Gives a modifieded subshape)#" , py::arg("shape")
)
.def("Dump",
(void (BRepBuilderAPI_Sewing::*)() const) static_cast<void (BRepBuilderAPI_Sewing::*)() const>(&BRepBuilderAPI_Sewing::Dump),
R"#(print the information)#"
)
.def("NbDeletedFaces",
(Standard_Integer (BRepBuilderAPI_Sewing::*)() const) static_cast<Standard_Integer (BRepBuilderAPI_Sewing::*)() const>(&BRepBuilderAPI_Sewing::NbDeletedFaces),
R"#(Gives the number of deleted faces (faces smallest than tolerance))#"
)
.def("DeletedFace",
(const TopoDS_Face & (BRepBuilderAPI_Sewing::*)( const Standard_Integer ) const) static_cast<const TopoDS_Face & (BRepBuilderAPI_Sewing::*)( const Standard_Integer ) const>(&BRepBuilderAPI_Sewing::DeletedFace),
R"#(Gives each deleted face)#" , py::arg("index")
)
.def("WhichFace",
(TopoDS_Face (BRepBuilderAPI_Sewing::*)( const TopoDS_Edge & , const Standard_Integer ) const) static_cast<TopoDS_Face (BRepBuilderAPI_Sewing::*)( const TopoDS_Edge & , const Standard_Integer ) const>(&BRepBuilderAPI_Sewing::WhichFace),
R"#(Gives a modified shape)#" , py::arg("theEdg"), py::arg("index")=static_cast<const Standard_Integer>(1)
)
.def("SameParameterMode",
(Standard_Boolean (BRepBuilderAPI_Sewing::*)() const) static_cast<Standard_Boolean (BRepBuilderAPI_Sewing::*)() const>(&BRepBuilderAPI_Sewing::SameParameterMode),
R"#(Gets same parameter mode.)#"
)
.def("SetSameParameterMode",
(void (BRepBuilderAPI_Sewing::*)( const Standard_Boolean ) ) static_cast<void (BRepBuilderAPI_Sewing::*)( const Standard_Boolean ) >(&BRepBuilderAPI_Sewing::SetSameParameterMode),
R"#(Sets same parameter mode.)#" , py::arg("SameParameterMode")
)
.def("Tolerance",
(Standard_Real (BRepBuilderAPI_Sewing::*)() const) static_cast<Standard_Real (BRepBuilderAPI_Sewing::*)() const>(&BRepBuilderAPI_Sewing::Tolerance),
R"#(Gives set tolerance.)#"
)
.def("SetTolerance",
(void (BRepBuilderAPI_Sewing::*)( const Standard_Real ) ) static_cast<void (BRepBuilderAPI_Sewing::*)( const Standard_Real ) >(&BRepBuilderAPI_Sewing::SetTolerance),
R"#(Sets tolerance)#" , py::arg("theToler")
)
.def("MinTolerance",
(Standard_Real (BRepBuilderAPI_Sewing::*)() const) static_cast<Standard_Real (BRepBuilderAPI_Sewing::*)() const>(&BRepBuilderAPI_Sewing::MinTolerance),
R"#(Gives set min tolerance.)#"
)
.def("SetMinTolerance",
(void (BRepBuilderAPI_Sewing::*)( const Standard_Real ) ) static_cast<void (BRepBuilderAPI_Sewing::*)( const Standard_Real ) >(&BRepBuilderAPI_Sewing::SetMinTolerance),
R"#(Sets min tolerance)#" , py::arg("theMinToler")
)
.def("MaxTolerance",
(Standard_Real (BRepBuilderAPI_Sewing::*)() const) static_cast<Standard_Real (BRepBuilderAPI_Sewing::*)() const>(&BRepBuilderAPI_Sewing::MaxTolerance),
R"#(Gives set max tolerance)#"
)
.def("SetMaxTolerance",
(void (BRepBuilderAPI_Sewing::*)( const Standard_Real ) ) static_cast<void (BRepBuilderAPI_Sewing::*)( const Standard_Real ) >(&BRepBuilderAPI_Sewing::SetMaxTolerance),
R"#(Sets max tolerance.)#" , py::arg("theMaxToler")
)
.def("FaceMode",
(Standard_Boolean (BRepBuilderAPI_Sewing::*)() const) static_cast<Standard_Boolean (BRepBuilderAPI_Sewing::*)() const>(&BRepBuilderAPI_Sewing::FaceMode),
R"#(Returns mode for sewing faces By default - true.)#"
)
.def("SetFaceMode",
(void (BRepBuilderAPI_Sewing::*)( const Standard_Boolean ) ) static_cast<void (BRepBuilderAPI_Sewing::*)( const Standard_Boolean ) >(&BRepBuilderAPI_Sewing::SetFaceMode),
R"#(Sets mode for sewing faces By default - true.)#" , py::arg("theFaceMode")
)
.def("FloatingEdgesMode",
(Standard_Boolean (BRepBuilderAPI_Sewing::*)() const) static_cast<Standard_Boolean (BRepBuilderAPI_Sewing::*)() const>(&BRepBuilderAPI_Sewing::FloatingEdgesMode),
R"#(Returns mode for sewing floating edges By default - false.)#"
)
.def("SetFloatingEdgesMode",
(void (BRepBuilderAPI_Sewing::*)( const Standard_Boolean ) ) static_cast<void (BRepBuilderAPI_Sewing::*)( const Standard_Boolean ) >(&BRepBuilderAPI_Sewing::SetFloatingEdgesMode),
R"#(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.)#" , py::arg("theFloatingEdgesMode")
)
.def("LocalTolerancesMode",
(Standard_Boolean (BRepBuilderAPI_Sewing::*)() const) static_cast<Standard_Boolean (BRepBuilderAPI_Sewing::*)() const>(&BRepBuilderAPI_Sewing::LocalTolerancesMode),
R"#(Returns mode for accounting of local tolerances of edges and vertices during of merging.)#"
)
.def("SetLocalTolerancesMode",
(void (BRepBuilderAPI_Sewing::*)( const Standard_Boolean ) ) static_cast<void (BRepBuilderAPI_Sewing::*)( const Standard_Boolean ) >(&BRepBuilderAPI_Sewing::SetLocalTolerancesMode),
R"#(Sets mode for accounting of local tolerances of edges and vertices during of merging in this case WorkTolerance = myTolerance + tolEdge1+ tolEdg2;)#" , py::arg("theLocalTolerancesMode")
)
.def("SetNonManifoldMode",
(void (BRepBuilderAPI_Sewing::*)( const Standard_Boolean ) ) static_cast<void (BRepBuilderAPI_Sewing::*)( const Standard_Boolean ) >(&BRepBuilderAPI_Sewing::SetNonManifoldMode),
R"#(Sets mode for non-manifold sewing.)#" , py::arg("theNonManifoldMode")
)
.def("NonManifoldMode",
(Standard_Boolean (BRepBuilderAPI_Sewing::*)() const) static_cast<Standard_Boolean (BRepBuilderAPI_Sewing::*)() const>(&BRepBuilderAPI_Sewing::NonManifoldMode),
R"#(Gets mode for non-manifold sewing.)#"
)
.def("SetMaxTolerance",
(void (BRepBuilderAPI_Sewing::*)( const Standard_Real ) ) static_cast<void (BRepBuilderAPI_Sewing::*)( const Standard_Real ) >(&BRepBuilderAPI_Sewing::SetMaxTolerance),
R"#(Sets max tolerance.)#" , py::arg("theMaxToler")
)
.def("MaxTolerance",
(Standard_Real (BRepBuilderAPI_Sewing::*)() const) static_cast<Standard_Real (BRepBuilderAPI_Sewing::*)() const>(&BRepBuilderAPI_Sewing::MaxTolerance),
R"#(Gives set max tolerance)#"
)
.def("Tolerance",
(Standard_Real (BRepBuilderAPI_Sewing::*)() const) static_cast<Standard_Real (BRepBuilderAPI_Sewing::*)() const>(&BRepBuilderAPI_Sewing::Tolerance),
R"#(Gives set tolerance.)#"
)
.def("SetTolerance",
(void (BRepBuilderAPI_Sewing::*)( const Standard_Real ) ) static_cast<void (BRepBuilderAPI_Sewing::*)( const Standard_Real ) >(&BRepBuilderAPI_Sewing::SetTolerance),
R"#(Sets tolerance)#" , py::arg("theToler")
)
.def("SetMinTolerance",
(void (BRepBuilderAPI_Sewing::*)( const Standard_Real ) ) static_cast<void (BRepBuilderAPI_Sewing::*)( const Standard_Real ) >(&BRepBuilderAPI_Sewing::SetMinTolerance),
R"#(Sets min tolerance)#" , py::arg("theMinToler")
)
.def("MinTolerance",
(Standard_Real (BRepBuilderAPI_Sewing::*)() const) static_cast<Standard_Real (BRepBuilderAPI_Sewing::*)() const>(&BRepBuilderAPI_Sewing::MinTolerance),
R"#(Gives set min tolerance.)#"
)
.def("SetFaceMode",
(void (BRepBuilderAPI_Sewing::*)( const Standard_Boolean ) ) static_cast<void (BRepBuilderAPI_Sewing::*)( const Standard_Boolean ) >(&BRepBuilderAPI_Sewing::SetFaceMode),
R"#(Sets mode for sewing faces By default - true.)#" , py::arg("theFaceMode")
)
.def("FaceMode",
(Standard_Boolean (BRepBuilderAPI_Sewing::*)() const) static_cast<Standard_Boolean (BRepBuilderAPI_Sewing::*)() const>(&BRepBuilderAPI_Sewing::FaceMode),
R"#(Returns mode for sewing faces By default - true.)#"
)
.def("SetFloatingEdgesMode",
(void (BRepBuilderAPI_Sewing::*)( const Standard_Boolean ) ) static_cast<void (BRepBuilderAPI_Sewing::*)( const Standard_Boolean ) >(&BRepBuilderAPI_Sewing::SetFloatingEdgesMode),
R"#(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.)#" , py::arg("theFloatingEdgesMode")
)
.def("FloatingEdgesMode",
(Standard_Boolean (BRepBuilderAPI_Sewing::*)() const) static_cast<Standard_Boolean (BRepBuilderAPI_Sewing::*)() const>(&BRepBuilderAPI_Sewing::FloatingEdgesMode),
R"#(Returns mode for sewing floating edges By default - false.)#"
)
.def("SameParameterMode",
(Standard_Boolean (BRepBuilderAPI_Sewing::*)() const) static_cast<Standard_Boolean (BRepBuilderAPI_Sewing::*)() const>(&BRepBuilderAPI_Sewing::SameParameterMode),
R"#(Gets same parameter mode.)#"
)
.def("SetSameParameterMode",
(void (BRepBuilderAPI_Sewing::*)( const Standard_Boolean ) ) static_cast<void (BRepBuilderAPI_Sewing::*)( const Standard_Boolean ) >(&BRepBuilderAPI_Sewing::SetSameParameterMode),
R"#(Sets same parameter mode.)#" , py::arg("SameParameterMode")
)
.def("SetLocalTolerancesMode",
(void (BRepBuilderAPI_Sewing::*)( const Standard_Boolean ) ) static_cast<void (BRepBuilderAPI_Sewing::*)( const Standard_Boolean ) >(&BRepBuilderAPI_Sewing::SetLocalTolerancesMode),
R"#(Sets mode for accounting of local tolerances of edges and vertices during of merging in this case WorkTolerance = myTolerance + tolEdge1+ tolEdg2;)#" , py::arg("theLocalTolerancesMode")
)
.def("LocalTolerancesMode",
(Standard_Boolean (BRepBuilderAPI_Sewing::*)() const) static_cast<Standard_Boolean (BRepBuilderAPI_Sewing::*)() const>(&BRepBuilderAPI_Sewing::LocalTolerancesMode),
R"#(Returns mode for accounting of local tolerances of edges and vertices during of merging.)#"
)
.def("SetNonManifoldMode",
(void (BRepBuilderAPI_Sewing::*)( const Standard_Boolean ) ) static_cast<void (BRepBuilderAPI_Sewing::*)( const Standard_Boolean ) >(&BRepBuilderAPI_Sewing::SetNonManifoldMode),
R"#(Sets mode for non-manifold sewing.)#" , py::arg("theNonManifoldMode")
)
.def("NonManifoldMode",
(Standard_Boolean (BRepBuilderAPI_Sewing::*)() const) static_cast<Standard_Boolean (BRepBuilderAPI_Sewing::*)() const>(&BRepBuilderAPI_Sewing::NonManifoldMode),
R"#(Gets mode for non-manifold sewing.)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&BRepBuilderAPI_Sewing::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&BRepBuilderAPI_Sewing::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("SewedShape",
(const TopoDS_Shape & (BRepBuilderAPI_Sewing::*)() const) static_cast<const TopoDS_Shape & (BRepBuilderAPI_Sewing::*)() const>(&BRepBuilderAPI_Sewing::SewedShape),
R"#(Gives the sewed shape a null shape if nothing constructed may be a face, a shell, a solid or a compound)#"
)
.def("GetContext",
(const opencascade::handle<BRepTools_ReShape> & (BRepBuilderAPI_Sewing::*)() const) static_cast<const opencascade::handle<BRepTools_ReShape> & (BRepBuilderAPI_Sewing::*)() const>(&BRepBuilderAPI_Sewing::GetContext),
R"#(return context)#"
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (BRepBuilderAPI_Sewing::*)() const) static_cast<const opencascade::handle<Standard_Type> & (BRepBuilderAPI_Sewing::*)() const>(&BRepBuilderAPI_Sewing::DynamicType),
R"#(None)#"
)
;
// Class BRepBuilderAPI_VertexInspector from ./opencascade/BRepBuilderAPI_VertexInspector.hxx
klass = m.attr("BRepBuilderAPI_VertexInspector");
// nested enums
static_cast<py::class_<BRepBuilderAPI_VertexInspector , shared_ptr<BRepBuilderAPI_VertexInspector> , NCollection_CellFilter_InspectorXYZ >>(klass)
// constructors
.def(py::init< const Standard_Real >() , py::arg("theTol") )
// custom constructors
// methods
.def("Add",
(void (BRepBuilderAPI_VertexInspector::*)( const gp_XYZ & ) ) static_cast<void (BRepBuilderAPI_VertexInspector::*)( const gp_XYZ & ) >(&BRepBuilderAPI_VertexInspector::Add),
R"#(Keep the points used for comparison)#" , py::arg("thePnt")
)
.def("ClearResList",
(void (BRepBuilderAPI_VertexInspector::*)() ) static_cast<void (BRepBuilderAPI_VertexInspector::*)() >(&BRepBuilderAPI_VertexInspector::ClearResList),
R"#(Clear the list of adjacent points)#"
)
.def("SetCurrent",
(void (BRepBuilderAPI_VertexInspector::*)( const gp_XYZ & ) ) static_cast<void (BRepBuilderAPI_VertexInspector::*)( const gp_XYZ & ) >(&BRepBuilderAPI_VertexInspector::SetCurrent),
R"#(Set current point to search for coincidence)#" , py::arg("theCurPnt")
)
.def("Inspect",
(NCollection_CellFilter_Action (BRepBuilderAPI_VertexInspector::*)( const Standard_Integer ) ) static_cast<NCollection_CellFilter_Action (BRepBuilderAPI_VertexInspector::*)( const Standard_Integer ) >(&BRepBuilderAPI_VertexInspector::Inspect),
R"#(Implementation of inspection method)#" , py::arg("theTarget")
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("ResInd",
(const TColStd_ListOfInteger & (BRepBuilderAPI_VertexInspector::*)() ) static_cast<const TColStd_ListOfInteger & (BRepBuilderAPI_VertexInspector::*)() >(&BRepBuilderAPI_VertexInspector::ResInd),
R"#(Get list of indexes of points adjacent with the current)#"
, py::return_value_policy::reference_internal
)
;
// Class BRepBuilderAPI_MakeShape from ./opencascade/BRepBuilderAPI_MakeShape.hxx
klass = m.attr("BRepBuilderAPI_MakeShape");
// nested enums
static_cast<py::class_<BRepBuilderAPI_MakeShape , shared_ptr<BRepBuilderAPI_MakeShape> , BRepBuilderAPI_Command >>(klass)
// constructors
// custom constructors
// methods
.def("Build",
(void (BRepBuilderAPI_MakeShape::*)( const Message_ProgressRange & ) ) static_cast<void (BRepBuilderAPI_MakeShape::*)( const Message_ProgressRange & ) >(&BRepBuilderAPI_MakeShape::Build),
R"#(This is called by Shape(). It does nothing but may be redefined.)#" , py::arg("theRange")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
)
.def("Generated",
(const TopTools_ListOfShape & (BRepBuilderAPI_MakeShape::*)( const TopoDS_Shape & ) ) static_cast<const TopTools_ListOfShape & (BRepBuilderAPI_MakeShape::*)( const TopoDS_Shape & ) >(&BRepBuilderAPI_MakeShape::Generated),
R"#(Returns the list of shapes generated from the shape <S>.)#" , py::arg("S")
)
.def("Modified",
(const TopTools_ListOfShape & (BRepBuilderAPI_MakeShape::*)( const TopoDS_Shape & ) ) static_cast<const TopTools_ListOfShape & (BRepBuilderAPI_MakeShape::*)( const TopoDS_Shape & ) >(&BRepBuilderAPI_MakeShape::Modified),
R"#(Returns the list of shapes modified from the shape <S>.)#" , py::arg("S")
)
.def("IsDeleted",
(Standard_Boolean (BRepBuilderAPI_MakeShape::*)( const TopoDS_Shape & ) ) static_cast<Standard_Boolean (BRepBuilderAPI_MakeShape::*)( const TopoDS_Shape & ) >(&BRepBuilderAPI_MakeShape::IsDeleted),
R"#(Returns true if the shape S has been deleted.)#" , py::arg("S")
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("Shape",
(const TopoDS_Shape & (BRepBuilderAPI_MakeShape::*)() ) static_cast<const TopoDS_Shape & (BRepBuilderAPI_MakeShape::*)() >(&BRepBuilderAPI_MakeShape::Shape),
R"#(Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built.)#"
)
;
// Class BRepBuilderAPI_MakeEdge from ./opencascade/BRepBuilderAPI_MakeEdge.hxx
klass = m.attr("BRepBuilderAPI_MakeEdge");
// nested enums
static_cast<py::class_<BRepBuilderAPI_MakeEdge , shared_ptr<BRepBuilderAPI_MakeEdge> , BRepBuilderAPI_MakeShape >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const TopoDS_Vertex &,const TopoDS_Vertex & >() , py::arg("V1"), py::arg("V2") )
.def(py::init< const gp_Pnt &,const gp_Pnt & >() , py::arg("P1"), py::arg("P2") )
.def(py::init< const gp_Lin & >() , py::arg("L") )
.def(py::init< const gp_Lin &,const Standard_Real,const Standard_Real >() , py::arg("L"), py::arg("p1"), py::arg("p2") )
.def(py::init< const gp_Lin &,const gp_Pnt &,const gp_Pnt & >() , py::arg("L"), py::arg("P1"), py::arg("P2") )
.def(py::init< const gp_Lin &,const TopoDS_Vertex &,const TopoDS_Vertex & >() , py::arg("L"), py::arg("V1"), py::arg("V2") )
.def(py::init< const gp_Circ & >() , py::arg("L") )
.def(py::init< const gp_Circ &,const Standard_Real,const Standard_Real >() , py::arg("L"), py::arg("p1"), py::arg("p2") )
.def(py::init< const gp_Circ &,const gp_Pnt &,const gp_Pnt & >() , py::arg("L"), py::arg("P1"), py::arg("P2") )
.def(py::init< const gp_Circ &,const TopoDS_Vertex &,const TopoDS_Vertex & >() , py::arg("L"), py::arg("V1"), py::arg("V2") )
.def(py::init< const gp_Elips & >() , py::arg("L") )
.def(py::init< const gp_Elips &,const Standard_Real,const Standard_Real >() , py::arg("L"), py::arg("p1"), py::arg("p2") )
.def(py::init< const gp_Elips &,const gp_Pnt &,const gp_Pnt & >() , py::arg("L"), py::arg("P1"), py::arg("P2") )
.def(py::init< const gp_Elips &,const TopoDS_Vertex &,const TopoDS_Vertex & >() , py::arg("L"), py::arg("V1"), py::arg("V2") )
.def(py::init< const gp_Hypr & >() , py::arg("L") )
.def(py::init< const gp_Hypr &,const Standard_Real,const Standard_Real >() , py::arg("L"), py::arg("p1"), py::arg("p2") )
.def(py::init< const gp_Hypr &,const gp_Pnt &,const gp_Pnt & >() , py::arg("L"), py::arg("P1"), py::arg("P2") )
.def(py::init< const gp_Hypr &,const TopoDS_Vertex &,const TopoDS_Vertex & >() , py::arg("L"), py::arg("V1"), py::arg("V2") )
.def(py::init< const gp_Parab & >() , py::arg("L") )
.def(py::init< const gp_Parab &,const Standard_Real,const Standard_Real >() , py::arg("L"), py::arg("p1"), py::arg("p2") )
.def(py::init< const gp_Parab &,const gp_Pnt &,const gp_Pnt & >() , py::arg("L"), py::arg("P1"), py::arg("P2") )
.def(py::init< const gp_Parab &,const TopoDS_Vertex &,const TopoDS_Vertex & >() , py::arg("L"), py::arg("V1"), py::arg("V2") )
.def(py::init< const opencascade::handle<Geom_Curve> & >() , py::arg("L") )
.def(py::init< const opencascade::handle<Geom_Curve> &,const Standard_Real,const Standard_Real >() , py::arg("L"), py::arg("p1"), py::arg("p2") )
.def(py::init< const opencascade::handle<Geom_Curve> &,const gp_Pnt &,const gp_Pnt & >() , py::arg("L"), py::arg("P1"), py::arg("P2") )
.def(py::init< const opencascade::handle<Geom_Curve> &,const TopoDS_Vertex &,const TopoDS_Vertex & >() , py::arg("L"), py::arg("V1"), py::arg("V2") )
.def(py::init< const opencascade::handle<Geom_Curve> &,const gp_Pnt &,const gp_Pnt &,const Standard_Real,const Standard_Real >() , py::arg("L"), py::arg("P1"), py::arg("P2"), py::arg("p1"), py::arg("p2") )
.def(py::init< const opencascade::handle<Geom_Curve> &,const TopoDS_Vertex &,const TopoDS_Vertex &,const Standard_Real,const Standard_Real >() , py::arg("L"), py::arg("V1"), py::arg("V2"), py::arg("p1"), py::arg("p2") )
.def(py::init< const opencascade::handle<Geom2d_Curve> &,const opencascade::handle<Geom_Surface> & >() , py::arg("L"), py::arg("S") )
.def(py::init< const opencascade::handle<Geom2d_Curve> &,const opencascade::handle<Geom_Surface> &,const Standard_Real,const Standard_Real >() , py::arg("L"), py::arg("S"), py::arg("p1"), py::arg("p2") )
.def(py::init< const opencascade::handle<Geom2d_Curve> &,const opencascade::handle<Geom_Surface> &,const gp_Pnt &,const gp_Pnt & >() , py::arg("L"), py::arg("S"), py::arg("P1"), py::arg("P2") )
.def(py::init< const opencascade::handle<Geom2d_Curve> &,const opencascade::handle<Geom_Surface> &,const TopoDS_Vertex &,const TopoDS_Vertex & >() , py::arg("L"), py::arg("S"), py::arg("V1"), py::arg("V2") )
.def(py::init< const opencascade::handle<Geom2d_Curve> &,const opencascade::handle<Geom_Surface> &,const gp_Pnt &,const gp_Pnt &,const Standard_Real,const Standard_Real >() , py::arg("L"), py::arg("S"), py::arg("P1"), py::arg("P2"), py::arg("p1"), py::arg("p2") )
.def(py::init< const opencascade::handle<Geom2d_Curve> &,const opencascade::handle<Geom_Surface> &,const TopoDS_Vertex &,const TopoDS_Vertex &,const Standard_Real,const Standard_Real >() , py::arg("L"), py::arg("S"), py::arg("V1"), py::arg("V2"), py::arg("p1"), py::arg("p2") )
// custom constructors
// methods
.def("Init",
(void (BRepBuilderAPI_MakeEdge::*)( const opencascade::handle<Geom_Curve> & ) ) static_cast<void (BRepBuilderAPI_MakeEdge::*)( const opencascade::handle<Geom_Curve> & ) >(&BRepBuilderAPI_MakeEdge::Init),
R"#(None)#" , py::arg("C")
)
.def("Init",
(void (BRepBuilderAPI_MakeEdge::*)( const opencascade::handle<Geom_Curve> & , const Standard_Real , const Standard_Real ) ) static_cast<void (BRepBuilderAPI_MakeEdge::*)( const opencascade::handle<Geom_Curve> & , const Standard_Real , const Standard_Real ) >(&BRepBuilderAPI_MakeEdge::Init),
R"#(None)#" , py::arg("C"), py::arg("p1"), py::arg("p2")
)
.def("Init",
(void (BRepBuilderAPI_MakeEdge::*)( const opencascade::handle<Geom_Curve> & , const gp_Pnt & , const gp_Pnt & ) ) static_cast<void (BRepBuilderAPI_MakeEdge::*)( const opencascade::handle<Geom_Curve> & , const gp_Pnt & , const gp_Pnt & ) >(&BRepBuilderAPI_MakeEdge::Init),
R"#(None)#" , py::arg("C"), py::arg("P1"), py::arg("P2")
)
.def("Init",
(void (BRepBuilderAPI_MakeEdge::*)( const opencascade::handle<Geom_Curve> & , const TopoDS_Vertex & , const TopoDS_Vertex & ) ) static_cast<void (BRepBuilderAPI_MakeEdge::*)( const opencascade::handle<Geom_Curve> & , const TopoDS_Vertex & , const TopoDS_Vertex & ) >(&BRepBuilderAPI_MakeEdge::Init),
R"#(None)#" , py::arg("C"), py::arg("V1"), py::arg("V2")
)
.def("Init",
(void (BRepBuilderAPI_MakeEdge::*)( const opencascade::handle<Geom_Curve> & , const gp_Pnt & , const gp_Pnt & , const Standard_Real , const Standard_Real ) ) static_cast<void (BRepBuilderAPI_MakeEdge::*)( const opencascade::handle<Geom_Curve> & , const gp_Pnt & , const gp_Pnt & , const Standard_Real , const Standard_Real ) >(&BRepBuilderAPI_MakeEdge::Init),
R"#(None)#" , py::arg("C"), py::arg("P1"), py::arg("P2"), py::arg("p1"), py::arg("p2")
)
.def("Init",
(void (BRepBuilderAPI_MakeEdge::*)( const opencascade::handle<Geom_Curve> & , const TopoDS_Vertex & , const TopoDS_Vertex & , const Standard_Real , const Standard_Real ) ) static_cast<void (BRepBuilderAPI_MakeEdge::*)( const opencascade::handle<Geom_Curve> & , const TopoDS_Vertex & , const TopoDS_Vertex & , const Standard_Real , const Standard_Real ) >(&BRepBuilderAPI_MakeEdge::Init),
R"#(None)#" , py::arg("C"), py::arg("V1"), py::arg("V2"), py::arg("p1"), py::arg("p2")
)
.def("Init",
(void (BRepBuilderAPI_MakeEdge::*)( const opencascade::handle<Geom2d_Curve> & , const opencascade::handle<Geom_Surface> & ) ) static_cast<void (BRepBuilderAPI_MakeEdge::*)( const opencascade::handle<Geom2d_Curve> & , const opencascade::handle<Geom_Surface> & ) >(&BRepBuilderAPI_MakeEdge::Init),
R"#(None)#" , py::arg("C"), py::arg("S")
)
.def("Init",
(void (BRepBuilderAPI_MakeEdge::*)( const opencascade::handle<Geom2d_Curve> & , const opencascade::handle<Geom_Surface> & , const Standard_Real , const Standard_Real ) ) static_cast<void (BRepBuilderAPI_MakeEdge::*)( const opencascade::handle<Geom2d_Curve> & , const opencascade::handle<Geom_Surface> & , const Standard_Real , const Standard_Real ) >(&BRepBuilderAPI_MakeEdge::Init),
R"#(None)#" , py::arg("C"), py::arg("S"), py::arg("p1"), py::arg("p2")
)
.def("Init",
(void (BRepBuilderAPI_MakeEdge::*)( const opencascade::handle<Geom2d_Curve> & , const opencascade::handle<Geom_Surface> & , const gp_Pnt & , const gp_Pnt & ) ) static_cast<void (BRepBuilderAPI_MakeEdge::*)( const opencascade::handle<Geom2d_Curve> & , const opencascade::handle<Geom_Surface> & , const gp_Pnt & , const gp_Pnt & ) >(&BRepBuilderAPI_MakeEdge::Init),
R"#(None)#" , py::arg("C"), py::arg("S"), py::arg("P1"), py::arg("P2")
)
.def("Init",
(void (BRepBuilderAPI_MakeEdge::*)( const opencascade::handle<Geom2d_Curve> & , const opencascade::handle<Geom_Surface> & , const TopoDS_Vertex & , const TopoDS_Vertex & ) ) static_cast<void (BRepBuilderAPI_MakeEdge::*)( const opencascade::handle<Geom2d_Curve> & , const opencascade::handle<Geom_Surface> & , const TopoDS_Vertex & , const TopoDS_Vertex & ) >(&BRepBuilderAPI_MakeEdge::Init),
R"#(None)#" , py::arg("C"), py::arg("S"), py::arg("V1"), py::arg("V2")
)
.def("Init",
(void (BRepBuilderAPI_MakeEdge::*)( const opencascade::handle<Geom2d_Curve> & , const opencascade::handle<Geom_Surface> & , const gp_Pnt & , const gp_Pnt & , const Standard_Real , const Standard_Real ) ) static_cast<void (BRepBuilderAPI_MakeEdge::*)( const opencascade::handle<Geom2d_Curve> & , const opencascade::handle<Geom_Surface> & , const gp_Pnt & , const gp_Pnt & , const Standard_Real , const Standard_Real ) >(&BRepBuilderAPI_MakeEdge::Init),
R"#(None)#" , py::arg("C"), py::arg("S"), py::arg("P1"), py::arg("P2"), py::arg("p1"), py::arg("p2")
)
.def("Init",
(void (BRepBuilderAPI_MakeEdge::*)( const opencascade::handle<Geom2d_Curve> & , const opencascade::handle<Geom_Surface> & , const TopoDS_Vertex & , const TopoDS_Vertex & , const Standard_Real , const Standard_Real ) ) static_cast<void (BRepBuilderAPI_MakeEdge::*)( const opencascade::handle<Geom2d_Curve> & , const opencascade::handle<Geom_Surface> & , const TopoDS_Vertex & , const TopoDS_Vertex & , const Standard_Real , const Standard_Real ) >(&BRepBuilderAPI_MakeEdge::Init),
R"#(Defines or redefines the arguments for the construction of an edge. This function is currently used after the empty constructor BRepAPI_MakeEdge().)#" , py::arg("C"), py::arg("S"), py::arg("V1"), py::arg("V2"), py::arg("p1"), py::arg("p2")
)
.def("IsDone",
(Standard_Boolean (BRepBuilderAPI_MakeEdge::*)() const) static_cast<Standard_Boolean (BRepBuilderAPI_MakeEdge::*)() const>(&BRepBuilderAPI_MakeEdge::IsDone),
R"#(Returns true if the edge is built.)#"
)
.def("Error",
(BRepBuilderAPI_EdgeError (BRepBuilderAPI_MakeEdge::*)() const) static_cast<BRepBuilderAPI_EdgeError (BRepBuilderAPI_MakeEdge::*)() const>(&BRepBuilderAPI_MakeEdge::Error),
R"#(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.)#"
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("Edge",
(const TopoDS_Edge & (BRepBuilderAPI_MakeEdge::*)() ) static_cast<const TopoDS_Edge & (BRepBuilderAPI_MakeEdge::*)() >(&BRepBuilderAPI_MakeEdge::Edge),
R"#(Returns the constructed edge. Exceptions StdFail_NotDone if the edge is not built.)#"
)
.def("Vertex1",
(const TopoDS_Vertex & (BRepBuilderAPI_MakeEdge::*)() const) static_cast<const TopoDS_Vertex & (BRepBuilderAPI_MakeEdge::*)() const>(&BRepBuilderAPI_MakeEdge::Vertex1),
R"#(Returns the first vertex of the edge. May be Null.)#"
)
.def("Vertex2",
(const TopoDS_Vertex & (BRepBuilderAPI_MakeEdge::*)() const) static_cast<const TopoDS_Vertex & (BRepBuilderAPI_MakeEdge::*)() const>(&BRepBuilderAPI_MakeEdge::Vertex2),
R"#(Returns the second vertex of the edge. May be Null.)#"
)
;
// Class BRepBuilderAPI_MakeEdge2d from ./opencascade/BRepBuilderAPI_MakeEdge2d.hxx
klass = m.attr("BRepBuilderAPI_MakeEdge2d");
// nested enums
static_cast<py::class_<BRepBuilderAPI_MakeEdge2d , shared_ptr<BRepBuilderAPI_MakeEdge2d> , BRepBuilderAPI_MakeShape >>(klass)
// constructors
.def(py::init< const TopoDS_Vertex &,const TopoDS_Vertex & >() , py::arg("V1"), py::arg("V2") )
.def(py::init< const gp_Pnt2d &,const gp_Pnt2d & >() , py::arg("P1"), py::arg("P2") )
.def(py::init< const gp_Lin2d & >() , py::arg("L") )
.def(py::init< const gp_Lin2d &,const Standard_Real,const Standard_Real >() , py::arg("L"), py::arg("p1"), py::arg("p2") )
.def(py::init< const gp_Lin2d &,const gp_Pnt2d &,const gp_Pnt2d & >() , py::arg("L"), py::arg("P1"), py::arg("P2") )
.def(py::init< const gp_Lin2d &,const TopoDS_Vertex &,const TopoDS_Vertex & >() , py::arg("L"), py::arg("V1"), py::arg("V2") )
.def(py::init< const gp_Circ2d & >() , py::arg("L") )
.def(py::init< const gp_Circ2d &,const Standard_Real,const Standard_Real >() , py::arg("L"), py::arg("p1"), py::arg("p2") )
.def(py::init< const gp_Circ2d &,const gp_Pnt2d &,const gp_Pnt2d & >() , py::arg("L"), py::arg("P1"), py::arg("P2") )
.def(py::init< const gp_Circ2d &,const TopoDS_Vertex &,const TopoDS_Vertex & >() , py::arg("L"), py::arg("V1"), py::arg("V2") )
.def(py::init< const gp_Elips2d & >() , py::arg("L") )
.def(py::init< const gp_Elips2d &,const Standard_Real,const Standard_Real >() , py::arg("L"), py::arg("p1"), py::arg("p2") )
.def(py::init< const gp_Elips2d &,const gp_Pnt2d &,const gp_Pnt2d & >() , py::arg("L"), py::arg("P1"), py::arg("P2") )
.def(py::init< const gp_Elips2d &,const TopoDS_Vertex &,const TopoDS_Vertex & >() , py::arg("L"), py::arg("V1"), py::arg("V2") )
.def(py::init< const gp_Hypr2d & >() , py::arg("L") )
.def(py::init< const gp_Hypr2d &,const Standard_Real,const Standard_Real >() , py::arg("L"), py::arg("p1"), py::arg("p2") )
.def(py::init< const gp_Hypr2d &,const gp_Pnt2d &,const gp_Pnt2d & >() , py::arg("L"), py::arg("P1"), py::arg("P2") )
.def(py::init< const gp_Hypr2d &,const TopoDS_Vertex &,const TopoDS_Vertex & >() , py::arg("L"), py::arg("V1"), py::arg("V2") )
.def(py::init< const gp_Parab2d & >() , py::arg("L") )
.def(py::init< const gp_Parab2d &,const Standard_Real,const Standard_Real >() , py::arg("L"), py::arg("p1"), py::arg("p2") )
.def(py::init< const gp_Parab2d &,const gp_Pnt2d &,const gp_Pnt2d & >() , py::arg("L"), py::arg("P1"), py::arg("P2") )
.def(py::init< const gp_Parab2d &,const TopoDS_Vertex &,const TopoDS_Vertex & >() , py::arg("L"), py::arg("V1"), py::arg("V2") )
.def(py::init< const opencascade::handle<Geom2d_Curve> & >() , py::arg("L") )
.def(py::init< const opencascade::handle<Geom2d_Curve> &,const Standard_Real,const Standard_Real >() , py::arg("L"), py::arg("p1"), py::arg("p2") )
.def(py::init< const opencascade::handle<Geom2d_Curve> &,const gp_Pnt2d &,const gp_Pnt2d & >() , py::arg("L"), py::arg("P1"), py::arg("P2") )
.def(py::init< const opencascade::handle<Geom2d_Curve> &,const TopoDS_Vertex &,const TopoDS_Vertex & >() , py::arg("L"), py::arg("V1"), py::arg("V2") )
.def(py::init< const opencascade::handle<Geom2d_Curve> &,const gp_Pnt2d &,const gp_Pnt2d &,const Standard_Real,const Standard_Real >() , py::arg("L"), py::arg("P1"), py::arg("P2"), py::arg("p1"), py::arg("p2") )
.def(py::init< const opencascade::handle<Geom2d_Curve> &,const TopoDS_Vertex &,const TopoDS_Vertex &,const Standard_Real,const Standard_Real >() , py::arg("L"), py::arg("V1"), py::arg("V2"), py::arg("p1"), py::arg("p2") )
// custom constructors
// methods
.def("Init",
(void (BRepBuilderAPI_MakeEdge2d::*)( const opencascade::handle<Geom2d_Curve> & ) ) static_cast<void (BRepBuilderAPI_MakeEdge2d::*)( const opencascade::handle<Geom2d_Curve> & ) >(&BRepBuilderAPI_MakeEdge2d::Init),
R"#(None)#" , py::arg("C")
)
.def("Init",
(void (BRepBuilderAPI_MakeEdge2d::*)( const opencascade::handle<Geom2d_Curve> & , const Standard_Real , const Standard_Real ) ) static_cast<void (BRepBuilderAPI_MakeEdge2d::*)( const opencascade::handle<Geom2d_Curve> & , const Standard_Real , const Standard_Real ) >(&BRepBuilderAPI_MakeEdge2d::Init),
R"#(None)#" , py::arg("C"), py::arg("p1"), py::arg("p2")
)
.def("Init",
(void (BRepBuilderAPI_MakeEdge2d::*)( const opencascade::handle<Geom2d_Curve> & , const gp_Pnt2d & , const gp_Pnt2d & ) ) static_cast<void (BRepBuilderAPI_MakeEdge2d::*)( const opencascade::handle<Geom2d_Curve> & , const gp_Pnt2d & , const gp_Pnt2d & ) >(&BRepBuilderAPI_MakeEdge2d::Init),
R"#(None)#" , py::arg("C"), py::arg("P1"), py::arg("P2")
)
.def("Init",
(void (BRepBuilderAPI_MakeEdge2d::*)( const opencascade::handle<Geom2d_Curve> & , const TopoDS_Vertex & , const TopoDS_Vertex & ) ) static_cast<void (BRepBuilderAPI_MakeEdge2d::*)( const opencascade::handle<Geom2d_Curve> & , const TopoDS_Vertex & , const TopoDS_Vertex & ) >(&BRepBuilderAPI_MakeEdge2d::Init),
R"#(None)#" , py::arg("C"), py::arg("V1"), py::arg("V2")
)
.def("Init",
(void (BRepBuilderAPI_MakeEdge2d::*)( const opencascade::handle<Geom2d_Curve> & , const gp_Pnt2d & , const gp_Pnt2d & , const Standard_Real , const Standard_Real ) ) static_cast<void (BRepBuilderAPI_MakeEdge2d::*)( const opencascade::handle<Geom2d_Curve> & , const gp_Pnt2d & , const gp_Pnt2d & , const Standard_Real , const Standard_Real ) >(&BRepBuilderAPI_MakeEdge2d::Init),
R"#(None)#" , py::arg("C"), py::arg("P1"), py::arg("P2"), py::arg("p1"), py::arg("p2")
)
.def("Init",
(void (BRepBuilderAPI_MakeEdge2d::*)( const opencascade::handle<Geom2d_Curve> & , const TopoDS_Vertex & , const TopoDS_Vertex & , const Standard_Real , const Standard_Real ) ) static_cast<void (BRepBuilderAPI_MakeEdge2d::*)( const opencascade::handle<Geom2d_Curve> & , const TopoDS_Vertex & , const TopoDS_Vertex & , const Standard_Real , const Standard_Real ) >(&BRepBuilderAPI_MakeEdge2d::Init),
R"#(None)#" , py::arg("C"), py::arg("V1"), py::arg("V2"), py::arg("p1"), py::arg("p2")
)
.def("IsDone",
(Standard_Boolean (BRepBuilderAPI_MakeEdge2d::*)() const) static_cast<Standard_Boolean (BRepBuilderAPI_MakeEdge2d::*)() const>(&BRepBuilderAPI_MakeEdge2d::IsDone),
R"#(None)#"
)
.def("Error",
(BRepBuilderAPI_EdgeError (BRepBuilderAPI_MakeEdge2d::*)() const) static_cast<BRepBuilderAPI_EdgeError (BRepBuilderAPI_MakeEdge2d::*)() const>(&BRepBuilderAPI_MakeEdge2d::Error),
R"#(Returns the error description when NotDone.)#"
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("Edge",
(const TopoDS_Edge & (BRepBuilderAPI_MakeEdge2d::*)() ) static_cast<const TopoDS_Edge & (BRepBuilderAPI_MakeEdge2d::*)() >(&BRepBuilderAPI_MakeEdge2d::Edge),
R"#(None)#"
)
.def("Vertex1",
(const TopoDS_Vertex & (BRepBuilderAPI_MakeEdge2d::*)() const) static_cast<const TopoDS_Vertex & (BRepBuilderAPI_MakeEdge2d::*)() const>(&BRepBuilderAPI_MakeEdge2d::Vertex1),
R"#(Returns the first vertex of the edge. May be Null.)#"
)
.def("Vertex2",
(const TopoDS_Vertex & (BRepBuilderAPI_MakeEdge2d::*)() const) static_cast<const TopoDS_Vertex & (BRepBuilderAPI_MakeEdge2d::*)() const>(&BRepBuilderAPI_MakeEdge2d::Vertex2),
R"#(Returns the second vertex of the edge. May be Null.)#"
)
;
// Class BRepBuilderAPI_MakeFace from ./opencascade/BRepBuilderAPI_MakeFace.hxx
klass = m.attr("BRepBuilderAPI_MakeFace");
// nested enums
static_cast<py::class_<BRepBuilderAPI_MakeFace , shared_ptr<BRepBuilderAPI_MakeFace> , BRepBuilderAPI_MakeShape >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const TopoDS_Face & >() , py::arg("F") )
.def(py::init< const gp_Pln & >() , py::arg("P") )
.def(py::init< const gp_Cylinder & >() , py::arg("C") )
.def(py::init< const gp_Cone & >() , py::arg("C") )
.def(py::init< const gp_Sphere & >() , py::arg("S") )
.def(py::init< const gp_Torus & >() , py::arg("C") )
.def(py::init< const opencascade::handle<Geom_Surface> &,const Standard_Real >() , py::arg("S"), py::arg("TolDegen") )
.def(py::init< const gp_Pln &,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real >() , py::arg("P"), py::arg("UMin"), py::arg("UMax"), py::arg("VMin"), py::arg("VMax") )
.def(py::init< const gp_Cylinder &,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real >() , py::arg("C"), py::arg("UMin"), py::arg("UMax"), py::arg("VMin"), py::arg("VMax") )
.def(py::init< const gp_Cone &,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real >() , py::arg("C"), py::arg("UMin"), py::arg("UMax"), py::arg("VMin"), py::arg("VMax") )
.def(py::init< const gp_Sphere &,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real >() , py::arg("S"), py::arg("UMin"), py::arg("UMax"), py::arg("VMin"), py::arg("VMax") )
.def(py::init< const gp_Torus &,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real >() , py::arg("C"), py::arg("UMin"), py::arg("UMax"), py::arg("VMin"), py::arg("VMax") )
.def(py::init< const opencascade::handle<Geom_Surface> &,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real >() , py::arg("S"), py::arg("UMin"), py::arg("UMax"), py::arg("VMin"), py::arg("VMax"), py::arg("TolDegen") )
.def(py::init< const TopoDS_Wire &,const Standard_Boolean >() , py::arg("W"), py::arg("OnlyPlane")=static_cast<const Standard_Boolean>(Standard_False) )
.def(py::init< const gp_Pln &,const TopoDS_Wire &,const Standard_Boolean >() , py::arg("P"), py::arg("W"), py::arg("Inside")=static_cast<const Standard_Boolean>(Standard_True) )
.def(py::init< const gp_Cylinder &,const TopoDS_Wire &,const Standard_Boolean >() , py::arg("C"), py::arg("W"), py::arg("Inside")=static_cast<const Standard_Boolean>(Standard_True) )
.def(py::init< const gp_Cone &,const TopoDS_Wire &,const Standard_Boolean >() , py::arg("C"), py::arg("W"), py::arg("Inside")=static_cast<const Standard_Boolean>(Standard_True) )
.def(py::init< const gp_Sphere &,const TopoDS_Wire &,const Standard_Boolean >() , py::arg("S"), py::arg("W"), py::arg("Inside")=static_cast<const Standard_Boolean>(Standard_True) )
.def(py::init< const gp_Torus &,const TopoDS_Wire &,const Standard_Boolean >() , py::arg("C"), py::arg("W"), py::arg("Inside")=static_cast<const Standard_Boolean>(Standard_True) )
.def(py::init< const opencascade::handle<Geom_Surface> &,const TopoDS_Wire &,const Standard_Boolean >() , py::arg("S"), py::arg("W"), py::arg("Inside")=static_cast<const Standard_Boolean>(Standard_True) )
.def(py::init< const TopoDS_Face &,const TopoDS_Wire & >() , py::arg("F"), py::arg("W") )
// custom constructors
// methods
.def("Init",
(void (BRepBuilderAPI_MakeFace::*)( const TopoDS_Face & ) ) static_cast<void (BRepBuilderAPI_MakeFace::*)( const TopoDS_Face & ) >(&BRepBuilderAPI_MakeFace::Init),
R"#(Initializes (or reinitializes) the construction of a face by creating a new object which is a copy of the face F, in order to add wires to it, using the function Add. Note: this complete copy of the geometry is only required if you want to work on the geometries of the two faces independently.)#" , py::arg("F")
)
.def("Init",
(void (BRepBuilderAPI_MakeFace::*)( const opencascade::handle<Geom_Surface> & , const Standard_Boolean , const Standard_Real ) ) static_cast<void (BRepBuilderAPI_MakeFace::*)( const opencascade::handle<Geom_Surface> & , const Standard_Boolean , const Standard_Real ) >(&BRepBuilderAPI_MakeFace::Init),
R"#(Initializes (or reinitializes) the construction of a face on the surface S. If Bound is true, a wire is automatically created from the natural bounds of the surface S and added to the face in order to bound it. If Bound is false, no wire is added. This option is used when real bounds are known. These will be added to the face after this initialization, using the function Add. TolDegen parameter is used for resolution of degenerated edges if calculation of natural bounds is turned on.)#" , py::arg("S"), py::arg("Bound"), py::arg("TolDegen")
)
.def("Init",
(void (BRepBuilderAPI_MakeFace::*)( const opencascade::handle<Geom_Surface> & , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real ) ) static_cast<void (BRepBuilderAPI_MakeFace::*)( const opencascade::handle<Geom_Surface> & , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real ) >(&BRepBuilderAPI_MakeFace::Init),
R"#(Initializes (or reinitializes) the construction of a face on 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 Error returns: - BRepBuilderAPI_ParametersOutOfRange when the parameters given are outside the bounds of the surface or the basis surface of a trimmed surface. TolDegen parameter is used for resolution of degenerated edges.)#" , py::arg("S"), py::arg("UMin"), py::arg("UMax"), py::arg("VMin"), py::arg("VMax"), py::arg("TolDegen")
)
.def("Add",
(void (BRepBuilderAPI_MakeFace::*)( const TopoDS_Wire & ) ) static_cast<void (BRepBuilderAPI_MakeFace::*)( const TopoDS_Wire & ) >(&BRepBuilderAPI_MakeFace::Add),
R"#(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;)#" , py::arg("W")
)
.def("IsDone",
(Standard_Boolean (BRepBuilderAPI_MakeFace::*)() const) static_cast<Standard_Boolean (BRepBuilderAPI_MakeFace::*)() const>(&BRepBuilderAPI_MakeFace::IsDone),
R"#(Returns true if this algorithm has a valid face.)#"
)
.def("Error",
(BRepBuilderAPI_FaceError (BRepBuilderAPI_MakeFace::*)() const) static_cast<BRepBuilderAPI_FaceError (BRepBuilderAPI_MakeFace::*)() const>(&BRepBuilderAPI_MakeFace::Error),
R"#(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.)#"
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("Face",
(const TopoDS_Face & (BRepBuilderAPI_MakeFace::*)() const) static_cast<const TopoDS_Face & (BRepBuilderAPI_MakeFace::*)() const>(&BRepBuilderAPI_MakeFace::Face),
R"#(Returns the constructed face. Exceptions StdFail_NotDone if no face is built.)#"
)
;
// Class BRepBuilderAPI_MakePolygon from ./opencascade/BRepBuilderAPI_MakePolygon.hxx
klass = m.attr("BRepBuilderAPI_MakePolygon");
// nested enums
static_cast<py::class_<BRepBuilderAPI_MakePolygon , shared_ptr<BRepBuilderAPI_MakePolygon> , BRepBuilderAPI_MakeShape >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const gp_Pnt &,const gp_Pnt & >() , py::arg("P1"), py::arg("P2") )
.def(py::init< const gp_Pnt &,const gp_Pnt &,const gp_Pnt &,const Standard_Boolean >() , py::arg("P1"), py::arg("P2"), py::arg("P3"), py::arg("Close")=static_cast<const Standard_Boolean>(Standard_False) )
.def(py::init< const gp_Pnt &,const gp_Pnt &,const gp_Pnt &,const gp_Pnt &,const Standard_Boolean >() , py::arg("P1"), py::arg("P2"), py::arg("P3"), py::arg("P4"), py::arg("Close")=static_cast<const Standard_Boolean>(Standard_False) )
.def(py::init< const TopoDS_Vertex &,const TopoDS_Vertex & >() , py::arg("V1"), py::arg("V2") )
.def(py::init< const TopoDS_Vertex &,const TopoDS_Vertex &,const TopoDS_Vertex &,const Standard_Boolean >() , py::arg("V1"), py::arg("V2"), py::arg("V3"), py::arg("Close")=static_cast<const Standard_Boolean>(Standard_False) )
.def(py::init< const TopoDS_Vertex &,const TopoDS_Vertex &,const TopoDS_Vertex &,const TopoDS_Vertex &,const Standard_Boolean >() , py::arg("V1"), py::arg("V2"), py::arg("V3"), py::arg("V4"), py::arg("Close")=static_cast<const Standard_Boolean>(Standard_False) )
// custom constructors
// methods
.def("Add",
(void (BRepBuilderAPI_MakePolygon::*)( const gp_Pnt & ) ) static_cast<void (BRepBuilderAPI_MakePolygon::*)( const gp_Pnt & ) >(&BRepBuilderAPI_MakePolygon::Add),
R"#(None)#" , py::arg("P")
)
.def("Add",
(void (BRepBuilderAPI_MakePolygon::*)( const TopoDS_Vertex & ) ) static_cast<void (BRepBuilderAPI_MakePolygon::*)( const TopoDS_Vertex & ) >(&BRepBuilderAPI_MakePolygon::Add),
R"#(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.)#" , py::arg("V")
)
.def("Added",
(Standard_Boolean (BRepBuilderAPI_MakePolygon::*)() const) static_cast<Standard_Boolean (BRepBuilderAPI_MakePolygon::*)() const>(&BRepBuilderAPI_MakePolygon::Added),
R"#(Returns true if the last vertex added to the constructed polygonal wire is not coincident with the previous one.)#"
)
.def("Close",
(void (BRepBuilderAPI_MakePolygon::*)() ) static_cast<void (BRepBuilderAPI_MakePolygon::*)() >(&BRepBuilderAPI_MakePolygon::Close),
R"#(Closes the polygonal wire under construction. Note - this is equivalent to adding the first vertex to the polygonal wire under construction.)#"
)
.def("IsDone",
(Standard_Boolean (BRepBuilderAPI_MakePolygon::*)() const) static_cast<Standard_Boolean (BRepBuilderAPI_MakePolygon::*)() const>(&BRepBuilderAPI_MakePolygon::IsDone),
R"#(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.)#"
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("FirstVertex",
(const TopoDS_Vertex & (BRepBuilderAPI_MakePolygon::*)() const) static_cast<const TopoDS_Vertex & (BRepBuilderAPI_MakePolygon::*)() const>(&BRepBuilderAPI_MakePolygon::FirstVertex),
R"#(None)#"
)
.def("LastVertex",
(const TopoDS_Vertex & (BRepBuilderAPI_MakePolygon::*)() const) static_cast<const TopoDS_Vertex & (BRepBuilderAPI_MakePolygon::*)() const>(&BRepBuilderAPI_MakePolygon::LastVertex),
R"#(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("Edge",
(const TopoDS_Edge & (BRepBuilderAPI_MakePolygon::*)() const) static_cast<const TopoDS_Edge & (BRepBuilderAPI_MakePolygon::*)() const>(&BRepBuilderAPI_MakePolygon::Edge),
R"#(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("Wire",
(const TopoDS_Wire & (BRepBuilderAPI_MakePolygon::*)() ) static_cast<const TopoDS_Wire & (BRepBuilderAPI_MakePolygon::*)() >(&BRepBuilderAPI_MakePolygon::Wire),
R"#(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.)#"
)
;
// Class BRepBuilderAPI_MakeShapeOnMesh from ./opencascade/BRepBuilderAPI_MakeShapeOnMesh.hxx
klass = m.attr("BRepBuilderAPI_MakeShapeOnMesh");
// nested enums
static_cast<py::class_<BRepBuilderAPI_MakeShapeOnMesh , shared_ptr<BRepBuilderAPI_MakeShapeOnMesh> , BRepBuilderAPI_MakeShape >>(klass)
// constructors
.def(py::init< const opencascade::handle<Poly_Triangulation> & >() , py::arg("theMesh") )
// custom constructors
// methods
.def("Build",
(void (BRepBuilderAPI_MakeShapeOnMesh::*)( const Message_ProgressRange & ) ) static_cast<void (BRepBuilderAPI_MakeShapeOnMesh::*)( const Message_ProgressRange & ) >(&BRepBuilderAPI_MakeShapeOnMesh::Build),
R"#(Builds shape on mesh.)#" , py::arg("theRange")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class BRepBuilderAPI_MakeShell from ./opencascade/BRepBuilderAPI_MakeShell.hxx
klass = m.attr("BRepBuilderAPI_MakeShell");
// nested enums
static_cast<py::class_<BRepBuilderAPI_MakeShell , shared_ptr<BRepBuilderAPI_MakeShell> , BRepBuilderAPI_MakeShape >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const opencascade::handle<Geom_Surface> &,const Standard_Boolean >() , py::arg("S"), py::arg("Segment")=static_cast<const Standard_Boolean>(Standard_False) )
.def(py::init< const opencascade::handle<Geom_Surface> &,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Boolean >() , py::arg("S"), py::arg("UMin"), py::arg("UMax"), py::arg("VMin"), py::arg("VMax"), py::arg("Segment")=static_cast<const Standard_Boolean>(Standard_False) )
// custom constructors
// methods
.def("Init",
(void (BRepBuilderAPI_MakeShell::*)( const opencascade::handle<Geom_Surface> & , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Boolean ) ) static_cast<void (BRepBuilderAPI_MakeShell::*)( const opencascade::handle<Geom_Surface> & , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Boolean ) >(&BRepBuilderAPI_MakeShell::Init),
R"#(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)#" , py::arg("S"), py::arg("UMin"), py::arg("UMax"), py::arg("VMin"), py::arg("VMax"), py::arg("Segment")=static_cast<const Standard_Boolean>(Standard_False)
)
.def("IsDone",
(Standard_Boolean (BRepBuilderAPI_MakeShell::*)() const) static_cast<Standard_Boolean (BRepBuilderAPI_MakeShell::*)() const>(&BRepBuilderAPI_MakeShell::IsDone),
R"#(Returns true if the shell is built.)#"
)
.def("Error",
(BRepBuilderAPI_ShellError (BRepBuilderAPI_MakeShell::*)() const) static_cast<BRepBuilderAPI_ShellError (BRepBuilderAPI_MakeShell::*)() const>(&BRepBuilderAPI_MakeShell::Error),
R"#(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.)#"
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("Shell",
(const TopoDS_Shell & (BRepBuilderAPI_MakeShell::*)() const) static_cast<const TopoDS_Shell & (BRepBuilderAPI_MakeShell::*)() const>(&BRepBuilderAPI_MakeShell::Shell),
R"#(Returns the new Shell.)#"
)
;
// Class BRepBuilderAPI_MakeSolid from ./opencascade/BRepBuilderAPI_MakeSolid.hxx
klass = m.attr("BRepBuilderAPI_MakeSolid");
// nested enums
static_cast<py::class_<BRepBuilderAPI_MakeSolid , shared_ptr<BRepBuilderAPI_MakeSolid> , BRepBuilderAPI_MakeShape >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const TopoDS_CompSolid & >() , py::arg("S") )
.def(py::init< const TopoDS_Shell & >() , py::arg("S") )
.def(py::init< const TopoDS_Shell &,const TopoDS_Shell & >() , py::arg("S1"), py::arg("S2") )
.def(py::init< const TopoDS_Shell &,const TopoDS_Shell &,const TopoDS_Shell & >() , py::arg("S1"), py::arg("S2"), py::arg("S3") )
.def(py::init< const TopoDS_Solid & >() , py::arg("So") )
.def(py::init< const TopoDS_Solid &,const TopoDS_Shell & >() , py::arg("So"), py::arg("S") )
// custom constructors
// methods
.def("Add",
(void (BRepBuilderAPI_MakeSolid::*)( const TopoDS_Shell & ) ) static_cast<void (BRepBuilderAPI_MakeSolid::*)( const TopoDS_Shell & ) >(&BRepBuilderAPI_MakeSolid::Add),
R"#(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.)#" , py::arg("S")
)
.def("IsDone",
(Standard_Boolean (BRepBuilderAPI_MakeSolid::*)() const) static_cast<Standard_Boolean (BRepBuilderAPI_MakeSolid::*)() const>(&BRepBuilderAPI_MakeSolid::IsDone),
R"#(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("IsDeleted",
(Standard_Boolean (BRepBuilderAPI_MakeSolid::*)( const TopoDS_Shape & ) ) static_cast<Standard_Boolean (BRepBuilderAPI_MakeSolid::*)( const TopoDS_Shape & ) >(&BRepBuilderAPI_MakeSolid::IsDeleted),
R"#(None)#" , py::arg("S")
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("Solid",
(const TopoDS_Solid & (BRepBuilderAPI_MakeSolid::*)() ) static_cast<const TopoDS_Solid & (BRepBuilderAPI_MakeSolid::*)() >(&BRepBuilderAPI_MakeSolid::Solid),
R"#(Returns the new Solid.)#"
)
;
// Class BRepBuilderAPI_MakeVertex from ./opencascade/BRepBuilderAPI_MakeVertex.hxx
klass = m.attr("BRepBuilderAPI_MakeVertex");
// nested enums
static_cast<py::class_<BRepBuilderAPI_MakeVertex , shared_ptr<BRepBuilderAPI_MakeVertex> , BRepBuilderAPI_MakeShape >>(klass)
// constructors
.def(py::init< const gp_Pnt & >() , py::arg("P") )
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("Vertex",
(const TopoDS_Vertex & (BRepBuilderAPI_MakeVertex::*)() ) static_cast<const TopoDS_Vertex & (BRepBuilderAPI_MakeVertex::*)() >(&BRepBuilderAPI_MakeVertex::Vertex),
R"#(Returns the constructed vertex.)#"
)
;
// Class BRepBuilderAPI_MakeWire from ./opencascade/BRepBuilderAPI_MakeWire.hxx
klass = m.attr("BRepBuilderAPI_MakeWire");
// nested enums
static_cast<py::class_<BRepBuilderAPI_MakeWire , shared_ptr<BRepBuilderAPI_MakeWire> , BRepBuilderAPI_MakeShape >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const TopoDS_Edge & >() , py::arg("E") )
.def(py::init< const TopoDS_Edge &,const TopoDS_Edge & >() , py::arg("E1"), py::arg("E2") )
.def(py::init< const TopoDS_Edge &,const TopoDS_Edge &,const TopoDS_Edge & >() , py::arg("E1"), py::arg("E2"), py::arg("E3") )
.def(py::init< const TopoDS_Edge &,const TopoDS_Edge &,const TopoDS_Edge &,const TopoDS_Edge & >() , py::arg("E1"), py::arg("E2"), py::arg("E3"), py::arg("E4") )
.def(py::init< const TopoDS_Wire & >() , py::arg("W") )
.def(py::init< const TopoDS_Wire &,const TopoDS_Edge & >() , py::arg("W"), py::arg("E") )
// custom constructors
// methods
.def("Add",
(void (BRepBuilderAPI_MakeWire::*)( const TopoDS_Edge & ) ) static_cast<void (BRepBuilderAPI_MakeWire::*)( const TopoDS_Edge & ) >(&BRepBuilderAPI_MakeWire::Add),
R"#(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.)#" , py::arg("E")
)
.def("Add",
(void (BRepBuilderAPI_MakeWire::*)( const TopoDS_Wire & ) ) static_cast<void (BRepBuilderAPI_MakeWire::*)( const TopoDS_Wire & ) >(&BRepBuilderAPI_MakeWire::Add),
R"#(Add the edges of <W> to the current wire.)#" , py::arg("W")
)
.def("Add",
(void (BRepBuilderAPI_MakeWire::*)( const NCollection_List<TopoDS_Shape> & ) ) static_cast<void (BRepBuilderAPI_MakeWire::*)( const NCollection_List<TopoDS_Shape> & ) >(&BRepBuilderAPI_MakeWire::Add),
R"#(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>))#" , py::arg("L")
)
.def("IsDone",
(Standard_Boolean (BRepBuilderAPI_MakeWire::*)() const) static_cast<Standard_Boolean (BRepBuilderAPI_MakeWire::*)() const>(&BRepBuilderAPI_MakeWire::IsDone),
R"#(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("Error",
(BRepBuilderAPI_WireError (BRepBuilderAPI_MakeWire::*)() const) static_cast<BRepBuilderAPI_WireError (BRepBuilderAPI_MakeWire::*)() const>(&BRepBuilderAPI_MakeWire::Error),
R"#(Returns the construction status - BRepBuilderAPI_WireDone if the wire is built, or - another value of the BRepBuilderAPI_WireError enumeration indicating why the construction failed.)#"
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("Wire",
(const TopoDS_Wire & (BRepBuilderAPI_MakeWire::*)() ) static_cast<const TopoDS_Wire & (BRepBuilderAPI_MakeWire::*)() >(&BRepBuilderAPI_MakeWire::Wire),
R"#(Returns the constructed wire; or the part of the wire under construction already built. Exceptions StdFail_NotDone if a wire is not built.)#"
)
.def("Edge",
(const TopoDS_Edge & (BRepBuilderAPI_MakeWire::*)() const) static_cast<const TopoDS_Edge & (BRepBuilderAPI_MakeWire::*)() const>(&BRepBuilderAPI_MakeWire::Edge),
R"#(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("Vertex",
(const TopoDS_Vertex & (BRepBuilderAPI_MakeWire::*)() const) static_cast<const TopoDS_Vertex & (BRepBuilderAPI_MakeWire::*)() const>(&BRepBuilderAPI_MakeWire::Vertex),
R"#(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)#"
)
;
// Class BRepBuilderAPI_ModifyShape from ./opencascade/BRepBuilderAPI_ModifyShape.hxx
klass = m.attr("BRepBuilderAPI_ModifyShape");
// nested enums
static_cast<py::class_<BRepBuilderAPI_ModifyShape , shared_ptr<BRepBuilderAPI_ModifyShape> , BRepBuilderAPI_MakeShape >>(klass)
// constructors
// custom constructors
// methods
.def("Modified",
(const TopTools_ListOfShape & (BRepBuilderAPI_ModifyShape::*)( const TopoDS_Shape & ) ) static_cast<const TopTools_ListOfShape & (BRepBuilderAPI_ModifyShape::*)( const TopoDS_Shape & ) >(&BRepBuilderAPI_ModifyShape::Modified),
R"#(Returns the list of shapes modified from the shape <S>.)#" , py::arg("S")
)
.def("ModifiedShape",
(TopoDS_Shape (BRepBuilderAPI_ModifyShape::*)( const TopoDS_Shape & ) const) static_cast<TopoDS_Shape (BRepBuilderAPI_ModifyShape::*)( const TopoDS_Shape & ) const>(&BRepBuilderAPI_ModifyShape::ModifiedShape),
R"#(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.)#" , py::arg("S")
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class BRepBuilderAPI_Copy from ./opencascade/BRepBuilderAPI_Copy.hxx
klass = m.attr("BRepBuilderAPI_Copy");
// nested enums
static_cast<py::class_<BRepBuilderAPI_Copy , shared_ptr<BRepBuilderAPI_Copy> , BRepBuilderAPI_ModifyShape >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const TopoDS_Shape &,const Standard_Boolean,const Standard_Boolean >() , py::arg("S"), py::arg("copyGeom")=static_cast<const Standard_Boolean>(Standard_True), py::arg("copyMesh")=static_cast<const Standard_Boolean>(Standard_False) )
// custom constructors
// methods
.def("Perform",
(void (BRepBuilderAPI_Copy::*)( const TopoDS_Shape & , const Standard_Boolean , const Standard_Boolean ) ) static_cast<void (BRepBuilderAPI_Copy::*)( const TopoDS_Shape & , const Standard_Boolean , const Standard_Boolean ) >(&BRepBuilderAPI_Copy::Perform),
R"#(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.)#" , py::arg("S"), py::arg("copyGeom")=static_cast<const Standard_Boolean>(Standard_True), py::arg("copyMesh")=static_cast<const Standard_Boolean>(Standard_False)
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class BRepBuilderAPI_GTransform from ./opencascade/BRepBuilderAPI_GTransform.hxx
klass = m.attr("BRepBuilderAPI_GTransform");
// nested enums
static_cast<py::class_<BRepBuilderAPI_GTransform , shared_ptr<BRepBuilderAPI_GTransform> , BRepBuilderAPI_ModifyShape >>(klass)
// constructors
.def(py::init< const gp_GTrsf & >() , py::arg("T") )
.def(py::init< const TopoDS_Shape &,const gp_GTrsf &,const Standard_Boolean >() , py::arg("S"), py::arg("T"), py::arg("Copy")=static_cast<const Standard_Boolean>(Standard_False) )
// custom constructors
// methods
.def("Perform",
(void (BRepBuilderAPI_GTransform::*)( const TopoDS_Shape & , const Standard_Boolean ) ) static_cast<void (BRepBuilderAPI_GTransform::*)( const TopoDS_Shape & , const Standard_Boolean ) >(&BRepBuilderAPI_GTransform::Perform),
R"#(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.)#" , py::arg("S"), py::arg("Copy")=static_cast<const Standard_Boolean>(Standard_False)
)
.def("Modified",
(const TopTools_ListOfShape & (BRepBuilderAPI_GTransform::*)( const TopoDS_Shape & ) ) static_cast<const TopTools_ListOfShape & (BRepBuilderAPI_GTransform::*)( const TopoDS_Shape & ) >(&BRepBuilderAPI_GTransform::Modified),
R"#(Returns the list of shapes modified from the shape <S>.)#" , py::arg("S")
)
.def("ModifiedShape",
(TopoDS_Shape (BRepBuilderAPI_GTransform::*)( const TopoDS_Shape & ) const) static_cast<TopoDS_Shape (BRepBuilderAPI_GTransform::*)( const TopoDS_Shape & ) const>(&BRepBuilderAPI_GTransform::ModifiedShape),
R"#(Returns the modified shape corresponding to <S>.)#" , py::arg("S")
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class BRepBuilderAPI_NurbsConvert from ./opencascade/BRepBuilderAPI_NurbsConvert.hxx
klass = m.attr("BRepBuilderAPI_NurbsConvert");
// nested enums
static_cast<py::class_<BRepBuilderAPI_NurbsConvert , shared_ptr<BRepBuilderAPI_NurbsConvert> , BRepBuilderAPI_ModifyShape >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const TopoDS_Shape &,const Standard_Boolean >() , py::arg("S"), py::arg("Copy")=static_cast<const Standard_Boolean>(Standard_False) )
// custom constructors
// methods
.def("Perform",
(void (BRepBuilderAPI_NurbsConvert::*)( const TopoDS_Shape & , const Standard_Boolean ) ) static_cast<void (BRepBuilderAPI_NurbsConvert::*)( const TopoDS_Shape & , const Standard_Boolean ) >(&BRepBuilderAPI_NurbsConvert::Perform),
R"#(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.)#" , py::arg("S"), py::arg("Copy")=static_cast<const Standard_Boolean>(Standard_False)
)
.def("Modified",
(const TopTools_ListOfShape & (BRepBuilderAPI_NurbsConvert::*)( const TopoDS_Shape & ) ) static_cast<const TopTools_ListOfShape & (BRepBuilderAPI_NurbsConvert::*)( const TopoDS_Shape & ) >(&BRepBuilderAPI_NurbsConvert::Modified),
R"#(Returns the list of shapes modified from the shape <S>.)#" , py::arg("S")
)
.def("ModifiedShape",
(TopoDS_Shape (BRepBuilderAPI_NurbsConvert::*)( const TopoDS_Shape & ) const) static_cast<TopoDS_Shape (BRepBuilderAPI_NurbsConvert::*)( const TopoDS_Shape & ) const>(&BRepBuilderAPI_NurbsConvert::ModifiedShape),
R"#(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.)#" , py::arg("S")
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class BRepBuilderAPI_Transform from ./opencascade/BRepBuilderAPI_Transform.hxx
klass = m.attr("BRepBuilderAPI_Transform");
// nested enums
static_cast<py::class_<BRepBuilderAPI_Transform , shared_ptr<BRepBuilderAPI_Transform> , BRepBuilderAPI_ModifyShape >>(klass)
// constructors
.def(py::init< const gp_Trsf & >() , py::arg("T") )
.def(py::init< const TopoDS_Shape &,const gp_Trsf &,const Standard_Boolean,const Standard_Boolean >() , py::arg("theShape"), py::arg("theTrsf"), py::arg("theCopyGeom")=static_cast<const Standard_Boolean>(Standard_False), py::arg("theCopyMesh")=static_cast<const Standard_Boolean>(Standard_False) )
// custom constructors
// methods
.def("Perform",
(void (BRepBuilderAPI_Transform::*)( const TopoDS_Shape & , const Standard_Boolean , const Standard_Boolean ) ) static_cast<void (BRepBuilderAPI_Transform::*)( const TopoDS_Shape & , const Standard_Boolean , const Standard_Boolean ) >(&BRepBuilderAPI_Transform::Perform),
R"#(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.)#" , py::arg("theShape"), py::arg("theCopyGeom")=static_cast<const Standard_Boolean>(Standard_False), py::arg("theCopyMesh")=static_cast<const Standard_Boolean>(Standard_False)
)
.def("ModifiedShape",
(TopoDS_Shape (BRepBuilderAPI_Transform::*)( const TopoDS_Shape & ) const) static_cast<TopoDS_Shape (BRepBuilderAPI_Transform::*)( const TopoDS_Shape & ) const>(&BRepBuilderAPI_Transform::ModifiedShape),
R"#(Returns the modified shape corresponding to <S>.)#" , py::arg("S")
)
.def("Modified",
(const TopTools_ListOfShape & (BRepBuilderAPI_Transform::*)( const TopoDS_Shape & ) ) static_cast<const TopTools_ListOfShape & (BRepBuilderAPI_Transform::*)( const TopoDS_Shape & ) >(&BRepBuilderAPI_Transform::Modified),
R"#(Returns the list of shapes modified from the shape <S>.)#" , py::arg("S")
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// functions
// ./opencascade/BRepBuilderAPI.hxx
// ./opencascade/BRepBuilderAPI_BndBoxTreeSelector.hxx
// ./opencascade/BRepBuilderAPI_CellFilter.hxx
// ./opencascade/BRepBuilderAPI_Collect.hxx
// ./opencascade/BRepBuilderAPI_Command.hxx
// ./opencascade/BRepBuilderAPI_Copy.hxx
// ./opencascade/BRepBuilderAPI_EdgeError.hxx
// ./opencascade/BRepBuilderAPI_FaceError.hxx
// ./opencascade/BRepBuilderAPI_FastSewing.hxx
// ./opencascade/BRepBuilderAPI_FindPlane.hxx
// ./opencascade/BRepBuilderAPI_GTransform.hxx
// ./opencascade/BRepBuilderAPI_MakeEdge.hxx
// ./opencascade/BRepBuilderAPI_MakeEdge2d.hxx
// ./opencascade/BRepBuilderAPI_MakeFace.hxx
// ./opencascade/BRepBuilderAPI_MakePolygon.hxx
// ./opencascade/BRepBuilderAPI_MakeShape.hxx
// ./opencascade/BRepBuilderAPI_MakeShapeOnMesh.hxx
// ./opencascade/BRepBuilderAPI_MakeShell.hxx
// ./opencascade/BRepBuilderAPI_MakeSolid.hxx
// ./opencascade/BRepBuilderAPI_MakeVertex.hxx
// ./opencascade/BRepBuilderAPI_MakeWire.hxx
// ./opencascade/BRepBuilderAPI_ModifyShape.hxx
// ./opencascade/BRepBuilderAPI_NurbsConvert.hxx
// ./opencascade/BRepBuilderAPI_PipeError.hxx
// ./opencascade/BRepBuilderAPI_Sewing.hxx
// ./opencascade/BRepBuilderAPI_ShapeModification.hxx
// ./opencascade/BRepBuilderAPI_ShellError.hxx
// ./opencascade/BRepBuilderAPI_Transform.hxx
// ./opencascade/BRepBuilderAPI_TransitionMode.hxx
// ./opencascade/BRepBuilderAPI_VertexInspector.hxx
// ./opencascade/BRepBuilderAPI_WireError.hxx
// Additional functions
// operators
// register typdefs
register_template_NCollection_Vector<gp_XYZ>(m,"VectorOfPoint");
// exceptions
// user-defined post-inclusion per module in the body
};
// user-defined post-inclusion per module
// user-defined post
|