File: BRepLib.cpp

package info (click to toggle)
python-ocp 7.8.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 64,720 kB
  • sloc: cpp: 362,337; pascal: 33; python: 23; makefile: 4
file content (1229 lines) | stat: -rw-r--r-- 86,860 bytes parent folder | download | duplicates (2)
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

// 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 <Geom2d_Curve.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Geom_Plane.hxx>
#include <TopoDS_Solid.hxx>
#include <TopoDS_Face.hxx>
#include <BRepTools_ReShape.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_Surface.hxx>
#include <TopoDS_Shape.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <TopoDS_Vertex.hxx>
#include <TopoDS_Edge.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 <Geom_Curve.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 <TopoDS_Face.hxx>
#include <TopoDS_Edge.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 <TopoDS_Face.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 <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 <TopoDS_Face.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_CurveOnSurface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>

// module includes
#include <BRepLib.hxx>
#include <BRepLib_Command.hxx>
#include <BRepLib_EdgeError.hxx>
#include <BRepLib_FaceError.hxx>
#include <BRepLib_FindSurface.hxx>
#include <BRepLib_FuseEdges.hxx>
#include <BRepLib_MakeEdge.hxx>
#include <BRepLib_MakeEdge2d.hxx>
#include <BRepLib_MakeFace.hxx>
#include <BRepLib_MakePolygon.hxx>
#include <BRepLib_MakeShape.hxx>
#include <BRepLib_MakeShell.hxx>
#include <BRepLib_MakeSolid.hxx>
#include <BRepLib_MakeVertex.hxx>
#include <BRepLib_MakeWire.hxx>
#include <BRepLib_PointCloudShape.hxx>
#include <BRepLib_ShapeModification.hxx>
#include <BRepLib_ShellError.hxx>
#include <BRepLib_ToolTriangulatedShape.hxx>
#include <BRepLib_ValidateEdge.hxx>
#include <BRepLib_WireError.hxx>

// template related includes


// user-defined pre
#include "OCP_specific.inc"

// user-defined inclusion per module

// Module definiiton
void register_BRepLib(py::module &main_module) {


py::module m = static_cast<py::module>(main_module.attr("BRepLib"));
py::object klass;

//Python trampoline classes
    class Py_BRepLib_PointCloudShape : public BRepLib_PointCloudShape{
    public:
        using BRepLib_PointCloudShape::BRepLib_PointCloudShape;


        // public pure virtual


        // protected pure virtual
        void addPoint(const gp_Pnt & thePoint,const gp_Vec & theNorm,const gp_Pnt2d & theUV,const TopoDS_Shape & theFace) override { PYBIND11_OVERLOAD_PURE(void,BRepLib_PointCloudShape,addPoint,thePoint,theNorm,theUV,theFace) };


        // private pure virtual

    };

// classes

    // Class BRepLib from ./opencascade/BRepLib.hxx
    klass = m.attr("BRepLib");

    // default constructor
    register_default_constructor<BRepLib , shared_ptr<BRepLib>>(m,"BRepLib");

    // nested enums

    static_cast<py::class_<BRepLib , shared_ptr<BRepLib>  >>(klass)
    // constructors
    // custom constructors
    // methods
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("Precision_s",
                    (void (*)( const Standard_Real  ) ) static_cast<void (*)( const Standard_Real  ) >(&BRepLib::Precision),
                    R"#(Computes the max distance between edge and its 2d representation on the face. Sets the default precision. The current Precision is returned.)#"  , py::arg("P")
          )
        .def_static("Precision_s",
                    (Standard_Real (*)() ) static_cast<Standard_Real (*)() >(&BRepLib::Precision),
                    R"#(Returns the default precision.)#" 
          )
        .def_static("Plane_s",
                    (void (*)( const opencascade::handle<Geom_Plane> &  ) ) static_cast<void (*)( const opencascade::handle<Geom_Plane> &  ) >(&BRepLib::Plane),
                    R"#(Sets the current plane to P.)#"  , py::arg("P")
          )
        .def_static("Plane_s",
                    (const opencascade::handle<Geom_Plane> & (*)() ) static_cast<const opencascade::handle<Geom_Plane> & (*)() >(&BRepLib::Plane),
                    R"#(Returns the current plane.)#" 
          )
        .def_static("CheckSameRange_s",
                    (Standard_Boolean (*)( const TopoDS_Edge & ,  const Standard_Real  ) ) static_cast<Standard_Boolean (*)( const TopoDS_Edge & ,  const Standard_Real  ) >(&BRepLib::CheckSameRange),
                    R"#(checks if the Edge is same range IGNORING the same range flag of the edge Confusion argument is to compare real numbers idenpendently of any model space tolerance)#"  , py::arg("E"),  py::arg("Confusion")=static_cast<const Standard_Real>(1.0e-12)
          )
        .def_static("SameRange_s",
                    (void (*)( const TopoDS_Edge & ,  const Standard_Real  ) ) static_cast<void (*)( const TopoDS_Edge & ,  const Standard_Real  ) >(&BRepLib::SameRange),
                    R"#(will make all the curve representation have the same range domain for the parameters. This will IGNORE the same range flag value to proceed. If there is a 3D curve there it will the range of that curve. If not the first curve representation encountered in the list will give its range to the all the other curves.)#"  , py::arg("E"),  py::arg("Tolerance")=static_cast<const Standard_Real>(1.0e-5)
          )
        .def_static("BuildCurve3d_s",
                    (Standard_Boolean (*)( const TopoDS_Edge & ,  const Standard_Real ,  const GeomAbs_Shape ,  const Standard_Integer ,  const Standard_Integer  ) ) static_cast<Standard_Boolean (*)( const TopoDS_Edge & ,  const Standard_Real ,  const GeomAbs_Shape ,  const Standard_Integer ,  const Standard_Integer  ) >(&BRepLib::BuildCurve3d),
                    R"#(Computes the 3d curve for the edge <E> if it does not exist. Returns True if the curve was computed or existed. Returns False if there is no planar pcurve or the computation failed. <MaxSegment> >= 30 in approximation)#"  , py::arg("E"),  py::arg("Tolerance")=static_cast<const Standard_Real>(1.0e-5),  py::arg("Continuity")=static_cast<const GeomAbs_Shape>(GeomAbs_C1),  py::arg("MaxDegree")=static_cast<const Standard_Integer>(14),  py::arg("MaxSegment")=static_cast<const Standard_Integer>(0)
          )
        .def_static("BuildCurves3d_s",
                    (Standard_Boolean (*)( const TopoDS_Shape & ,  const Standard_Real ,  const GeomAbs_Shape ,  const Standard_Integer ,  const Standard_Integer  ) ) static_cast<Standard_Boolean (*)( const TopoDS_Shape & ,  const Standard_Real ,  const GeomAbs_Shape ,  const Standard_Integer ,  const Standard_Integer  ) >(&BRepLib::BuildCurves3d),
                    R"#(Computes the 3d curves for all the edges of <S> return False if one of the computation failed. <MaxSegment> >= 30 in approximation)#"  , py::arg("S"),  py::arg("Tolerance"),  py::arg("Continuity")=static_cast<const GeomAbs_Shape>(GeomAbs_C1),  py::arg("MaxDegree")=static_cast<const Standard_Integer>(14),  py::arg("MaxSegment")=static_cast<const Standard_Integer>(0)
          )
        .def_static("BuildCurves3d_s",
                    (Standard_Boolean (*)( const TopoDS_Shape &  ) ) static_cast<Standard_Boolean (*)( const TopoDS_Shape &  ) >(&BRepLib::BuildCurves3d),
                    R"#(Computes the 3d curves for all the edges of <S> return False if one of the computation failed.)#"  , py::arg("S")
          )
        .def_static("BuildPCurveForEdgeOnPlane_s",
                    (void (*)( const TopoDS_Edge & ,  const TopoDS_Face &  ) ) static_cast<void (*)( const TopoDS_Edge & ,  const TopoDS_Face &  ) >(&BRepLib::BuildPCurveForEdgeOnPlane),
                    R"#(Builds pcurve of edge on face if the surface is plane, and updates the edge.)#"  , py::arg("theE"),  py::arg("theF")
          )
        .def_static("UpdateEdgeTol_s",
                    (Standard_Boolean (*)( const TopoDS_Edge & ,  const Standard_Real ,  const Standard_Real  ) ) static_cast<Standard_Boolean (*)( const TopoDS_Edge & ,  const Standard_Real ,  const Standard_Real  ) >(&BRepLib::UpdateEdgeTol),
                    R"#(Checks if the edge has a Tolerance smaller than -- -- -- -- MaxToleranceToCheck if so it will compute the radius of -- the cylindrical pipe surface that MinToleranceRequest is the minimum tolerance before it is useful to start testing. Usually it should be around 10e-5 contains all -- the curve representation of the edge returns True if the Edge tolerance had to be updated)#"  , py::arg("E"),  py::arg("MinToleranceRequest"),  py::arg("MaxToleranceToCheck")
          )
        .def_static("UpdateEdgeTolerance_s",
                    (Standard_Boolean (*)( const TopoDS_Shape & ,  const Standard_Real ,  const Standard_Real  ) ) static_cast<Standard_Boolean (*)( const TopoDS_Shape & ,  const Standard_Real ,  const Standard_Real  ) >(&BRepLib::UpdateEdgeTolerance),
                    R"#(-- Checks all the edges of the shape whose -- -- -- Tolerance is smaller than MaxToleranceToCheck -- Returns True if at least one edge was updated -- MinToleranceRequest is the minimum tolerance before -- it -- is useful to start testing. Usually it should be around -- 10e-5--)#"  , py::arg("S"),  py::arg("MinToleranceRequest"),  py::arg("MaxToleranceToCheck")
          )
        .def_static("SameParameter_s",
                    (void (*)( const TopoDS_Edge & ,  const Standard_Real  ) ) static_cast<void (*)( const TopoDS_Edge & ,  const Standard_Real  ) >(&BRepLib::SameParameter),
                    R"#(Computes new 2d curve(s) for the edge <theEdge> to have the same parameter as the 3d curve. The algorithm is not done if the flag SameParameter was True on the Edge.)#"  , py::arg("theEdge"),  py::arg("Tolerance")=static_cast<const Standard_Real>(1.0e-5)
          )
        .def_static("SameParameter_s",
                    (TopoDS_Edge (*)( const TopoDS_Edge & ,  const Standard_Real ,  Standard_Real & ,  const Standard_Boolean  ) ) static_cast<TopoDS_Edge (*)( const TopoDS_Edge & ,  const Standard_Real ,  Standard_Real & ,  const Standard_Boolean  ) >(&BRepLib::SameParameter),
                    R"#(Computes new 2d curve(s) for the edge <theEdge> to have the same parameter as the 3d curve. The algorithm is not done if the flag SameParameter was True on the Edge. theNewTol is a new tolerance of vertices of the input edge (not applied inside the algorithm, but pre-computed). If IsUseOldEdge is true then the input edge will be modified, otherwise the new copy of input edge will be created. Returns the new edge as a result, can be ignored if IsUseOldEdge is true.)#"  , py::arg("theEdge"),  py::arg("theTolerance"),  py::arg("theNewTol"),  py::arg("IsUseOldEdge")
          )
        .def_static("SameParameter_s",
                    (void (*)( const TopoDS_Shape & ,  const Standard_Real ,  const Standard_Boolean  ) ) static_cast<void (*)( const TopoDS_Shape & ,  const Standard_Real ,  const Standard_Boolean  ) >(&BRepLib::SameParameter),
                    R"#(Computes new 2d curve(s) for all the edges of <S> to have the same parameter as the 3d curve. The algorithm is not done if the flag SameParameter was True on an Edge.)#"  , py::arg("S"),  py::arg("Tolerance")=static_cast<const Standard_Real>(1.0e-5),  py::arg("forced")=static_cast<const Standard_Boolean>(Standard_False)
          )
        .def_static("SameParameter_s",
                    (void (*)( const TopoDS_Shape & ,  BRepTools_ReShape & ,  const Standard_Real ,  const Standard_Boolean  ) ) static_cast<void (*)( const TopoDS_Shape & ,  BRepTools_ReShape & ,  const Standard_Real ,  const Standard_Boolean  ) >(&BRepLib::SameParameter),
                    R"#(Computes new 2d curve(s) for all the edges of <S> to have the same parameter as the 3d curve. The algorithm is not done if the flag SameParameter was True on an Edge. theReshaper is used to record the modifications of input shape <S> to prevent any modifications on the shape itself. Thus the input shape (and its subshapes) will not be modified, instead the reshaper will contain a modified empty-copies of original subshapes as substitutions.)#"  , py::arg("S"),  py::arg("theReshaper"),  py::arg("Tolerance")=static_cast<const Standard_Real>(1.0e-5),  py::arg("forced")=static_cast<const Standard_Boolean>(Standard_False)
          )
        .def_static("UpdateTolerances_s",
                    (void (*)( const TopoDS_Shape & ,  const Standard_Boolean  ) ) static_cast<void (*)( const TopoDS_Shape & ,  const Standard_Boolean  ) >(&BRepLib::UpdateTolerances),
                    R"#(Replaces tolerance of FACE EDGE VERTEX by the tolerance Max of their connected handling shapes. It is not necessary to use this call after SameParameter. (called in))#"  , py::arg("S"),  py::arg("verifyFaceTolerance")=static_cast<const Standard_Boolean>(Standard_False)
          )
        .def_static("UpdateTolerances_s",
                    (void (*)( const TopoDS_Shape & ,  BRepTools_ReShape & ,  const Standard_Boolean  ) ) static_cast<void (*)( const TopoDS_Shape & ,  BRepTools_ReShape & ,  const Standard_Boolean  ) >(&BRepLib::UpdateTolerances),
                    R"#(Replaces tolerance of FACE EDGE VERTEX by the tolerance Max of their connected handling shapes. It is not necessary to use this call after SameParameter. (called in) theReshaper is used to record the modifications of input shape <S> to prevent any modifications on the shape itself. Thus the input shape (and its subshapes) will not be modified, instead the reshaper will contain a modified empty-copies of original subshapes as substitutions.)#"  , py::arg("S"),  py::arg("theReshaper"),  py::arg("verifyFaceTolerance")=static_cast<const Standard_Boolean>(Standard_False)
          )
        .def_static("UpdateInnerTolerances_s",
                    (void (*)( const TopoDS_Shape &  ) ) static_cast<void (*)( const TopoDS_Shape &  ) >(&BRepLib::UpdateInnerTolerances),
                    R"#(Checks tolerances of edges (including inner points) and vertices of a shape and updates them to satisfy "SameParameter" condition)#"  , py::arg("S")
          )
        .def_static("OrientClosedSolid_s",
                    (Standard_Boolean (*)( TopoDS_Solid &  ) ) static_cast<Standard_Boolean (*)( TopoDS_Solid &  ) >(&BRepLib::OrientClosedSolid),
                    R"#(Orients the solid forward and the shell with the orientation to have matter in the solid. Returns False if the solid is unOrientable (open or incoherent))#"  , py::arg("solid")
          )
        .def_static("ContinuityOfFaces_s",
                    (GeomAbs_Shape (*)( const TopoDS_Edge & ,  const TopoDS_Face & ,  const TopoDS_Face & ,  const Standard_Real  ) ) static_cast<GeomAbs_Shape (*)( const TopoDS_Edge & ,  const TopoDS_Face & ,  const TopoDS_Face & ,  const Standard_Real  ) >(&BRepLib::ContinuityOfFaces),
                    R"#(Returns the order of continuity between two faces connected by an edge)#"  , py::arg("theEdge"),  py::arg("theFace1"),  py::arg("theFace2"),  py::arg("theAngleTol")
          )
        .def_static("EncodeRegularity_s",
                    (void (*)( const TopoDS_Shape & ,  const Standard_Real  ) ) static_cast<void (*)( const TopoDS_Shape & ,  const Standard_Real  ) >(&BRepLib::EncodeRegularity),
                    R"#(Encodes the Regularity of edges on a Shape. Warning: <TolAng> is an angular tolerance, expressed in Rad. Warning: If the edges's regularity are coded before, nothing is done.)#"  , py::arg("S"),  py::arg("TolAng")=static_cast<const Standard_Real>(1.0e-10)
          )
        .def_static("EncodeRegularity_s",
                    (void (*)( const TopoDS_Shape & ,   const NCollection_List<TopoDS_Shape> & ,  const Standard_Real  ) ) static_cast<void (*)( const TopoDS_Shape & ,   const NCollection_List<TopoDS_Shape> & ,  const Standard_Real  ) >(&BRepLib::EncodeRegularity),
                    R"#(Encodes the Regularity of edges in list <LE> on the shape <S> Warning: <TolAng> is an angular tolerance, expressed in Rad. Warning: If the edges's regularity are coded before, nothing is done.)#"  , py::arg("S"),  py::arg("LE"),  py::arg("TolAng")=static_cast<const Standard_Real>(1.0e-10)
          )
        .def_static("EncodeRegularity_s",
                    (void (*)( TopoDS_Edge & ,  const TopoDS_Face & ,  const TopoDS_Face & ,  const Standard_Real  ) ) static_cast<void (*)( TopoDS_Edge & ,  const TopoDS_Face & ,  const TopoDS_Face & ,  const Standard_Real  ) >(&BRepLib::EncodeRegularity),
                    R"#(Encodes the Regularity between <F1> and <F2> by <E> Warning: <TolAng> is an angular tolerance, expressed in Rad. Warning: If the edge's regularity is coded before, nothing is done.)#"  , py::arg("E"),  py::arg("F1"),  py::arg("F2"),  py::arg("TolAng")=static_cast<const Standard_Real>(1.0e-10)
          )
        .def_static("SortFaces_s",
                    (void (*)( const TopoDS_Shape & ,  NCollection_List<TopoDS_Shape> &  ) ) static_cast<void (*)( const TopoDS_Shape & ,  NCollection_List<TopoDS_Shape> &  ) >(&BRepLib::SortFaces),
                    R"#(Sorts in LF the Faces of S on the complexity of their surfaces (Plane,Cylinder,Cone,Sphere,Torus,other))#"  , py::arg("S"),  py::arg("LF")
          )
        .def_static("ReverseSortFaces_s",
                    (void (*)( const TopoDS_Shape & ,  NCollection_List<TopoDS_Shape> &  ) ) static_cast<void (*)( const TopoDS_Shape & ,  NCollection_List<TopoDS_Shape> &  ) >(&BRepLib::ReverseSortFaces),
                    R"#(Sorts in LF the Faces of S on the reverse complexity of their surfaces (other,Torus,Sphere,Cone,Cylinder,Plane))#"  , py::arg("S"),  py::arg("LF")
          )
        .def_static("EnsureNormalConsistency_s",
                    (Standard_Boolean (*)( const TopoDS_Shape & ,  const Standard_Real ,  const Standard_Boolean  ) ) static_cast<Standard_Boolean (*)( const TopoDS_Shape & ,  const Standard_Real ,  const Standard_Boolean  ) >(&BRepLib::EnsureNormalConsistency),
                    R"#(Corrects the normals in Poly_Triangulation of faces, in such way that normals at nodes lying along smooth edges have the same value on both adjacent triangulations. Returns TRUE if any correction is done.)#"  , py::arg("S"),  py::arg("theAngTol")=static_cast<const Standard_Real>(0.001),  py::arg("ForceComputeNormals")=static_cast<const Standard_Boolean>(Standard_False)
          )
        .def_static("UpdateDeflection_s",
                    (void (*)( const TopoDS_Shape &  ) ) static_cast<void (*)( const TopoDS_Shape &  ) >(&BRepLib::UpdateDeflection),
                    R"#(Updates value of deflection in Poly_Triangulation of faces by the maximum deviation measured on existing triangulation.)#"  , py::arg("S")
          )
        .def_static("FindValidRange_s",
                    (Standard_Boolean (*)( const Adaptor3d_Curve & ,  const Standard_Real ,  const Standard_Real ,  const gp_Pnt & ,  const Standard_Real ,  const Standard_Real ,  const gp_Pnt & ,  const Standard_Real ,  Standard_Real & ,  Standard_Real &  ) ) static_cast<Standard_Boolean (*)( const Adaptor3d_Curve & ,  const Standard_Real ,  const Standard_Real ,  const gp_Pnt & ,  const Standard_Real ,  const Standard_Real ,  const gp_Pnt & ,  const Standard_Real ,  Standard_Real & ,  Standard_Real &  ) >(&BRepLib::FindValidRange),
                    R"#(For an edge defined by 3d curve and tolerance and vertices defined by points, parameters on curve and tolerances, finds a range of curve between vertices not covered by vertices tolerances. Returns false if there is no such range. Otherwise, sets theFirst and theLast as its bounds.)#"  , py::arg("theCurve"),  py::arg("theTolE"),  py::arg("theParV1"),  py::arg("thePntV1"),  py::arg("theTolV1"),  py::arg("theParV2"),  py::arg("thePntV2"),  py::arg("theTolV2"),  py::arg("theFirst"),  py::arg("theLast")
          )
        .def_static("FindValidRange_s",
                    (Standard_Boolean (*)( const TopoDS_Edge & ,  Standard_Real & ,  Standard_Real &  ) ) static_cast<Standard_Boolean (*)( const TopoDS_Edge & ,  Standard_Real & ,  Standard_Real &  ) >(&BRepLib::FindValidRange),
                    R"#(Finds a range of 3d curve of the edge not covered by vertices tolerances. Returns false if there is no such range. Otherwise, sets theFirst and theLast as its bounds.)#"  , py::arg("theEdge"),  py::arg("theFirst"),  py::arg("theLast")
          )
        .def_static("ExtendFace_s",
                    (void (*)( const TopoDS_Face & ,  const Standard_Real ,  const Standard_Boolean ,  const Standard_Boolean ,  const Standard_Boolean ,  const Standard_Boolean ,  TopoDS_Face &  ) ) static_cast<void (*)( const TopoDS_Face & ,  const Standard_Real ,  const Standard_Boolean ,  const Standard_Boolean ,  const Standard_Boolean ,  const Standard_Boolean ,  TopoDS_Face &  ) >(&BRepLib::ExtendFace),
                    R"#(Enlarges the face on the given value.)#"  , py::arg("theF"),  py::arg("theExtVal"),  py::arg("theExtUMin"),  py::arg("theExtUMax"),  py::arg("theExtVMin"),  py::arg("theExtVMax"),  py::arg("theFExtended")
          )
    // static methods using call by reference i.s.o. return
        .def_static("BuildPCurveForEdgeOnPlane_s",
            [](const TopoDS_Edge & theE,const TopoDS_Face & theF,Geom2d_Curve& aC2D ){
                Standard_Boolean  bToUpdate;
                opencascade::handle<Geom2d_Curve>  aC2D_ptr; aC2D_ptr = &aC2D;

                BRepLib::BuildPCurveForEdgeOnPlane(theE,theF,aC2D_ptr,bToUpdate);
                if ( aC2D_ptr.get() != &aC2D ) copy_if_copy_constructible(aC2D, *aC2D_ptr);

return std::make_tuple(bToUpdate); },
            R"#(Builds pcurve of edge on face if the surface is plane, but does not update the edge. The output are the pcurve and the flag telling that pcurve was built.)#"  , py::arg("theE"),  py::arg("theF"),  py::arg("aC2D")
          )
        .def_static("BoundingVertex_s",
            [](const NCollection_List<TopoDS_Shape> & theLV,gp_Pnt & theNewCenter ){
                Standard_Real  theNewTol;

                BRepLib::BoundingVertex(theLV,theNewCenter,theNewTol);
                
return std::make_tuple(theNewTol); },
            R"#(Calculates the bounding sphere around the set of vertexes from the theLV list. Returns the center (theNewCenter) and the radius (theNewTol) of this sphere. This can be used to construct the new vertex which covers the given set of other vertices.)#"  , py::arg("theLV"),  py::arg("theNewCenter")
          )
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
;

    // Class BRepLib_Command from ./opencascade/BRepLib_Command.hxx
    klass = m.attr("BRepLib_Command");


    // nested enums

    static_cast<py::class_<BRepLib_Command , shared_ptr<BRepLib_Command>  >>(klass)
    // constructors
    // custom constructors
    // methods
        .def("IsDone",
             (Standard_Boolean (BRepLib_Command::*)() const) static_cast<Standard_Boolean (BRepLib_Command::*)() const>(&BRepLib_Command::IsDone),
             R"#(None)#" 
          )
        .def("Check",
             (void (BRepLib_Command::*)() const) static_cast<void (BRepLib_Command::*)() const>(&BRepLib_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
    // properties
    // methods returning by ref wrapped as properties
;

    // Class BRepLib_FindSurface from ./opencascade/BRepLib_FindSurface.hxx
    klass = m.attr("BRepLib_FindSurface");


    // nested enums

    static_cast<py::class_<BRepLib_FindSurface , shared_ptr<BRepLib_FindSurface>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const TopoDS_Shape &,const Standard_Real,const Standard_Boolean,const Standard_Boolean >()  , py::arg("S"),  py::arg("Tol")=static_cast<const Standard_Real>(- 1),  py::arg("OnlyPlane")=static_cast<const Standard_Boolean>(Standard_False),  py::arg("OnlyClosed")=static_cast<const Standard_Boolean>(Standard_False) )
    // custom constructors
    // methods
        .def("Init",
             (void (BRepLib_FindSurface::*)( const TopoDS_Shape & ,  const Standard_Real ,  const Standard_Boolean ,  const Standard_Boolean  ) ) static_cast<void (BRepLib_FindSurface::*)( const TopoDS_Shape & ,  const Standard_Real ,  const Standard_Boolean ,  const Standard_Boolean  ) >(&BRepLib_FindSurface::Init),
             R"#(Computes the Surface from the edges of <S> with the given tolerance. if <OnlyPlane> is true, the computed surface will be a plane. If it is not possible to find a plane, the flag NotDone will be set. If <OnlyClosed> is true, then S should be a wire and the existing surface, on which wire S is not closed in 2D, will be ignored.)#"  , py::arg("S"),  py::arg("Tol")=static_cast<const Standard_Real>(- 1),  py::arg("OnlyPlane")=static_cast<const Standard_Boolean>(Standard_False),  py::arg("OnlyClosed")=static_cast<const Standard_Boolean>(Standard_False)
          )
        .def("Found",
             (Standard_Boolean (BRepLib_FindSurface::*)() const) static_cast<Standard_Boolean (BRepLib_FindSurface::*)() const>(&BRepLib_FindSurface::Found),
             R"#(None)#" 
          )
        .def("Surface",
             (opencascade::handle<Geom_Surface> (BRepLib_FindSurface::*)() const) static_cast<opencascade::handle<Geom_Surface> (BRepLib_FindSurface::*)() const>(&BRepLib_FindSurface::Surface),
             R"#(None)#" 
          )
        .def("Tolerance",
             (Standard_Real (BRepLib_FindSurface::*)() const) static_cast<Standard_Real (BRepLib_FindSurface::*)() const>(&BRepLib_FindSurface::Tolerance),
             R"#(None)#" 
          )
        .def("ToleranceReached",
             (Standard_Real (BRepLib_FindSurface::*)() const) static_cast<Standard_Real (BRepLib_FindSurface::*)() const>(&BRepLib_FindSurface::ToleranceReached),
             R"#(None)#" 
          )
        .def("Existed",
             (Standard_Boolean (BRepLib_FindSurface::*)() const) static_cast<Standard_Boolean (BRepLib_FindSurface::*)() const>(&BRepLib_FindSurface::Existed),
             R"#(None)#" 
          )
        .def("Location",
             (TopLoc_Location (BRepLib_FindSurface::*)() const) static_cast<TopLoc_Location (BRepLib_FindSurface::*)() const>(&BRepLib_FindSurface::Location),
             R"#(None)#" 
          )
    // 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 BRepLib_FuseEdges from ./opencascade/BRepLib_FuseEdges.hxx
    klass = m.attr("BRepLib_FuseEdges");


    // nested enums

    static_cast<py::class_<BRepLib_FuseEdges , shared_ptr<BRepLib_FuseEdges>  >>(klass)
    // constructors
        .def(py::init< const TopoDS_Shape &,const Standard_Boolean >()  , py::arg("theShape"),  py::arg("PerformNow")=static_cast<const Standard_Boolean>(Standard_False) )
    // custom constructors
    // methods
        .def("AvoidEdges",
             (void (BRepLib_FuseEdges::*)(  const NCollection_IndexedMap<TopoDS_Shape, TopTools_ShapeMapHasher> &  ) ) static_cast<void (BRepLib_FuseEdges::*)(  const NCollection_IndexedMap<TopoDS_Shape, TopTools_ShapeMapHasher> &  ) >(&BRepLib_FuseEdges::AvoidEdges),
             R"#(set edges to avoid being fused)#"  , py::arg("theMapEdg")
          )
        .def("SetConcatBSpl",
             (void (BRepLib_FuseEdges::*)( const Standard_Boolean  ) ) static_cast<void (BRepLib_FuseEdges::*)( const Standard_Boolean  ) >(&BRepLib_FuseEdges::SetConcatBSpl),
             R"#(set mode to enable concatenation G1 BSpline edges in one End Modified by IFV 19.04.07)#"  , py::arg("theConcatBSpl")=static_cast<const Standard_Boolean>(Standard_True)
          )
        .def("Edges",
             (void (BRepLib_FuseEdges::*)( NCollection_DataMap<Standard_Integer, TopTools_ListOfShape> &  ) ) static_cast<void (BRepLib_FuseEdges::*)( NCollection_DataMap<Standard_Integer, TopTools_ListOfShape> &  ) >(&BRepLib_FuseEdges::Edges),
             R"#(returns all the list of edges to be fused each list of the map represent a set of connex edges that can be fused.)#"  , py::arg("theMapLstEdg")
          )
        .def("ResultEdges",
             (void (BRepLib_FuseEdges::*)( NCollection_DataMap<Standard_Integer, TopoDS_Shape> &  ) ) static_cast<void (BRepLib_FuseEdges::*)( NCollection_DataMap<Standard_Integer, TopoDS_Shape> &  ) >(&BRepLib_FuseEdges::ResultEdges),
             R"#(returns all the fused edges. each integer entry in the map corresponds to the integer in the DataMapOfIntegerListOfShape we get in method Edges. That is to say, to the list of edges in theMapLstEdg(i) corresponds the resulting edge theMapEdge(i))#"  , py::arg("theMapEdg")
          )
        .def("Faces",
             (void (BRepLib_FuseEdges::*)( NCollection_DataMap<TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher> &  ) ) static_cast<void (BRepLib_FuseEdges::*)( NCollection_DataMap<TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher> &  ) >(&BRepLib_FuseEdges::Faces),
             R"#(returns the map of modified faces.)#"  , py::arg("theMapFac")
          )
        .def("NbVertices",
             (Standard_Integer (BRepLib_FuseEdges::*)() ) static_cast<Standard_Integer (BRepLib_FuseEdges::*)() >(&BRepLib_FuseEdges::NbVertices),
             R"#(returns the number of vertices candidate to be removed)#" 
          )
        .def("Perform",
             (void (BRepLib_FuseEdges::*)() ) static_cast<void (BRepLib_FuseEdges::*)() >(&BRepLib_FuseEdges::Perform),
             R"#(Using map of list of connex edges, fuse each list to one edge and then update myShape)#" 
          )
    // 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",
             (TopoDS_Shape & (BRepLib_FuseEdges::*)() ) static_cast<TopoDS_Shape & (BRepLib_FuseEdges::*)() >(&BRepLib_FuseEdges::Shape),
             R"#(returns myShape modified with the list of internal edges removed from it.)#"
             
             , py::return_value_policy::reference_internal
         )
;

    // Class BRepLib_PointCloudShape from ./opencascade/BRepLib_PointCloudShape.hxx
    klass = m.attr("BRepLib_PointCloudShape");


    // nested enums

    static_cast<py::class_<BRepLib_PointCloudShape , shared_ptr<BRepLib_PointCloudShape> ,Py_BRepLib_PointCloudShape >>(klass)
    // constructors
        .def(py::init< const TopoDS_Shape &,const Standard_Real >()  , py::arg("theShape")=static_cast<const TopoDS_Shape &>(TopoDS_Shape ( )),  py::arg("theTol")=static_cast<const Standard_Real>(Precision :: Confusion ( )) )
    // custom constructors
    // methods
        .def("SetShape",
             (void (BRepLib_PointCloudShape::*)( const TopoDS_Shape &  ) ) static_cast<void (BRepLib_PointCloudShape::*)( const TopoDS_Shape &  ) >(&BRepLib_PointCloudShape::SetShape),
             R"#(Set shape.)#"  , py::arg("theShape")
          )
        .def("Tolerance",
             (Standard_Real (BRepLib_PointCloudShape::*)() const) static_cast<Standard_Real (BRepLib_PointCloudShape::*)() const>(&BRepLib_PointCloudShape::Tolerance),
             R"#(Return tolerance.)#" 
          )
        .def("SetTolerance",
             (void (BRepLib_PointCloudShape::*)( Standard_Real  ) ) static_cast<void (BRepLib_PointCloudShape::*)( Standard_Real  ) >(&BRepLib_PointCloudShape::SetTolerance),
             R"#(Set tolerance.)#"  , py::arg("theTol")
          )
        .def("GetDistance",
             (Standard_Real (BRepLib_PointCloudShape::*)() const) static_cast<Standard_Real (BRepLib_PointCloudShape::*)() const>(&BRepLib_PointCloudShape::GetDistance),
             R"#(Returns value of the distance to define deflection of points from shape along normal to shape; 0.0 by default.)#" 
          )
        .def("SetDistance",
             (void (BRepLib_PointCloudShape::*)( const Standard_Real  ) ) static_cast<void (BRepLib_PointCloudShape::*)( const Standard_Real  ) >(&BRepLib_PointCloudShape::SetDistance),
             R"#(Sets value of the distance to define deflection of points from shape along normal to shape. Negative values of theDist parameter are ignored.)#"  , py::arg("theDist")
          )
        .def("NbPointsByDensity",
             (Standard_Integer (BRepLib_PointCloudShape::*)( const Standard_Real  ) ) static_cast<Standard_Integer (BRepLib_PointCloudShape::*)( const Standard_Real  ) >(&BRepLib_PointCloudShape::NbPointsByDensity),
             R"#(Returns size of the point cloud for specified density.)#"  , py::arg("theDensity")=static_cast<const Standard_Real>(0.0)
          )
        .def("NbPointsByTriangulation",
             (Standard_Integer (BRepLib_PointCloudShape::*)() const) static_cast<Standard_Integer (BRepLib_PointCloudShape::*)() const>(&BRepLib_PointCloudShape::NbPointsByTriangulation),
             R"#(Returns size of the point cloud for using triangulation.)#" 
          )
        .def("GeneratePointsByDensity",
             (Standard_Boolean (BRepLib_PointCloudShape::*)( const Standard_Real  ) ) static_cast<Standard_Boolean (BRepLib_PointCloudShape::*)( const Standard_Real  ) >(&BRepLib_PointCloudShape::GeneratePointsByDensity),
             R"#(Computes points with specified density for initial shape. If parameter Density is equal to 0 then density will be computed automatically by criterion: - 10 points per minimal unreduced face area.)#"  , py::arg("theDensity")=static_cast<const Standard_Real>(0.0)
          )
        .def("GeneratePointsByTriangulation",
             (Standard_Boolean (BRepLib_PointCloudShape::*)() ) static_cast<Standard_Boolean (BRepLib_PointCloudShape::*)() >(&BRepLib_PointCloudShape::GeneratePointsByTriangulation),
             R"#(Get points from triangulation existing in the shape.)#" 
          )
    // 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 & (BRepLib_PointCloudShape::*)() const) static_cast<const TopoDS_Shape & (BRepLib_PointCloudShape::*)() const>(&BRepLib_PointCloudShape::Shape),
             R"#(Return loaded shape.)#"
             
         )
;

    // Class BRepLib_ToolTriangulatedShape from ./opencascade/BRepLib_ToolTriangulatedShape.hxx
    klass = m.attr("BRepLib_ToolTriangulatedShape");

    // default constructor
    register_default_constructor<BRepLib_ToolTriangulatedShape , shared_ptr<BRepLib_ToolTriangulatedShape>>(m,"BRepLib_ToolTriangulatedShape");

    // nested enums

    static_cast<py::class_<BRepLib_ToolTriangulatedShape , shared_ptr<BRepLib_ToolTriangulatedShape>  >>(klass)
    // constructors
    // custom constructors
    // methods
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("ComputeNormals_s",
                    (void (*)( const TopoDS_Face & ,  const opencascade::handle<Poly_Triangulation> &  ) ) static_cast<void (*)( const TopoDS_Face & ,  const opencascade::handle<Poly_Triangulation> &  ) >(&BRepLib_ToolTriangulatedShape::ComputeNormals),
                    R"#(Computes nodal normals for Poly_Triangulation structure using UV coordinates and surface. Does nothing if triangulation already defines normals.)#"  , py::arg("theFace"),  py::arg("theTris")
          )
        .def_static("ComputeNormals_s",
                    (void (*)( const TopoDS_Face & ,  const opencascade::handle<Poly_Triangulation> & ,  Poly_Connect &  ) ) static_cast<void (*)( const TopoDS_Face & ,  const opencascade::handle<Poly_Triangulation> & ,  Poly_Connect &  ) >(&BRepLib_ToolTriangulatedShape::ComputeNormals),
                    R"#(Computes nodal normals for Poly_Triangulation structure using UV coordinates and surface. Does nothing if triangulation already defines normals.)#"  , py::arg("theFace"),  py::arg("theTris"),  py::arg("thePolyConnect")
          )
    // 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 BRepLib_ValidateEdge from ./opencascade/BRepLib_ValidateEdge.hxx
    klass = m.attr("BRepLib_ValidateEdge");


    // nested enums

    static_cast<py::class_<BRepLib_ValidateEdge , shared_ptr<BRepLib_ValidateEdge>  >>(klass)
    // constructors
        .def(py::init< const opencascade::handle<Adaptor3d_Curve>,const opencascade::handle<Adaptor3d_CurveOnSurface>,Standard_Boolean >()  , py::arg("theReferenceCurve"),  py::arg("theOtherCurve"),  py::arg("theSameParameter") )
    // custom constructors
    // methods
        .def("SetExactMethod",
             (void (BRepLib_ValidateEdge::*)( Standard_Boolean  ) ) static_cast<void (BRepLib_ValidateEdge::*)( Standard_Boolean  ) >(&BRepLib_ValidateEdge::SetExactMethod),
             R"#(Sets method to calculate distance: Calculating in finite number of points (if theIsExact is false, faster, but possible not correct result) or exact calculating by using BRepLib_CheckCurveOnSurface class (if theIsExact is true, slowly, but more correctly). Exact method is used only when edge is SameParameter. Default method is calculating in finite number of points)#"  , py::arg("theIsExact")
          )
        .def("IsExactMethod",
             (Standard_Boolean (BRepLib_ValidateEdge::*)() ) static_cast<Standard_Boolean (BRepLib_ValidateEdge::*)() >(&BRepLib_ValidateEdge::IsExactMethod),
             R"#(Returns true if exact method selected)#" 
          )
        .def("SetParallel",
             (void (BRepLib_ValidateEdge::*)( Standard_Boolean  ) ) static_cast<void (BRepLib_ValidateEdge::*)( Standard_Boolean  ) >(&BRepLib_ValidateEdge::SetParallel),
             R"#(Sets parallel flag)#"  , py::arg("theIsMultiThread")
          )
        .def("IsParallel",
             (Standard_Boolean (BRepLib_ValidateEdge::*)() ) static_cast<Standard_Boolean (BRepLib_ValidateEdge::*)() >(&BRepLib_ValidateEdge::IsParallel),
             R"#(Returns true if parallel flag is set)#" 
          )
        .def("SetControlPointsNumber",
             (void (BRepLib_ValidateEdge::*)( Standard_Integer  ) ) static_cast<void (BRepLib_ValidateEdge::*)( Standard_Integer  ) >(&BRepLib_ValidateEdge::SetControlPointsNumber),
             R"#(Set control points number (if you need a value other than 22))#"  , py::arg("theControlPointsNumber")
          )
        .def("SetExitIfToleranceExceeded",
             (void (BRepLib_ValidateEdge::*)( Standard_Real  ) ) static_cast<void (BRepLib_ValidateEdge::*)( Standard_Real  ) >(&BRepLib_ValidateEdge::SetExitIfToleranceExceeded),
             R"#(Sets limit to compute a distance in the Process() function. If the distance greater than theToleranceForChecking the Process() function stopped. Use this in case checking of tolerance for best performcnce. Has no effect in case using exact method.)#"  , py::arg("theToleranceForChecking")
          )
        .def("Process",
             (void (BRepLib_ValidateEdge::*)() ) static_cast<void (BRepLib_ValidateEdge::*)() >(&BRepLib_ValidateEdge::Process),
             R"#(Computes the max distance for the 3d curve <myReferenceCurve> and curve on surface <myOtherCurve>. If the SetExitIfToleranceExceeded() function was called before <myCalculatedDistance> contains first greater than SetExitIfToleranceExceeded() parameter value. In case using exact method always computes real max distance.)#" 
          )
        .def("IsDone",
             (Standard_Boolean (BRepLib_ValidateEdge::*)() const) static_cast<Standard_Boolean (BRepLib_ValidateEdge::*)() const>(&BRepLib_ValidateEdge::IsDone),
             R"#(Returns true if the distance has been found for all points)#" 
          )
        .def("CheckTolerance",
             (Standard_Boolean (BRepLib_ValidateEdge::*)( Standard_Real  ) ) static_cast<Standard_Boolean (BRepLib_ValidateEdge::*)( Standard_Real  ) >(&BRepLib_ValidateEdge::CheckTolerance),
             R"#(Returns true if computed distance is less than <theToleranceToCheck>)#"  , py::arg("theToleranceToCheck")
          )
        .def("GetMaxDistance",
             (Standard_Real (BRepLib_ValidateEdge::*)() ) static_cast<Standard_Real (BRepLib_ValidateEdge::*)() >(&BRepLib_ValidateEdge::GetMaxDistance),
             R"#(Returns max distance)#" 
          )
    // methods using call by reference i.s.o. return
        .def("UpdateTolerance",
             []( BRepLib_ValidateEdge &self   ){
                 Standard_Real  theToleranceToUpdate;

                 self.UpdateTolerance(theToleranceToUpdate);
                 
                 return std::make_tuple(theToleranceToUpdate); },
             R"#(Increase <theToleranceToUpdate> if max distance is greater than <theToleranceToUpdate>)#" 
          )
    // 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 BRepLib_MakeShape from ./opencascade/BRepLib_MakeShape.hxx
    klass = m.attr("BRepLib_MakeShape");


    // nested enums

    static_cast<py::class_<BRepLib_MakeShape , shared_ptr<BRepLib_MakeShape>  , BRepLib_Command >>(klass)
    // constructors
    // custom constructors
    // methods
        .def("Build",
             (void (BRepLib_MakeShape::*)() ) static_cast<void (BRepLib_MakeShape::*)() >(&BRepLib_MakeShape::Build),
             R"#(This is called by Shape(). It does nothing but may be redefined.)#" 
          )
        .def("FaceStatus",
             (BRepLib_ShapeModification (BRepLib_MakeShape::*)( const TopoDS_Face &  ) const) static_cast<BRepLib_ShapeModification (BRepLib_MakeShape::*)( const TopoDS_Face &  ) const>(&BRepLib_MakeShape::FaceStatus),
             R"#(returns the status of the Face after the shape creation.)#"  , py::arg("F")
          )
        .def("HasDescendants",
             (Standard_Boolean (BRepLib_MakeShape::*)( const TopoDS_Face &  ) const) static_cast<Standard_Boolean (BRepLib_MakeShape::*)( const TopoDS_Face &  ) const>(&BRepLib_MakeShape::HasDescendants),
             R"#(Returns True if the Face generates new topology.)#"  , py::arg("F")
          )
        .def("DescendantFaces",
             (const TopTools_ListOfShape & (BRepLib_MakeShape::*)( const TopoDS_Face &  ) ) static_cast<const TopTools_ListOfShape & (BRepLib_MakeShape::*)( const TopoDS_Face &  ) >(&BRepLib_MakeShape::DescendantFaces),
             R"#(returns the list of generated Faces.)#"  , py::arg("F")
          )
        .def("NbSurfaces",
             (Standard_Integer (BRepLib_MakeShape::*)() const) static_cast<Standard_Integer (BRepLib_MakeShape::*)() const>(&BRepLib_MakeShape::NbSurfaces),
             R"#(returns the number of surfaces after the shape creation.)#" 
          )
        .def("NewFaces",
             (const TopTools_ListOfShape & (BRepLib_MakeShape::*)( const Standard_Integer  ) ) static_cast<const TopTools_ListOfShape & (BRepLib_MakeShape::*)( const Standard_Integer  ) >(&BRepLib_MakeShape::NewFaces),
             R"#(Return the faces created for surface I.)#"  , py::arg("I")
          )
        .def("FacesFromEdges",
             (const TopTools_ListOfShape & (BRepLib_MakeShape::*)( const TopoDS_Edge &  ) ) static_cast<const TopTools_ListOfShape & (BRepLib_MakeShape::*)( const TopoDS_Edge &  ) >(&BRepLib_MakeShape::FacesFromEdges),
             R"#(returns a list of the created faces from the edge <E>.)#"  , py::arg("E")
          )
    // 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 & (BRepLib_MakeShape::*)() ) static_cast<const TopoDS_Shape & (BRepLib_MakeShape::*)() >(&BRepLib_MakeShape::Shape),
             R"#(None)#"
             
         )
;

    // Class BRepLib_MakeEdge from ./opencascade/BRepLib_MakeEdge.hxx
    klass = m.attr("BRepLib_MakeEdge");


    // nested enums

    static_cast<py::class_<BRepLib_MakeEdge , shared_ptr<BRepLib_MakeEdge>  , BRepLib_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 (BRepLib_MakeEdge::*)( const opencascade::handle<Geom_Curve> &  ) ) static_cast<void (BRepLib_MakeEdge::*)( const opencascade::handle<Geom_Curve> &  ) >(&BRepLib_MakeEdge::Init),
             R"#(None)#"  , py::arg("C")
          )
        .def("Init",
             (void (BRepLib_MakeEdge::*)( const opencascade::handle<Geom_Curve> & ,  const Standard_Real ,  const Standard_Real  ) ) static_cast<void (BRepLib_MakeEdge::*)( const opencascade::handle<Geom_Curve> & ,  const Standard_Real ,  const Standard_Real  ) >(&BRepLib_MakeEdge::Init),
             R"#(None)#"  , py::arg("C"),  py::arg("p1"),  py::arg("p2")
          )
        .def("Init",
             (void (BRepLib_MakeEdge::*)( const opencascade::handle<Geom_Curve> & ,  const gp_Pnt & ,  const gp_Pnt &  ) ) static_cast<void (BRepLib_MakeEdge::*)( const opencascade::handle<Geom_Curve> & ,  const gp_Pnt & ,  const gp_Pnt &  ) >(&BRepLib_MakeEdge::Init),
             R"#(None)#"  , py::arg("C"),  py::arg("P1"),  py::arg("P2")
          )
        .def("Init",
             (void (BRepLib_MakeEdge::*)( const opencascade::handle<Geom_Curve> & ,  const TopoDS_Vertex & ,  const TopoDS_Vertex &  ) ) static_cast<void (BRepLib_MakeEdge::*)( const opencascade::handle<Geom_Curve> & ,  const TopoDS_Vertex & ,  const TopoDS_Vertex &  ) >(&BRepLib_MakeEdge::Init),
             R"#(None)#"  , py::arg("C"),  py::arg("V1"),  py::arg("V2")
          )
        .def("Init",
             (void (BRepLib_MakeEdge::*)( const opencascade::handle<Geom_Curve> & ,  const gp_Pnt & ,  const gp_Pnt & ,  const Standard_Real ,  const Standard_Real  ) ) static_cast<void (BRepLib_MakeEdge::*)( const opencascade::handle<Geom_Curve> & ,  const gp_Pnt & ,  const gp_Pnt & ,  const Standard_Real ,  const Standard_Real  ) >(&BRepLib_MakeEdge::Init),
             R"#(None)#"  , py::arg("C"),  py::arg("P1"),  py::arg("P2"),  py::arg("p1"),  py::arg("p2")
          )
        .def("Init",
             (void (BRepLib_MakeEdge::*)( const opencascade::handle<Geom_Curve> & ,  const TopoDS_Vertex & ,  const TopoDS_Vertex & ,  const Standard_Real ,  const Standard_Real  ) ) static_cast<void (BRepLib_MakeEdge::*)( const opencascade::handle<Geom_Curve> & ,  const TopoDS_Vertex & ,  const TopoDS_Vertex & ,  const Standard_Real ,  const Standard_Real  ) >(&BRepLib_MakeEdge::Init),
             R"#(None)#"  , py::arg("C"),  py::arg("V1"),  py::arg("V2"),  py::arg("p1"),  py::arg("p2")
          )
        .def("Init",
             (void (BRepLib_MakeEdge::*)( const opencascade::handle<Geom2d_Curve> & ,  const opencascade::handle<Geom_Surface> &  ) ) static_cast<void (BRepLib_MakeEdge::*)( const opencascade::handle<Geom2d_Curve> & ,  const opencascade::handle<Geom_Surface> &  ) >(&BRepLib_MakeEdge::Init),
             R"#(None)#"  , py::arg("C"),  py::arg("S")
          )
        .def("Init",
             (void (BRepLib_MakeEdge::*)( const opencascade::handle<Geom2d_Curve> & ,  const opencascade::handle<Geom_Surface> & ,  const Standard_Real ,  const Standard_Real  ) ) static_cast<void (BRepLib_MakeEdge::*)( const opencascade::handle<Geom2d_Curve> & ,  const opencascade::handle<Geom_Surface> & ,  const Standard_Real ,  const Standard_Real  ) >(&BRepLib_MakeEdge::Init),
             R"#(None)#"  , py::arg("C"),  py::arg("S"),  py::arg("p1"),  py::arg("p2")
          )
        .def("Init",
             (void (BRepLib_MakeEdge::*)( const opencascade::handle<Geom2d_Curve> & ,  const opencascade::handle<Geom_Surface> & ,  const gp_Pnt & ,  const gp_Pnt &  ) ) static_cast<void (BRepLib_MakeEdge::*)( const opencascade::handle<Geom2d_Curve> & ,  const opencascade::handle<Geom_Surface> & ,  const gp_Pnt & ,  const gp_Pnt &  ) >(&BRepLib_MakeEdge::Init),
             R"#(None)#"  , py::arg("C"),  py::arg("S"),  py::arg("P1"),  py::arg("P2")
          )
        .def("Init",
             (void (BRepLib_MakeEdge::*)( const opencascade::handle<Geom2d_Curve> & ,  const opencascade::handle<Geom_Surface> & ,  const TopoDS_Vertex & ,  const TopoDS_Vertex &  ) ) static_cast<void (BRepLib_MakeEdge::*)( const opencascade::handle<Geom2d_Curve> & ,  const opencascade::handle<Geom_Surface> & ,  const TopoDS_Vertex & ,  const TopoDS_Vertex &  ) >(&BRepLib_MakeEdge::Init),
             R"#(None)#"  , py::arg("C"),  py::arg("S"),  py::arg("V1"),  py::arg("V2")
          )
        .def("Init",
             (void (BRepLib_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 (BRepLib_MakeEdge::*)( const opencascade::handle<Geom2d_Curve> & ,  const opencascade::handle<Geom_Surface> & ,  const gp_Pnt & ,  const gp_Pnt & ,  const Standard_Real ,  const Standard_Real  ) >(&BRepLib_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 (BRepLib_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 (BRepLib_MakeEdge::*)( const opencascade::handle<Geom2d_Curve> & ,  const opencascade::handle<Geom_Surface> & ,  const TopoDS_Vertex & ,  const TopoDS_Vertex & ,  const Standard_Real ,  const Standard_Real  ) >(&BRepLib_MakeEdge::Init),
             R"#(None)#"  , py::arg("C"),  py::arg("S"),  py::arg("V1"),  py::arg("V2"),  py::arg("p1"),  py::arg("p2")
          )
        .def("Error",
             (BRepLib_EdgeError (BRepLib_MakeEdge::*)() const) static_cast<BRepLib_EdgeError (BRepLib_MakeEdge::*)() const>(&BRepLib_MakeEdge::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 & (BRepLib_MakeEdge::*)() ) static_cast<const TopoDS_Edge & (BRepLib_MakeEdge::*)() >(&BRepLib_MakeEdge::Edge),
             R"#(None)#"
             
         )
       .def("Vertex1",
             (const TopoDS_Vertex & (BRepLib_MakeEdge::*)() const) static_cast<const TopoDS_Vertex & (BRepLib_MakeEdge::*)() const>(&BRepLib_MakeEdge::Vertex1),
             R"#(Returns the first vertex of the edge. May be Null.)#"
             
         )
       .def("Vertex2",
             (const TopoDS_Vertex & (BRepLib_MakeEdge::*)() const) static_cast<const TopoDS_Vertex & (BRepLib_MakeEdge::*)() const>(&BRepLib_MakeEdge::Vertex2),
             R"#(Returns the second vertex of the edge. May be Null.)#"
             
         )
;

    // Class BRepLib_MakeEdge2d from ./opencascade/BRepLib_MakeEdge2d.hxx
    klass = m.attr("BRepLib_MakeEdge2d");


    // nested enums

    static_cast<py::class_<BRepLib_MakeEdge2d , shared_ptr<BRepLib_MakeEdge2d>  , BRepLib_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 (BRepLib_MakeEdge2d::*)( const opencascade::handle<Geom2d_Curve> &  ) ) static_cast<void (BRepLib_MakeEdge2d::*)( const opencascade::handle<Geom2d_Curve> &  ) >(&BRepLib_MakeEdge2d::Init),
             R"#(None)#"  , py::arg("C")
          )
        .def("Init",
             (void (BRepLib_MakeEdge2d::*)( const opencascade::handle<Geom2d_Curve> & ,  const Standard_Real ,  const Standard_Real  ) ) static_cast<void (BRepLib_MakeEdge2d::*)( const opencascade::handle<Geom2d_Curve> & ,  const Standard_Real ,  const Standard_Real  ) >(&BRepLib_MakeEdge2d::Init),
             R"#(None)#"  , py::arg("C"),  py::arg("p1"),  py::arg("p2")
          )
        .def("Init",
             (void (BRepLib_MakeEdge2d::*)( const opencascade::handle<Geom2d_Curve> & ,  const gp_Pnt2d & ,  const gp_Pnt2d &  ) ) static_cast<void (BRepLib_MakeEdge2d::*)( const opencascade::handle<Geom2d_Curve> & ,  const gp_Pnt2d & ,  const gp_Pnt2d &  ) >(&BRepLib_MakeEdge2d::Init),
             R"#(None)#"  , py::arg("C"),  py::arg("P1"),  py::arg("P2")
          )
        .def("Init",
             (void (BRepLib_MakeEdge2d::*)( const opencascade::handle<Geom2d_Curve> & ,  const TopoDS_Vertex & ,  const TopoDS_Vertex &  ) ) static_cast<void (BRepLib_MakeEdge2d::*)( const opencascade::handle<Geom2d_Curve> & ,  const TopoDS_Vertex & ,  const TopoDS_Vertex &  ) >(&BRepLib_MakeEdge2d::Init),
             R"#(None)#"  , py::arg("C"),  py::arg("V1"),  py::arg("V2")
          )
        .def("Init",
             (void (BRepLib_MakeEdge2d::*)( const opencascade::handle<Geom2d_Curve> & ,  const gp_Pnt2d & ,  const gp_Pnt2d & ,  const Standard_Real ,  const Standard_Real  ) ) static_cast<void (BRepLib_MakeEdge2d::*)( const opencascade::handle<Geom2d_Curve> & ,  const gp_Pnt2d & ,  const gp_Pnt2d & ,  const Standard_Real ,  const Standard_Real  ) >(&BRepLib_MakeEdge2d::Init),
             R"#(None)#"  , py::arg("C"),  py::arg("P1"),  py::arg("P2"),  py::arg("p1"),  py::arg("p2")
          )
        .def("Init",
             (void (BRepLib_MakeEdge2d::*)( const opencascade::handle<Geom2d_Curve> & ,  const TopoDS_Vertex & ,  const TopoDS_Vertex & ,  const Standard_Real ,  const Standard_Real  ) ) static_cast<void (BRepLib_MakeEdge2d::*)( const opencascade::handle<Geom2d_Curve> & ,  const TopoDS_Vertex & ,  const TopoDS_Vertex & ,  const Standard_Real ,  const Standard_Real  ) >(&BRepLib_MakeEdge2d::Init),
             R"#(None)#"  , py::arg("C"),  py::arg("V1"),  py::arg("V2"),  py::arg("p1"),  py::arg("p2")
          )
        .def("Error",
             (BRepLib_EdgeError (BRepLib_MakeEdge2d::*)() const) static_cast<BRepLib_EdgeError (BRepLib_MakeEdge2d::*)() const>(&BRepLib_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 & (BRepLib_MakeEdge2d::*)() ) static_cast<const TopoDS_Edge & (BRepLib_MakeEdge2d::*)() >(&BRepLib_MakeEdge2d::Edge),
             R"#(None)#"
             
         )
       .def("Vertex1",
             (const TopoDS_Vertex & (BRepLib_MakeEdge2d::*)() const) static_cast<const TopoDS_Vertex & (BRepLib_MakeEdge2d::*)() const>(&BRepLib_MakeEdge2d::Vertex1),
             R"#(Returns the first vertex of the edge. May be Null.)#"
             
         )
       .def("Vertex2",
             (const TopoDS_Vertex & (BRepLib_MakeEdge2d::*)() const) static_cast<const TopoDS_Vertex & (BRepLib_MakeEdge2d::*)() const>(&BRepLib_MakeEdge2d::Vertex2),
             R"#(Returns the second vertex of the edge. May be Null.)#"
             
         )
;

    // Class BRepLib_MakeFace from ./opencascade/BRepLib_MakeFace.hxx
    klass = m.attr("BRepLib_MakeFace");


    // nested enums

    static_cast<py::class_<BRepLib_MakeFace , shared_ptr<BRepLib_MakeFace>  , BRepLib_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 (BRepLib_MakeFace::*)( const TopoDS_Face &  ) ) static_cast<void (BRepLib_MakeFace::*)( const TopoDS_Face &  ) >(&BRepLib_MakeFace::Init),
             R"#(Load the face.)#"  , py::arg("F")
          )
        .def("Init",
             (void (BRepLib_MakeFace::*)( const opencascade::handle<Geom_Surface> & ,  const Standard_Boolean ,  const Standard_Real  ) ) static_cast<void (BRepLib_MakeFace::*)( const opencascade::handle<Geom_Surface> & ,  const Standard_Boolean ,  const Standard_Real  ) >(&BRepLib_MakeFace::Init),
             R"#(Creates the face from the surface. If Bound is True a wire is made from the natural bounds. Accepts tolerance value (TolDegen) for resolution of degenerated edges.)#"  , py::arg("S"),  py::arg("Bound"),  py::arg("TolDegen")
          )
        .def("Init",
             (void (BRepLib_MakeFace::*)( const opencascade::handle<Geom_Surface> & ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real  ) ) static_cast<void (BRepLib_MakeFace::*)( const opencascade::handle<Geom_Surface> & ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real  ) >(&BRepLib_MakeFace::Init),
             R"#(Creates the face from the surface and the min-max values. Accepts tolerance value (TolDegen) 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 (BRepLib_MakeFace::*)( const TopoDS_Wire &  ) ) static_cast<void (BRepLib_MakeFace::*)( const TopoDS_Wire &  ) >(&BRepLib_MakeFace::Add),
             R"#(Adds the wire <W> in the current face.)#"  , py::arg("W")
          )
        .def("Error",
             (BRepLib_FaceError (BRepLib_MakeFace::*)() const) static_cast<BRepLib_FaceError (BRepLib_MakeFace::*)() const>(&BRepLib_MakeFace::Error),
             R"#(None)#" 
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("IsDegenerated_s",
                    (Standard_Boolean (*)( const opencascade::handle<Geom_Curve> & ,  const Standard_Real ,  Standard_Real &  ) ) static_cast<Standard_Boolean (*)( const opencascade::handle<Geom_Curve> & ,  const Standard_Real ,  Standard_Real &  ) >(&BRepLib_MakeFace::IsDegenerated),
                    R"#(Checks the specified curve is degenerated according to specified tolerance. Returns <theActTol> less than <theMaxTol>, which shows actual tolerance to decide the curve is degenerated. Warning: For internal use of BRepLib_MakeFace and BRepLib_MakeShell.)#"  , py::arg("theCurve"),  py::arg("theMaxTol"),  py::arg("theActTol")
          )
    // 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 & (BRepLib_MakeFace::*)() const) static_cast<const TopoDS_Face & (BRepLib_MakeFace::*)() const>(&BRepLib_MakeFace::Face),
             R"#(Returns the new face.)#"
             
         )
;

    // Class BRepLib_MakePolygon from ./opencascade/BRepLib_MakePolygon.hxx
    klass = m.attr("BRepLib_MakePolygon");


    // nested enums

    static_cast<py::class_<BRepLib_MakePolygon , shared_ptr<BRepLib_MakePolygon>  , BRepLib_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 (BRepLib_MakePolygon::*)( const gp_Pnt &  ) ) static_cast<void (BRepLib_MakePolygon::*)( const gp_Pnt &  ) >(&BRepLib_MakePolygon::Add),
             R"#(None)#"  , py::arg("P")
          )
        .def("Add",
             (void (BRepLib_MakePolygon::*)( const TopoDS_Vertex &  ) ) static_cast<void (BRepLib_MakePolygon::*)( const TopoDS_Vertex &  ) >(&BRepLib_MakePolygon::Add),
             R"#(None)#"  , py::arg("V")
          )
        .def("Added",
             (Standard_Boolean (BRepLib_MakePolygon::*)() const) static_cast<Standard_Boolean (BRepLib_MakePolygon::*)() const>(&BRepLib_MakePolygon::Added),
             R"#(Returns True if the last vertex or point was successfully added.)#" 
          )
        .def("Close",
             (void (BRepLib_MakePolygon::*)() ) static_cast<void (BRepLib_MakePolygon::*)() >(&BRepLib_MakePolygon::Close),
             R"#(None)#" 
          )
    // 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 & (BRepLib_MakePolygon::*)() const) static_cast<const TopoDS_Vertex & (BRepLib_MakePolygon::*)() const>(&BRepLib_MakePolygon::FirstVertex),
             R"#(None)#"
             
         )
       .def("LastVertex",
             (const TopoDS_Vertex & (BRepLib_MakePolygon::*)() const) static_cast<const TopoDS_Vertex & (BRepLib_MakePolygon::*)() const>(&BRepLib_MakePolygon::LastVertex),
             R"#(None)#"
             
         )
       .def("Edge",
             (const TopoDS_Edge & (BRepLib_MakePolygon::*)() const) static_cast<const TopoDS_Edge & (BRepLib_MakePolygon::*)() const>(&BRepLib_MakePolygon::Edge),
             R"#(Returns the last edge added to the polygon.)#"
             
         )
       .def("Wire",
             (const TopoDS_Wire & (BRepLib_MakePolygon::*)() ) static_cast<const TopoDS_Wire & (BRepLib_MakePolygon::*)() >(&BRepLib_MakePolygon::Wire),
             R"#(None)#"
             
         )
;

    // Class BRepLib_MakeShell from ./opencascade/BRepLib_MakeShell.hxx
    klass = m.attr("BRepLib_MakeShell");


    // nested enums

    static_cast<py::class_<BRepLib_MakeShell , shared_ptr<BRepLib_MakeShell>  , BRepLib_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 (BRepLib_MakeShell::*)( const opencascade::handle<Geom_Surface> & ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real ,  const Standard_Boolean  ) ) static_cast<void (BRepLib_MakeShell::*)( const opencascade::handle<Geom_Surface> & ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real ,  const Standard_Boolean  ) >(&BRepLib_MakeShell::Init),
             R"#(Creates the shell from the surface and the min-max values.)#"  , 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("Error",
             (BRepLib_ShellError (BRepLib_MakeShell::*)() const) static_cast<BRepLib_ShellError (BRepLib_MakeShell::*)() const>(&BRepLib_MakeShell::Error),
             R"#(None)#" 
          )
    // 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 & (BRepLib_MakeShell::*)() const) static_cast<const TopoDS_Shell & (BRepLib_MakeShell::*)() const>(&BRepLib_MakeShell::Shell),
             R"#(Returns the new Shell.)#"
             
         )
;

    // Class BRepLib_MakeSolid from ./opencascade/BRepLib_MakeSolid.hxx
    klass = m.attr("BRepLib_MakeSolid");


    // nested enums

    static_cast<py::class_<BRepLib_MakeSolid , shared_ptr<BRepLib_MakeSolid>  , BRepLib_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 (BRepLib_MakeSolid::*)( const TopoDS_Shell &  ) ) static_cast<void (BRepLib_MakeSolid::*)( const TopoDS_Shell &  ) >(&BRepLib_MakeSolid::Add),
             R"#(Add the shell to the current solid.)#"  , py::arg("S")
          )
        .def("FaceStatus",
             (BRepLib_ShapeModification (BRepLib_MakeSolid::*)( const TopoDS_Face &  ) const) static_cast<BRepLib_ShapeModification (BRepLib_MakeSolid::*)( const TopoDS_Face &  ) const>(&BRepLib_MakeSolid::FaceStatus),
             R"#(returns the status of the Face after the shape creation.)#"  , py::arg("F")
          )
    // 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 & (BRepLib_MakeSolid::*)() ) static_cast<const TopoDS_Solid & (BRepLib_MakeSolid::*)() >(&BRepLib_MakeSolid::Solid),
             R"#(Returns the new Solid.)#"
             
         )
;

    // Class BRepLib_MakeVertex from ./opencascade/BRepLib_MakeVertex.hxx
    klass = m.attr("BRepLib_MakeVertex");


    // nested enums

    static_cast<py::class_<BRepLib_MakeVertex , shared_ptr<BRepLib_MakeVertex>  , BRepLib_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 & (BRepLib_MakeVertex::*)() ) static_cast<const TopoDS_Vertex & (BRepLib_MakeVertex::*)() >(&BRepLib_MakeVertex::Vertex),
             R"#(None)#"
             
         )
;

    // Class BRepLib_MakeWire from ./opencascade/BRepLib_MakeWire.hxx
    klass = m.attr("BRepLib_MakeWire");


    // nested enums

    static_cast<py::class_<BRepLib_MakeWire , shared_ptr<BRepLib_MakeWire>  , BRepLib_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 (BRepLib_MakeWire::*)( const TopoDS_Edge &  ) ) static_cast<void (BRepLib_MakeWire::*)( const TopoDS_Edge &  ) >(&BRepLib_MakeWire::Add),
             R"#(Add the edge <E> to the current wire.)#"  , py::arg("E")
          )
        .def("Add",
             (void (BRepLib_MakeWire::*)( const TopoDS_Wire &  ) ) static_cast<void (BRepLib_MakeWire::*)( const TopoDS_Wire &  ) >(&BRepLib_MakeWire::Add),
             R"#(Add the edges of <W> to the current wire.)#"  , py::arg("W")
          )
        .def("Add",
             (void (BRepLib_MakeWire::*)(  const NCollection_List<TopoDS_Shape> &  ) ) static_cast<void (BRepLib_MakeWire::*)(  const NCollection_List<TopoDS_Shape> &  ) >(&BRepLib_MakeWire::Add),
             R"#(Add 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.)#"  , py::arg("L")
          )
        .def("Error",
             (BRepLib_WireError (BRepLib_MakeWire::*)() const) static_cast<BRepLib_WireError (BRepLib_MakeWire::*)() const>(&BRepLib_MakeWire::Error),
             R"#(None)#" 
          )
    // 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 & (BRepLib_MakeWire::*)() ) static_cast<const TopoDS_Wire & (BRepLib_MakeWire::*)() >(&BRepLib_MakeWire::Wire),
             R"#(Returns the new wire.)#"
             
         )
       .def("Edge",
             (const TopoDS_Edge & (BRepLib_MakeWire::*)() const) static_cast<const TopoDS_Edge & (BRepLib_MakeWire::*)() const>(&BRepLib_MakeWire::Edge),
             R"#(Returns the last edge added to the wire.)#"
             
         )
       .def("Vertex",
             (const TopoDS_Vertex & (BRepLib_MakeWire::*)() const) static_cast<const TopoDS_Vertex & (BRepLib_MakeWire::*)() const>(&BRepLib_MakeWire::Vertex),
             R"#(Returns the last connecting vertex.)#"
             
         )
;

// functions
// ./opencascade/BRepLib.hxx
// ./opencascade/BRepLib_Command.hxx
// ./opencascade/BRepLib_EdgeError.hxx
// ./opencascade/BRepLib_FaceError.hxx
// ./opencascade/BRepLib_FindSurface.hxx
// ./opencascade/BRepLib_FuseEdges.hxx
// ./opencascade/BRepLib_MakeEdge.hxx
// ./opencascade/BRepLib_MakeEdge2d.hxx
// ./opencascade/BRepLib_MakeFace.hxx
// ./opencascade/BRepLib_MakePolygon.hxx
// ./opencascade/BRepLib_MakeShape.hxx
// ./opencascade/BRepLib_MakeShell.hxx
// ./opencascade/BRepLib_MakeSolid.hxx
// ./opencascade/BRepLib_MakeVertex.hxx
// ./opencascade/BRepLib_MakeWire.hxx
// ./opencascade/BRepLib_PointCloudShape.hxx
// ./opencascade/BRepLib_ShapeModification.hxx
// ./opencascade/BRepLib_ShellError.hxx
// ./opencascade/BRepLib_ToolTriangulatedShape.hxx
// ./opencascade/BRepLib_ValidateEdge.hxx
// ./opencascade/BRepLib_WireError.hxx

// Additional functions

// operators

// register typdefs


// exceptions

// user-defined post-inclusion per module in the body

};

// user-defined post-inclusion per module

// user-defined post