1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-09 18:50:54 +03:00
occt/tests/bugs/modalg_4/bug755_1
ski a8676008f7 Adding of testing cases from subgroups 937 940 and 941 of CHL group
Splitting of subgroups bugs/modalg and bugs/moddata to optimise time of testing
Correction of end file in group v3d
Small correction of test case
2013-02-08 15:16:15 +04:00

35 lines
741 B
Plaintext
Executable File

puts "========"
puts "OCC755"
puts "SAM1607"
puts "(case 1)"
puts "========"
puts ""
####################################################################
##Result of cut of capteur2 from capteur1 is a solid. It must be a compound, as it consists of 2 bodies.
####################################################################
restore [locate_data_file OCC755_1.brep] a1
checkshape a1
restore [locate_data_file OCC755_2.brep] a2
checkshape a2
bcut result a1 a2
set wt_is [whatis result]
set lth [llength $wt_is]
if {$lth < 5} {
puts "Faulty OCC755 (case 1)"
} else {
if {[regexp {COMPOUND} $wt_is] == 1} {
puts "OCC755 OK (case 2)"
} else {
puts "Faulty OCC755 (case 2)"
}
}
set square 1.57358e+06
set 2dviewer 0