0030082: Intersection algorithm returns curve with big tolerance value
[occt.git] / tests / bugs / modalg_7 / bug29807_b4a
CommitLineData
3306fdd9 1puts "========"
2puts "0029807: Impossible to cut cone from prism"
3puts "========"
4puts ""
5
6puts "TODO OCC29883 ALL: Error : is WRONG because number of WIRE entities in shape \"result\" is 10"
7puts "TODO OCC29883 ALL: Error : is WRONG because number of FACE entities in shape \"result\" is 10"
8
9restore [locate_data_file bug29807-obj.brep] b1
10restore [locate_data_file bug29807-tool.brep] b2
11
12trotate b2 +23.85857157145715500000 +12.00000000000000000000 +5.50000000000000000000 7 -7.14142842854285 0 -5
13trotate b2 +23.85857157145715500000 +12.00000000000000000000 +5.50000000000000000000 7.1414284285428495 7.0000000000000009 -0 20
14ttranslate b2 0 0 0.3
15
16bcut result b1 b2
17checkshape result
18checkprops result -v 9465.07 -s 4012.74
19checknbshapes result -face 9 -wire 9
20
21if {[regexp "Faulties" [bopargcheck result]]} {
22 puts "Error: bopargcheck has found some faulties in result"
23}
24
25vdisplay result
26vsetdispmode 1
27vviewparams -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
28
29checkview -screenshot -3d -path ${imagedir}/${test_image}.png