0027531: Modeling Algorithms - Make the algorithm Approx_SameParameter more clear...
[occt.git] / tests / bugs / modalg_7 / bug28085_1
1 puts "============"
2 puts "OCC28085: Incorrect result of CUT operation"
3 puts "============"
4 puts ""
5
6 # enable FPE signals
7 dsetsignal 1
8
9 restore [locate_data_file bug28085_object.brep] b1
10 restore [locate_data_file bug28085_tool.brep] b2
11
12 bclearobjects
13 bcleartools
14 baddobjects b1
15 baddtools b2
16 bfillds
17
18 bbop rs 4
19
20 checkprops rs -l 456.152
21 checkmaxtol rs -ref 2.3840014382159325e-005
22 checksection rs -r 8
23
24 bbop result 2
25
26 checkprops result -s 6168.4 -v 10554.5
27 checknbshapes result -face 22 -shell 1 -solid 1
28 checkshape result
29
30 if {[regexp "Faulties" [bopargcheck result]]} {
31   puts "Error: bopargcheck has found some faulties in result"
32 }
33
34 checkview -display result -2d -path ${imagedir}/${test_image}.png