1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-08 18:40:55 +03:00
occt/tests/bugs/modalg_1/buc60712
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

51 lines
998 B
Plaintext
Executable File

puts "=========="
puts "BUC60712"
puts "=========="
puts ""
puts "=================================="
puts "It takes visual check for this BUG"
puts "=================================="
#
# OCC22070: Grid Tests: CHL set, detected problems
# Problems:
# The shape buc60712a.brep is self-interferred.
# thus it can not be used as the argument for Boolean Operation Algorithm.
#
# Proposals:
# The Case chl/902/F3 should be removed or rewritten:
restore [locate_data_file buc60712a.brep] a
checkshape a
restore [locate_data_file buc60712b.brep] b
checkshape b
# Recompute "a" shape
explode a f
bop a_1 a_2
bopfuse r12
bop a_3 a_4
bopfuse r34
bop r12 r34
bopfuse r
# Start boolean operation
bop r b
bopsection result
# Check result
regexp {nb alone Vertices : ([-0-9.+eE]+)} [checksection result] full num
# Resume
if { $num != 0 } {
puts " Faulty BUC60712: Result shape is INcorrect !!! "
} else {
puts "BUC60712 OK: Result shape is correct "
}
set length 1.88145
set 2dviewer 0