1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/lowalgos/intss/bug24418_1
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

26 lines
617 B
Plaintext

puts "TODO OCC24418 ALL: Error in ii_2: T="
puts "========"
puts "OCC24418"
puts "========"
puts ""
############################################################
# Wrong section curves when intersecting analytical surfaces
############################################################
restore [locate_data_file OCC20964_revsolid.brep] b1
restore [locate_data_file OCC20964_sphere.brep] b2
explode b1 f; copy b1_7 b1
explode b2 f; copy b2_1 b2
mksurface s1 b1
mksurface s2 b2
trimv s1t s1 0 230.14184397163115
intersect ii s1t s2
bounds ii_2 u1 u2
xdistcs ii_2 s1 u1 u2 10 2.0e-7
xdistcs ii_2 s2 u1 u2 10 2.0e-7