1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
nbv a6ebe9fc7c 0028493: [Regression vs 7.0.0] Intersection algorithm produces curve with loop
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.
2018-10-30 16:04:24 +03:00

24 lines
613 B
Plaintext

puts "========================"
puts " OCC431 "
puts "========================"
puts ""
#####################################
## Intersection of two surfaces is not compleate curve.
#####################################
restore [locate_data_file OCC431a.draw] su1
restore [locate_data_file OCC431b.draw] su2
intersect result su1 su2
set che [whatis result]
if { ![regexp {curve} $che] || ![regexp {3d} $che]} {
puts "Faulty OCC431 : Command INTERSECT works WRONGLY"
} else {
puts "OCC431 OK : Command INTERSECT works properly"
}
checkview -display result -2d -path ${imagedir}/${test_image}.png