1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/modalg_7/bug27004
emv 06084bb8ec 0029544: Regression vs 7.2.0: ShapeUpgrade_UnifySameDomain fails to merge linear edges
When measuring the deviation of the end of the added edge from the resulting edge take the point on the curve, not from the vertex.

Test cases for the issue.
2018-03-16 14:56:16 +03:00

31 lines
687 B
Plaintext

puts "========"
puts "OCC27004"
puts "========"
puts ""
#####################################################
# ShapeUpgrade_UnifySameDomain produces invalid result
#####################################################
restore [locate_data_file bug27004_prim_0_1.brep] s0
restore [locate_data_file bug27004_prim_0_29.brep] s1
restore [locate_data_file bug27004_prim_0_30.brep] s2
bclear
bfuzzyvalue 1e-5
baddobjects s0 s1 s2
baddtools s0 s1 s2
bfillds
bbop r 1
unifysamedom result r
checkshape result
checknbshapes result -vertex 12 -edge 18 -wire 8 -face 8 -solid 1
checkprops result -s 223704 -v 3.27888e+006
checkview -display result -2d -path ${imagedir}/${test_image}.png