0024122: Hang-up during a topological operation.
[occt.git] / tests / bugs / modalg_2 / bug534_3
CommitLineData
352ffd73 1
2puts "========================"
3puts " OCC534 "
4puts " case 3 "
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
11mkface result rs_hyperbola_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
24set square 171.992
25set 2dviewer 0
26