0029807: [Regression to 7.0.0] Impossible to cut cone from prism
[occt.git] / tests / bugs / modalg_7 / bug29807_b2
CommitLineData
3306fdd9 1puts "========"
2puts "0029807: Impossible to cut cone from prism"
3puts "========"
4puts ""
5
6restore [locate_data_file bug29807-obj.brep] b1
7restore [locate_data_file bug29807-tool.brep] b2
8
9trotate b2 +23.85857157145715500000 +12.00000000000000000000 +5.50000000000000000000 7 -7.14142842854285 0 5
10removeloc b2 b2
11
12bcut result b1 b2
13checkshape result
14checkprops result -v 9463.99 -s 4014.54
15checknbshapes result -face 9 -wire 9
16
17if {[regexp "Faulties" [bopargcheck result]]} {
18 puts "Error: bopargcheck has found some faulties in result"
19}
20
21vdisplay result
22vsetdispmode 1
23vviewparams -scale 52.4803 -proj 0.285421 0.0158136 0.958272 -up -0.810772 0.537155 0.232624 -at 29.6172 13.0268 3.82234 -eye 47.7439 14.0311 64.6808
24
25checkview -screenshot -3d -path ${imagedir}/${test_image}.png