Adding new testing cases for chl grid
[occt.git] / tests / bugs / modalg / pro18892
CommitLineData
0e94a94e 1puts "TODO OCC12345 ALL: Faulty : Result is BAD. Distance is more than MaxTolerance"
2puts "TODO OCC12345 ALL: Error : The length of result shape is"
3
4puts "=========="
5puts "PRO18892"
6puts "=========="
7# Version de test: K4O, PATCH LEVEL:
8# GEOMETRY-M4-6A : 3
9# GEOMLITE-M4-6A : 1
10# TOPOLOGY-M4-6A : 2
11
12restore [locate_data_file pro18892.rle] a
13puts [checkshape a]
14
15explode a
16bsection result a_1 a_2 -2d -a
17explode result
18
19mkcurve c result_1
20cvalue c 1 X Y Z
21vertex v X Y Z
22explode a e
23
24distmini d v a_8
25
26set tol [ maxtolerance a_8 ]
27regexp { +Edge +: +Min +[-0-9.+eE]+ +Max +([-0-9.+eE]+)} $tol full MaxEdgeTolerance
28regexp { +Vertex +: +Min +[-0-9.+eE]+ +Max +([-0-9.+eE]+)} $tol full MaxVertexTolerance
f1aa2b62 29regexp {([-0-9.+eE]+)$} [dump d_val] full d
0e94a94e 30
31if { [expr $d > $MaxEdgeTolerance] || [expr $d > $MaxVertexTolerance] } {
32 puts "Faulty : Result is BAD. Distance is more than MaxTolerance"
33}
34
35set length 0