0027481: [Regression to OCCT 6.6.0] Modeling Algorithms - incorrect CUT on two solids
[occt.git] / tests / bugs / modalg_2 / bug534_5
CommitLineData
352ffd73 1
2puts "========================"
3puts " OCC534 "
4puts " case 5 "
5puts "========================"
6puts ""
7
8parabola parabola 0 0 0 30
9revsurf rs_parabola parabola 0 400 0 1 0 0
10offset rs_parabola_of rs_parabola 10
11mkface result rs_parabola_of .3 .5 .3 .5
12
13set tolerance [maxtolerance result]
14regexp { +Face +: +Min +[-0-9.+eE]+ +Max +([-0-9.+eE]+)} $tolerance full MaxFaceTolerance
15regexp { +Edge +: +Min +[-0-9.+eE]+ +Max +([-0-9.+eE]+)} $tolerance full MaxEdgeTolerance
16regexp { +Vertex +: +Min +[-0-9.+eE]+ +Max +([-0-9.+eE]+)} $tolerance full MaxVertexTolerance
17
18if { $MaxFaceTolerance > 1 || $MaxEdgeTolerance > 1 || $MaxVertexTolerance > 1 } {
19 puts "Faulty : Tolerance of shape is more then 1.0"
20} else {
21 puts "Tolerance is OK"
22}
23
58cf74e0 24checkprops result -s 13.3227
25checkshape result
5747059b 26checkview -display result -2d -path ${imagedir}/${test_image}.png