1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-11 10:44:53 +03:00
occt/tests/bugs/modalg/bug497_1
2012-12-07 16:29:17 +04:00

26 lines
745 B
Plaintext
Executable File

puts "TODO OCC12345 ALL: Faulty shapes in variables faulty_1 to faulty_3"
puts "TODO OCC12345 ALL: Error : The square of result shape is"
puts "========="
puts " OCC497 "
puts "(case 1)"
puts "========="
puts ""
########################################################
## Result of cut and fuse operation are faulty shapes although arguments are valid.
########################################################
restore [locate_data_file OCC497a.brep] a_1
puts [checkshape a_1]
restore [locate_data_file OCC497b.brep] a_2
puts [checkshape a_2]
if [catch {bcut result a_1 a_2 } catch_result] {
puts "Faulty OCC497:function CUT works wrongly "
} else {
puts "OCC497 : function CUT works without hangs up "
}
set square 0
set 2dviewer 0