Adding of testing cases from subgroups 937 940 and 941 of CHL group
[occt.git] / tests / bugs / modalg_2 / bug534_4
CommitLineData
352ffd73 1
2puts "========================"
3puts " OCC534 "
4puts " case 4 "
5puts "========================"
6puts ""
7
8hyperbola hyperbola 0 0 0 30 10
9revsurf rs_hyperbola hyperbola 0 400 0 1 0 0
10offset rs_hyperbola_of rs_hyperbola 5
11offset rs_hyperbola_of_of rs_hyperbola_of 5
12mkface result rs_hyperbola_of_of .3 .5 .3 .5
13
14set tolerance [maxtolerance result]
15regexp { +Face +: +Min +[-0-9.+eE]+ +Max +([-0-9.+eE]+)} $tolerance full MaxFaceTolerance
16regexp { +Edge +: +Min +[-0-9.+eE]+ +Max +([-0-9.+eE]+)} $tolerance full MaxEdgeTolerance
17regexp { +Vertex +: +Min +[-0-9.+eE]+ +Max +([-0-9.+eE]+)} $tolerance full MaxVertexTolerance
18
19if { $MaxFaceTolerance > 1 || $MaxEdgeTolerance > 1 || $MaxVertexTolerance > 1 } {
20 puts "Faulty : Tolerance of shape is more then 1.0"
21} else {
22 puts "Tolerance is OK"
23}
24
25set square 84.8861
26set 2dviewer 0