Integration part of tests of grid chl
[occt.git] / tests / bugs / modalg / bug60555_1
CommitLineData
0e94a94e 1#INTERFACE IGES
2puts "==========="
3puts "BUC60555"
4puts "CUT Case 1"
5puts "==========="
6#cpulim add aki 070704
7cpulimit 1600
8restore [locate_data_file buc60555a.brep] part
9puts [checkshape part]
10restore [locate_data_file buc60555b.brep] trTool1
11puts [checkshape trTool1]
12halfspace hs1 trTool1 20000 10000 0
13bcut cut1 part hs1
14
15puts [checkshape cut1]
16
17tcopy cut1 result
18
19explode cut1 e
20mkcurve cu1 cut1_1
21mkcurve cu2 cut1_2
22mkcurve cu3 cut1_3
23mkcurve cu4 cut1_4
24
25set tolerance [ maxtolerance cut1 ]
26
27regexp { +Face +: +Min +[-0-9.+eE]+ +Max +([-0-9.+eE]+)} $tolerance full MaxFaceTolerance
28regexp { +Edge +: +Min +[-0-9.+eE]+ +Max +([-0-9.+eE]+)} $tolerance full MaxEdgeTolerance
29regexp { +Vertex +: +Min +[-0-9.+eE]+ +Max +([-0-9.+eE]+)} $tolerance full MaxVertexTolerance
30
31if { $MaxFaceTolerance > 1 || $MaxEdgeTolerance > 1 || $MaxVertexTolerance > 1 } {
32 puts "Faulty :Tolerance of shape is more then 1.0"
33} else {
34 puts "Tolerance of shape is less then 1.0"
35}
36
37set square 4.60842e+07
38set 2dviewer 0