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