6 ######################################################################
7 ##After loading attached file (one simple face) checkshape give a problem (Bad Orientation of SubShape)
8 ## but I believe that this face is correct. Also I believe that face is vitiated during performing checkshape
9 ## (perhaps - in BRepCheck_Face::ClassifyWire())
10 ######################################################################
12 restore [locate_data_file OCC221.brep] result
13 set che [checkshape result r]
14 if { [regexp {OK} $che] != 1 } {
15 puts "Faulty OCC221 (checkshape) : Checkshape command works wrongly"
17 puts "OCC221 OK (checkshape) : Checkshape command works properly"
20 set che [checkshape result]
21 if { [regexp {Faulty} $che] == 1} {
22 puts "Faulty OCC221 (checkshape) : Checkshape command works wrongly"
24 puts "OCC221 OK (checkshape) : Checkshape command works properly"