0026235: Command tolmax works wrong
[occt.git] / tests / bugs / modalg_2 / bug5805_3
CommitLineData
61c421bf 1puts "============"
2puts "OCC5805"
3puts "============"
4puts ""
5######################################################
6# BRepOffsetAPI_MakeThickSolid behaves unstably and produces very different results.
7######################################################
8
9set BugNumber OCC5805
10
11restore [locate_data_file OCC5805.brep] a
12
13decho off
14set che_a [checkshape a]
15decho on
16if { [regexp {Faulty} $che_a] } {
17 puts "Faulty ${BugNumber} : checkshape is wrong for a"
18}
19
20explode a f
21
22if { [catch { offsetshape result a -1 a_6 } catch_result] } {
23 puts "Faulty ${BugNumber} : offsetshape is wrong"
24}
25
fb60057d 26checkmaxtol result -min_tol 1.
61c421bf 27
28set square 1185.03
29
30set nb_v_good 10
31set nb_e_good 15
32set nb_w_good 7
33set nb_f_good 7
34set nb_sh_good 1
35set nb_sol_good 1
36set nb_compsol_good 0
37set nb_compound_good 0
38set nb_shape_good 41
39
40set 2dviewer 0