1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-26 10:19:45 +03:00
2012-12-07 16:29:17 +04:00

27 lines
625 B
Plaintext
Executable File

puts "========================"
puts " OCC439 "
puts "========================"
puts ""
#####################################################
## Cut operation produces NOT Valid result on attached shapes
#####################################################
restore [locate_data_file OCC439.brep] a
explode a
puts [checkshape a_1]
puts [checkshape a_2]
bcut result a_1 a_2
set che [checkshape result]
if { [regexp {Faulty} $che ] == 1 } {
puts "Faulty OCC134: Resulte shape is invalid. It was detected by Checkshape command"
} else {
puts "OCC134 OK: Result shape is valid"
}
set square 247000
set 2dviewer 0