0029380: Delete "checknbshapes" from bugs/modalg_6/bug27341* test cases
[occt.git] / tests / bugs / modalg_6 / bug26202
CommitLineData
12945d77 1puts "============"
2puts "OCC26202"
3puts "============"
4puts ""
5#######################################################################
6# Wrong result of chamfer on cylindrical surface: wrong value of chord
7#######################################################################
8
9restore [locate_data_file bug26202_shell.brep] b
10
11explode b
12explode b_2 e
13
14smallview
15donly b b_2_1
16fit
17xwd $imagedir/${test_image}_1.png
18
19chamf q b b_2_1 b_2 0.02 0.01
20explode q v
21explode b v
22
23donly b_2 q_1 q_5
24fit
25xwd $imagedir/${test_image}_2.png
26
27donly q b b_2 q_1 q_5
28xwd $imagedir/${test_image}_3.png
29
30distmini dd b_2 q_5
31dump dd_val
32#dd_val is 0.013334, but must be 0.02
33
34set info [dump dd_val]
35regexp "\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\* Dump of dd_val \\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\\*\n(\[-0-9*\.+eE\]+)" $info full Length
36
37set expected_Length 0.02
38set tol_abs_Length 1.0e-4
39set tol_rel_Length 0.0001
40checkreal "Length" ${Length} ${expected_Length} ${tol_abs_Length} ${tol_rel_Length}