mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +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
35 lines
741 B
Plaintext
Executable File
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
|