0030386: Modeling Algorithms - Unable to perform Cut operation
[occt.git] / tests / bugs / modalg_7 / bug28388_2
1 puts "========"
2 puts "OCC28388"
3 puts "========"
4 puts ""
5 ####################################################################
6 # Boolean common of simple face and solid results in empty compound
7 ####################################################################
8
9 restore [locate_data_file bug28388_extOK.brep] e
10
11 explode e
12 whatis e_1
13 whatis e_2
14 tolerance e_1
15 tolerance e_2
16 checkshape e_1
17 checkshape e_2
18 bopcheck e_1
19 bopcheck e_2
20 bopargcheck e_1 e_2 -O #F
21
22 bop e_1 e_2
23 bopcommon r
24
25 whatis r
26 explode r
27 checkshape r_1
28 nbshapes r_1
29
30 checkview -display r_1 -2d -path ${imagedir}/${test_image}-2d.png
31 checkview -display r_1 -3d -path ${imagedir}/${test_image}-3d.png