1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-21 10:13:43 +03:00
2012-12-05 17:17:05 +04:00

27 lines
817 B
Plaintext
Executable File

puts "========"
puts "OCC234"
puts "========"
######################################################################
##I believe that attached shape is OK but checkshape finds out some problems (Bad Orientation of Subshape).
######################################################################
restore [locate_data_file OCC234.brep] result
set che [checkshape result r]
if { [regexp {OK} $che] != 1 } {
puts "Faulty OCC234 (checkshape) : Checkshape command works wrongly"
} else {
puts "OCC234 OK (checkshape) : Checkshape command works properly"
}
set che [checkshape result]
if { [regexp {Faulty} $che] == 1 } {
puts "Faulty OCC234 (checkshape) : Checkshape command works wrongly"
} else {
puts "OCC234 OK (checkshape) : Checkshape command works properly"
}
set square 2464.17
set 2dviewer 0