mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-06-15 11:44:07 +03:00
Test case tests/bugs/modalg/dxf906 was renamed to bug889 Adding test cases to tests/bugs/moddata Modified expressions puts [checkshape result]. Added command vzfit in end file in folder bugs. Unlocked command coordload in QABugs_3.cxx Modified test case bugs vis buc60738 Added test cases to modalg and moddata Added test cases to caf and fclasses Added test cases to group heal
29 lines
583 B
Plaintext
Executable File
29 lines
583 B
Plaintext
Executable File
|
|
puts "============"
|
|
puts "BUC60788"
|
|
puts "case 1"
|
|
puts "============"
|
|
|
|
#restore Intersection_Shell1_Case1.brep S1
|
|
#restore Intersection_Shell2_Case1.brep S2
|
|
|
|
restore [locate_data_file buc60788a.brep] S1
|
|
checkshape S1
|
|
restore [locate_data_file buc60788b.brep] S2
|
|
checkshape S2
|
|
|
|
bsection result S1 S2
|
|
|
|
set nb_info [nbshapes result]
|
|
regexp {VERTEX +: +([-0-9.+eE]+)} $nb_info full err
|
|
regexp {SHELL +: +([-0-9.+eE]+)} $nb_info full err1
|
|
|
|
if { $err != 4 && $err1 != 3} {
|
|
puts "Faulty : result (res) is incorrect"
|
|
} else {
|
|
puts "BUC60788 - OK"
|
|
}
|
|
|
|
set length 750
|
|
set 2dviewer 0
|