Adding of testing cases from subgroups 937 940 and 941 of CHL group
[occt.git] / tests / bugs / modalg_1 / bug1243_1
CommitLineData
61c421bf 1puts "================"
2puts "OCC1243"
3puts "================"
4puts "Bad solid created from face with command 'revol'"
5puts ""
6
7restore [locate_data_file OCC1243-1.brep] f1
8checkshape f1
9
10revol result f1 -5000.0 0.0 0.0 10000.0 0.0 0.0 360.0
11
12set tolerance [maxtolerance result]
13regexp { +Face +: +Min +[-0-9.+eE]+ +Max +([-0-9.+eE]+)} $tolerance full MaxFaceTolerance
14regexp { +Edge +: +Min +[-0-9.+eE]+ +Max +([-0-9.+eE]+)} $tolerance full MaxEdgeTolerance
15regexp { +Vertex +: +Min +[-0-9.+eE]+ +Max +([-0-9.+eE]+)} $tolerance full MaxVertexTolerance
16
17set max_tolerance 1.00000e-06
18
19if { ${MaxFaceTolerance} > ${max_tolerance} || ${MaxEdgeTolerance} > ${max_tolerance} || ${MaxVertexTolerance} > ${max_tolerance} } {
20 puts "OCC1243 - Error"
21} else {
22 puts "OCC1243 - OK"
23}
24
25set square 350733
26set 2dviewer 0