0026742: Update test cases for using checknbshapes procedure instead of global variables
[occt.git] / tests / bugs / modalg_2 / bug5805_3
CommitLineData
e1ed38e0 1puts "TODO OCC26556 ALL: ERROR. offsetperform operation not done."
2
61c421bf 3puts "============"
4puts "OCC5805"
5puts "============"
6puts ""
7######################################################
8# BRepOffsetAPI_MakeThickSolid behaves unstably and produces very different results.
9######################################################
10
11set BugNumber OCC5805
12
13restore [locate_data_file OCC5805.brep] a
14
15decho off
16set che_a [checkshape a]
17decho on
18if { [regexp {Faulty} $che_a] } {
19 puts "Faulty ${BugNumber} : checkshape is wrong for a"
20}
21
22explode a f
23
24if { [catch { offsetshape result a -1 a_6 } catch_result] } {
25 puts "Faulty ${BugNumber} : offsetshape is wrong"
26}
27
fb60057d 28checkmaxtol result -min_tol 1.
61c421bf 29
30set square 1185.03
31
a4eba920 32checknbshapes result -vertex 10 -edge 15 -wire 7 -face 7 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 41
61c421bf 33set 2dviewer 0