1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-09 18:50:54 +03:00
2012-12-05 17:17:05 +04:00

30 lines
988 B
Plaintext
Executable File

puts "========"
puts "OCC221"
puts "========"
puts ""
######################################################################
##After loading attached file (one simple face) checkshape give a problem (Bad Orientation of SubShape)
## but I believe that this face is correct. Also I believe that face is vitiated during performing checkshape
## (perhaps - in BRepCheck_Face::ClassifyWire())
######################################################################
restore [locate_data_file OCC221.brep] result
set che [checkshape result r]
if { [regexp {OK} $che] != 1 } {
puts "Faulty OCC221 (checkshape) : Checkshape command works wrongly"
} else {
puts "OCC221 OK (checkshape) : Checkshape command works properly"
}
puts ""
set che [checkshape result]
if { [regexp {Faulty} $che] == 1} {
puts "Faulty OCC221 (checkshape) : Checkshape command works wrongly"
} else {
puts "OCC221 OK (checkshape) : Checkshape command works properly"
}
set square 425.537
set 2dviewer 0