0027015: Sewing returns invalid shape if some faces are nearly plane cones
[occt.git] / tests / bugs / modalg_2 / bug221
CommitLineData
0e94a94e 1puts "========"
2puts "OCC221"
3puts "========"
4puts ""
5######################################################################
6##After loading attached file (one simple face) checkshape give a problem (Bad Orientation of SubShape)
7## but I believe that this face is correct. Also I believe that face is vitiated during performing checkshape
8## (perhaps - in BRepCheck_Face::ClassifyWire())
9######################################################################
10
11restore [locate_data_file OCC221.brep] result
12set che [checkshape result r]
13if { [regexp {OK} $che] != 1 } {
14 puts "Faulty OCC221 (checkshape) : Checkshape command works wrongly"
15} else {
16 puts "OCC221 OK (checkshape) : Checkshape command works properly"
17}
18puts ""
19set che [checkshape result]
20if { [regexp {Faulty} $che] == 1} {
21 puts "Faulty OCC221 (checkshape) : Checkshape command works wrongly"
22} else {
23 puts "OCC221 OK (checkshape) : Checkshape command works properly"
24}
25
58cf74e0 26checkprops result -s 425.537
5747059b 27checkview -display result -2d -path ${imagedir}/${test_image}.png
0e94a94e 28
29