-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathOCC.BRepAlgoAPI.html
More file actions
1477 lines (1289 loc) · 77.1 KB
/
OCC.BRepAlgoAPI.html
File metadata and controls
1477 lines (1289 loc) · 77.1 KB
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
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OCC.BRepAlgoAPI module — pythonocc API 0.18 documentation</title>
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="index" title="Index"
href="genindex.html"/>
<link rel="search" title="Search" href="search.html"/>
<link rel="top" title="pythonocc API 0.18 documentation" href="index.html"/>
<script src="_static/js/modernizr.min.js"></script>
</head>
<body class="wy-body-for-nav" role="document">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search">
<a href="index.html" class="icon icon-home"> pythonocc API
</a>
<div class="version">
0.18
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<!-- Local TOC -->
<div class="local-toc"><ul>
<li><a class="reference internal" href="#">OCC.BRepAlgoAPI module</a></li>
</ul>
</div>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" role="navigation" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">pythonocc API</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="index.html">Docs</a> »</li>
<li>OCC.BRepAlgoAPI module</li>
<li class="wy-breadcrumbs-aside">
<a href="_sources/OCC.BRepAlgoAPI.rst.txt" rel="nofollow"> View page source</a>
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<div class="section" id="module-OCC.BRepAlgoAPI">
<span id="occ-brepalgoapi-module"></span><h1>OCC.BRepAlgoAPI module<a class="headerlink" href="#module-OCC.BRepAlgoAPI" title="Permalink to this headline">¶</a></h1>
<p>The BRepAlgoAPI package provides a full range ofservices to perform Boolean Operations on arguments (shapesthat are defined in the BRep data structures). Theimplemented new algorithm is intended to replace the OldBoolean Operations algorithm in the BRepAlgoAPI package.The New algorithm is free of a large number of weak spotsand limitations characteristics of the Old algorithm.It is more powerful and flexible.It can process arguments the Old algorithm was not adapted for.The new algorithm is based on a new approach to operationswith interfered shapes. The advantages of the new algorithminclude an ability to treat arguments that have sharedentities. It can properly process two solids with sharedfaces (in terms of TopoDS_Shape::IsSame()), twofaces that have shared edges and so on. Now the New BooleanOperation algorithm can treat a wide range of shapes while theOld one fails on them.A generalization of treatment of same-domain faceswas included into the New algorithm. Two faces that sharethe same domain are processed according to the common ruleeven if the underlying surfaces are of different types. Thisallows to execute Boolean Operations properly for the samedomain faces. It also concerns solids and shells that have thesame domain faces. It is quite frequent when two faces sharethe same domain. And the New algorithm successfully copeswith it in contrast to the Old one.Generalization oftreatment of degenerated edgesgives a possibility to process them properly. Although thereare still some difficulties with processing faces in areas closeto degenerated edges.Now the processing of arguments having internal sub-shapes givesa correct result. Internal sub-shape means a sub-shape of ashape with the orientation TopAbs_INTERNAL and is locatedinside the shape boundaries. The New algorithm processes faceswith internal edges properly. The new API of the BooleanOperations (in addition to the old API) allows to reuse thealready computed interference between arguments in differenttypes of Boolean Operations. It is possible to use once computedinterference in FUSE, CUT and COMMON operations on givenarguments. So there is no need to re-compute the interferencebetween the arguments. It allows to reduce time for more than oneoperation on given arguments.The shape type of a Boolean Operation result and types of the arguments:- For arguments with the same shape type (e.g. SOLID /SOLID) the type of the resulting shape will be aCOMPOUND, containing shapes of this type;- For arguments with different shape types (e.g.SHELL / SOLID) the type of the resulting shape will be aCOMPOUND, containing shapes of the type that is the same asthat of the low type of the argument. Example: ForSHELL/SOLID the result is a COMPOUND of SHELLs.- For arguments with different shape types some ofBoolean Operations can not be done using the defaultimplementation, because of a non-manifold type of theresult. Example: the FUSE operation for SHELL and SOLIDcan not be done, but the CUT operation can be done, whereSHELL is the object and SOLID is the tool.It is possible to perform Boolean Operations on argumentsof the COMPOUND shape type. In this case each compound must notbe heterogeneous, i.e. it must contain equidimensional shapes(EDGEs or/and WIREs, FACEs or/and SHELLs, SOLIDs). SOLIDsinside the COMPOUND must not contact (intersect or touch)each other. The same condition is true for SHELLs or FACEs,WIREs or EDGEs.It does not support Boolean Operations for COMPSOLID type of shape.</p>
<dl class="class">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_Algo">
<em class="property">class </em><code class="descname">BRepAlgoAPI_Algo</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_Algo" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="OCC.BRepBuilderAPI.html#OCC.BRepBuilderAPI.BRepBuilderAPI_MakeShape" title="OCC.BRepBuilderAPI.BRepBuilderAPI_MakeShape"><code class="xref py py-class docutils literal"><span class="pre">OCC.BRepBuilderAPI.BRepBuilderAPI_MakeShape</span></code></a></p>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_Algo.Allocator">
<code class="descname">Allocator</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_Algo.Allocator" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">BOPCol_BaseAllocator</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_Algo.ErrorStatus">
<code class="descname">ErrorStatus</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_Algo.ErrorStatus" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns error status of the algorithm ==0 - no errors occured !=0 - is in the event of various error conditions</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)">int</a></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_Algo.RunParallel">
<code class="descname">RunParallel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_Algo.RunParallel" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the flag of parallel processing</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_Algo.SetProgressIndicator">
<code class="descname">SetProgressIndicator</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_Algo.SetProgressIndicator" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Set the Progress Indicator object.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>theObj</strong> (<em>Handle_Message_ProgressIndicator &</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_Algo.SetRunParallel">
<code class="descname">SetRunParallel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_Algo.SetRunParallel" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Set the flag of parallel processing if <theFlag> is true the parallel processing is switched on if <theFlag> is false the parallel processing is switched off</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>theFlag</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_Algo.WarningStatus">
<code class="descname">WarningStatus</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_Algo.WarningStatus" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns warning status of the algorithm ==0 - no warning occured !=0 - is in the event of various warning conditions</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)">int</a></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="attribute">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_Algo.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_Algo.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation">
<em class="property">class </em><code class="descname">BRepAlgoAPI_BooleanOperation</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_BuilderAlgo" title="OCC.BRepAlgoAPI.BRepAlgoAPI_BuilderAlgo"><code class="xref py py-class docutils literal"><span class="pre">OCC.BRepAlgoAPI.BRepAlgoAPI_BuilderAlgo</span></code></a></p>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation.BuilderCanWork">
<code class="descname">BuilderCanWork</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation.BuilderCanWork" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if there was no errors occured obsolete</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation.FuseEdges">
<code class="descname">FuseEdges</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation.FuseEdges" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the flag of edge refining</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation.Operation">
<code class="descname">Operation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation.Operation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the type of Boolean Operation</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">BOPAlgo_Operation</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation.RefineEdges">
<code class="descname">RefineEdges</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation.RefineEdges" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Fuse C1 edges</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation.SectionEdges">
<code class="descname">SectionEdges</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation.SectionEdges" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a list of section edges. The edges represent the result of intersection between arguments of Boolean Operation. They are computed during operation execution.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TopTools.html#OCC.TopTools.TopTools_ListOfShape" title="OCC.TopTools.TopTools_ListOfShape">TopTools_ListOfShape</a></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation.SetOperation">
<code class="descname">SetOperation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation.SetOperation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets the type of Boolean operation</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>anOp</strong> (<em>BOPAlgo_Operation</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation.SetTools">
<code class="descname">SetTools</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation.SetTools" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets the tools</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>theLS</strong> (<em>TopTools_ListOfShape &</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation.Shape1">
<code class="descname">Shape1</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation.Shape1" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the first argument involved in this Boolean operation. Obsolete</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TopoDS.html#OCC.TopoDS.TopoDS_Shape" title="OCC.TopoDS.TopoDS_Shape">TopoDS_Shape</a></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation.Shape2">
<code class="descname">Shape2</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation.Shape2" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the second argument involved in this Boolean operation. Obsolete</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TopoDS.html#OCC.TopoDS.TopoDS_Shape" title="OCC.TopoDS.TopoDS_Shape">TopoDS_Shape</a></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation.Tools">
<code class="descname">Tools</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation.Tools" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Gets the tools</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TopTools.html#OCC.TopTools.TopTools_ListOfShape" title="OCC.TopTools.TopTools_ListOfShape">TopTools_ListOfShape</a></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="attribute">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_BuilderAlgo">
<em class="property">class </em><code class="descname">BRepAlgoAPI_BuilderAlgo</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_BuilderAlgo" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_Algo" title="OCC.BRepAlgoAPI.BRepAlgoAPI_Algo"><code class="xref py py-class docutils literal"><span class="pre">OCC.BRepAlgoAPI.BRepAlgoAPI_Algo</span></code></a></p>
<ul class="simple">
<li>Empty constructor</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Empty constructor</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>thePF</strong> (<em>BOPAlgo_PaveFiller &</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_BuilderAlgo.Arguments">
<code class="descname">Arguments</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_BuilderAlgo.Arguments" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Gets the arguments</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.TopTools.html#OCC.TopTools.TopTools_ListOfShape" title="OCC.TopTools.TopTools_ListOfShape">TopTools_ListOfShape</a></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_BuilderAlgo.FuzzyValue">
<code class="descname">FuzzyValue</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_BuilderAlgo.FuzzyValue" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the additional tolerance</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_BuilderAlgo.HasDeleted">
<code class="descname">HasDeleted</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_BuilderAlgo.HasDeleted" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns true if there is at least one deleted shape. For use in BRepNaming. //! protected methods</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_BuilderAlgo.HasGenerated">
<code class="descname">HasGenerated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_BuilderAlgo.HasGenerated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns true if there is at least one generated shape. For use in BRepNaming.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_BuilderAlgo.HasModified">
<code class="descname">HasModified</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_BuilderAlgo.HasModified" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns true if there is at least one modified shape. For use in BRepNaming.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_BuilderAlgo.SetArguments">
<code class="descname">SetArguments</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_BuilderAlgo.SetArguments" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets the arguments</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>theLS</strong> (<em>TopTools_ListOfShape &</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_BuilderAlgo.SetFuzzyValue">
<code class="descname">SetFuzzyValue</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_BuilderAlgo.SetFuzzyValue" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets the additional tolerance</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>theFuzz</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="attribute">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_BuilderAlgo.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_BuilderAlgo.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_Check">
<em class="property">class </em><code class="descname">BRepAlgoAPI_Check</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_Check" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_Algo" title="OCC.BRepAlgoAPI.BRepAlgoAPI_Algo"><code class="xref py py-class docutils literal"><span class="pre">OCC.BRepAlgoAPI.BRepAlgoAPI_Algo</span></code></a></p>
<ul class="simple">
<li>Empty constructor.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Constructor for checking single shape. It calls methods Init(theS, TopoDS_Shape(), BOPAlgo_UNKNOWN, bTestSE, bTestSI) and Perform(). Params: theS - the shape that should be checked; bTestSE - flag that specifies whether check on small edges should be performed; by default it is set to True; bTestSI - flag that specifies whether check on self-interference should be performed; by default it is set to True;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theS</strong> (<em>TopoDS_Shape &</em>) – </li>
<li><strong>bTestSE</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_True</li>
<li><strong>bTestSI</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_True</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Constructor for couple of shapes. It calls methods Init(theS1, theS2, theOp, bTestSE, bTestSI) and Perform(). Params: theS1, theS2 - the initial shapes. theOp - the type of Boolean Operation; if it is not defined (set to UNKNOWN) for each shape performed check as for single shape. bTestSE - flag that specifies whether check on small edges should be performed; by default it is set to True; bTestSI - flag that specifies whether check on self-interference should be performed; by default it is set to True;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theS1</strong> (<em>TopoDS_Shape &</em>) – </li>
<li><strong>theS2</strong> (<em>TopoDS_Shape &</em>) – </li>
<li><strong>theOp</strong> (<em>BOPAlgo_Operation</em>) – default value is BOPAlgo_UNKNOWN</li>
<li><strong>bTestSE</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_True</li>
<li><strong>bTestSI</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_True</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_Check.FuzzyValue">
<code class="descname">FuzzyValue</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_Check.FuzzyValue" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the additional tolerance</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_Check.IsValid">
<code class="descname">IsValid</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_Check.IsValid" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Shows whether shape(s) valid or not.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_Check.Perform">
<code class="descname">Perform</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_Check.Perform" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the check.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_Check.Result">
<code class="descname">Result</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_Check.Result" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns faulty shapes.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">BOPAlgo_ListOfCheckResult</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_Check.SetData">
<code class="descname">SetData</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_Check.SetData" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets data for check by Init method. The method provides alternative way for checking single shape.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theS</strong> (<em>TopoDS_Shape &</em>) – </li>
<li><strong>bTestSE</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_True</li>
<li><strong>bTestSI</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_True</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Sets data for check by Init method. The method provides alternative way for checking couple of shapes.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theS1</strong> (<em>TopoDS_Shape &</em>) – </li>
<li><strong>theS2</strong> (<em>TopoDS_Shape &</em>) – </li>
<li><strong>theOp</strong> (<em>BOPAlgo_Operation</em>) – default value is BOPAlgo_UNKNOWN</li>
<li><strong>bTestSE</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_True</li>
<li><strong>bTestSI</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_True</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_Check.SetFuzzyValue">
<code class="descname">SetFuzzyValue</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_Check.SetFuzzyValue" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets the additional tolerance</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>theFuzz</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="attribute">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_Check.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_Check.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_Common">
<em class="property">class </em><code class="descname">BRepAlgoAPI_Common</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_Common" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation" title="OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation"><code class="xref py py-class docutils literal"><span class="pre">OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation</span></code></a></p>
<ul class="simple">
<li>Empty constructor</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Empty constructor <PF> - PaveFiller object that is carried out</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>PF</strong> (<em>BOPAlgo_PaveFiller &</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Constructor with two shapes <S1> -argument <S2> -tool <anOperation> - the type of the operation Obsolete</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>S1</strong> (<em>TopoDS_Shape &</em>) – </li>
<li><strong>S2</strong> (<em>TopoDS_Shape &</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Constructor with two shapes <S1> -argument <S2> -tool <anOperation> - the type of the operation <PF> - PaveFiller object that is carried out Obsolete</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>S1</strong> (<em>TopoDS_Shape &</em>) – </li>
<li><strong>S2</strong> (<em>TopoDS_Shape &</em>) – </li>
<li><strong>PF</strong> (<em>BOPAlgo_PaveFiller &</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_Common.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_Common.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_Cut">
<em class="property">class </em><code class="descname">BRepAlgoAPI_Cut</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_Cut" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation" title="OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation"><code class="xref py py-class docutils literal"><span class="pre">OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation</span></code></a></p>
<ul class="simple">
<li>Empty constructor</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Empty constructor <PF> - PaveFiller object that is carried out</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>PF</strong> (<em>BOPAlgo_PaveFiller &</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Constructor with two shapes <S1> -argument <S2> -tool <anOperation> - the type of the operation Obsolete</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>S1</strong> (<em>TopoDS_Shape &</em>) – </li>
<li><strong>S2</strong> (<em>TopoDS_Shape &</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Constructor with two shapes <S1> -argument <S2> -tool <anOperation> - the type of the operation <PF> - PaveFiller object that is carried out Obsolete</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>S1</strong> (<em>TopoDS_Shape &</em>) – </li>
<li><strong>S2</strong> (<em>TopoDS_Shape &</em>) – </li>
<li><strong>aDSF</strong> (<em>BOPAlgo_PaveFiller &</em>) – </li>
<li><strong>bFWD</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) – default value is Standard_True</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_Cut.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_Cut.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_Fuse">
<em class="property">class </em><code class="descname">BRepAlgoAPI_Fuse</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_Fuse" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation" title="OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation"><code class="xref py py-class docutils literal"><span class="pre">OCC.BRepAlgoAPI.BRepAlgoAPI_BooleanOperation</span></code></a></p>
<ul class="simple">
<li>Empty constructor</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Empty constructor <PF> - PaveFiller object that is carried out</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>PF</strong> (<em>BOPAlgo_PaveFiller &</em>) – </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Constructor with two shapes <S1> -argument <S2> -tool <anOperation> - the type of the operation Obsolete</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>S1</strong> (<em>TopoDS_Shape &</em>) – </li>
<li><strong>S2</strong> (<em>TopoDS_Shape &</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Constructor with two shapes <S1> -argument <S2> -tool <anOperation> - the type of the operation <PF> - PaveFiller object that is carried out Obsolete</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>S1</strong> (<em>TopoDS_Shape &</em>) – </li>
<li><strong>S2</strong> (<em>TopoDS_Shape &</em>) – </li>
<li><strong>aDSF</strong> (<em>BOPAlgo_PaveFiller &</em>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="attribute">
<dt id="OCC.BRepAlgoAPI.BRepAlgoAPI_Fuse.thisown">