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
53 lines
1.4 KiB
Plaintext
Executable File
53 lines
1.4 KiB
Plaintext
Executable File
puts "TODO OCC12345 ALL: Faulty OCC565: function intersection works wrongly with trimmed Surfaces"
|
|
|
|
puts "========"
|
|
puts "OCC567"
|
|
puts "========"
|
|
puts ""
|
|
#######################################
|
|
## Can not intersect two Rectangular Trimmed Surfaces .
|
|
#######################################
|
|
|
|
restore [locate_data_file OCC567a.draw] s1
|
|
restore [locate_data_file OCC567b.draw] s2
|
|
|
|
if { [catch {intersect i s1 s2 } catch_result] } {
|
|
puts "Faulty OCC565: function intersection works wrongly with infinite Surfaces"
|
|
} else {
|
|
set j 1
|
|
repeat 11 {
|
|
set err [lindex [whatis i_$j] 5]
|
|
if { $err != "curve"} {
|
|
puts " Faulty OCC565: function intersection works wrongly with infinite Surfaces"
|
|
break
|
|
} else {
|
|
puts [format "%s ) OCC565 OK: function intersection works with infinite Surfaces" $j]
|
|
}
|
|
incr j}
|
|
}
|
|
|
|
trim s1x s1 0 2*pi 0 2*pi/13
|
|
trim s2x s2 0 2*pi 0 2*pi/13
|
|
|
|
if { [catch {intersect result s1x s2x } catch_result] } {
|
|
puts "Faulty OCC565 exception: function intersection works wrongly with trimmed Surfaces"
|
|
} else {
|
|
set nom 0
|
|
set j 1
|
|
repeat 11 {
|
|
set err [lindex [whatis result_$j] 5]
|
|
if { $err != "curve"} {
|
|
break
|
|
} else {
|
|
set nom [expr $nom + 1]
|
|
}
|
|
incr j
|
|
}
|
|
if { $nom == 0} {
|
|
puts "Faulty OCC565: function intersection works wrongly with trimmed Surfaces"
|
|
} else {
|
|
puts " OCC565 OK: function intersection works with trimmed Surfaces"
|
|
}
|
|
}
|
|
|