mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-15 05:21:05 +08:00
1. New testgrid "lowalgos/intss" has been created. It will contain all test cases on geometrical intersection of two surfaces ("intersect" DRAW-command) and two faces ("bopcurves" DRAW-command).
2. New test case for the issue #28493 has been created because the problem is not reproduced on MASTER.
3. Test case (lowalgos/intss/bug24472) for the issue #29501 has been modified in order to check loops of the resulting intersection curves.
46 lines
894 B
Plaintext
46 lines
894 B
Plaintext
puts "========"
|
|
puts "OCC24772"
|
|
puts "========"
|
|
puts ""
|
|
################################################################
|
|
# Intersection of cylinder and cone produces incorrect results
|
|
################################################################
|
|
|
|
restore [locate_data_file bug24772_s1.draw] s1
|
|
restore [locate_data_file bug24772_s2.draw] s2
|
|
|
|
smallview +X+Y
|
|
fit
|
|
zoom 6
|
|
|
|
set bug_info [intersect r s1 s2]
|
|
|
|
if {[llength $bug_info] != 4} {
|
|
# puts "ERROR: OCC24722 is reproduced."
|
|
} else {
|
|
# snapshot r_1
|
|
clear
|
|
display s1
|
|
display s2
|
|
display r_1
|
|
xwd $imagedir/${casename}_r_1.png
|
|
# snapshot r_2
|
|
clear
|
|
display s1
|
|
display s2
|
|
display r_2
|
|
xwd $imagedir/${casename}_r_2.png
|
|
# snapshot r_3
|
|
clear
|
|
display s1
|
|
display s2
|
|
display r_3
|
|
xwd $imagedir/${casename}_r_3.png
|
|
# snapshot r_4
|
|
clear
|
|
display s1
|
|
display s2
|
|
display r_4
|
|
xwd $imagedir/${casename}_r_4.png
|
|
}
|