0027481: [Regression to OCCT 6.6.0] Modeling Algorithms - incorrect CUT on two solids
[occt.git] / tests / bugs / modalg_2 / bug23137_1
1 puts "============"
2 puts "CR23137"
3 puts "============"
4 puts ""
5 ##########################################################################################################
6 # Class BRepAlgoAPI_Cut does not made correct result on attached shapes.
7 ##########################################################################################################
8
9 restore [locate_data_file bug23137_bspl_cut.brep] b
10 explode b
11 copy b_1 b1
12 copy b_2 b2
13 #to provide positive volume of b2
14 invert b2
15
16 bop b1 b2
17 bopcut result
18
19 checkprops result -s 44460.7 
20 checkshape result
21 checkview -display result -3d -path ${imagedir}/${test_image}.png