0031939: Coding - correction of spelling errors in comments [part 7]
[occt.git] / tests / bugs / modalg_6 / bug26718
CommitLineData
521e1c61 1puts "============"
2puts "OCC26718"
3puts "============"
4puts ""
5#############################################################################################
7b5e532f 6## Big tolerance value of the edge in the result of General Fuse operation
521e1c61 7#############################################################################################
8
9restore [locate_data_file bug26718_w6_b1.brep] b1
10restore [locate_data_file bug26718_w6_b2.brep] b2
11
12bclearobjects
13bcleartools
14baddobjects b1
15baddtools b2
16
17bfillds
18bbuild result
19
58cf74e0 20checkprops result -s 2.3834e+06
21checkshape result
521e1c61 22
23set nbshapes_expected "
24Number of shapes in shape
25 VERTEX : 7
26 EDGE : 11
27 WIRE : 8
28 FACE : 5
29 SHELL : 2
30 SOLID : 2
31 COMPSOLID : 0
32 COMPOUND : 1
33 SHAPE : 36
34"
35
36checknbshapes result -ref ${nbshapes_expected} -t -m "Result obtained by General Fuse operation"
37
38regexp {Tolerance +MAX=([-0-9.+eE]+)} [tolerance result] full MaxTolerance
39puts "MaxTolerance=$MaxTolerance"
40
41set expected_MaxTolerance 0.317915740714732
42set tol_abs_MaxTolerance 0.01
43set tol_rel_MaxTolerance 0.01
44checkreal "MaxTolerance" ${MaxTolerance} ${expected_MaxTolerance} ${tol_abs_MaxTolerance} ${tol_rel_MaxTolerance}
45
5747059b 46checkview -display result -3d -path ${imagedir}/${test_image}.png