mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 01:58:22 +08:00
Modified TODO in some offset cases. Deleted the same test cases bug697_* in /bugs/modalg Deleted test cases which is based on v2d commands Added test cases to folder bugs
29 lines
656 B
Plaintext
Executable File
29 lines
656 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC22923"
|
|
puts "============"
|
|
#######################################################################
|
|
# The command "intersect" throws an exception
|
|
#######################################################################
|
|
|
|
set BugNumber OCC22923
|
|
|
|
restore [locate_data_file bug22923_Face-2_7.brep] b1
|
|
restore [locate_data_file bug22923_Face-7_0.brep] b2
|
|
|
|
set exception_status 0
|
|
|
|
mksurface s1 b1
|
|
mksurface s2 b2
|
|
|
|
set msg [ intersect i s1 s2 ]
|
|
set index [ lsearch $msg Exception ]
|
|
|
|
if {$index > -1} {
|
|
set exception_status 1 }
|
|
|
|
if { ${exception_status} != 0 } {
|
|
puts "Faulty ${BugNumber}"
|
|
} else {
|
|
puts "OK ${BugNumber}"
|
|
}
|