Correction of testing case for issue 24374
[occt.git] / tests / bugs / moddata_2 / bug3896
CommitLineData
61c421bf 1puts "TODO OCC11111 ALL: Faulty OCC3896"
2
3puts "============"
4puts "OCC3896"
5puts "============"
6puts ""
7######################################################
8# BRepCheck_Analyzer does not detect faulty faces in solid shape.
9######################################################
10
11#
12# a_13 face is FORVARD (faulty), but checkshape command does not detect it
13#
14
15set BugNumber OCC3896
16
17restore [locate_data_file OCC3896-pipe.brep] a
18
19explode a f
20compound a_1 a_13 result
21
22explode a_1 e
23explode a_13 e
24
25smallview
26donly result
27fit
28r
29
30normals result 200
31
32puts "Normal of a_13 face is red (FORWARD)"
33
34for {set i 1} {$i <= 14} {incr i} {
35 whatis a_$i
36}
37
38decho off
39set info_result [checkshape result]
40decho on
41
42if {[regexp {Faulty} $info_result] } {
43 puts "OK ${BugNumber} : checkshape detect faulty faces in solid shape"
44} else {
45 puts "Faulty ${BugNumber} : checkshape does not detect faulty faces in solid shape"
46}
47
48set 2dviewer 0