Files
OCCT/tests/bugs/modalg_7/bug27004
isn 1f59dfa9c2 0028681: UnifySameDomain distorts face boundary when merges a chain of small linear edges
In case of sequence of edges based on lines (which are going to be unified into one line-segment), take into account a linear tolerance  value.
Get rid of regressions.
Updates of USD-tests.
2018-01-12 12:25:02 +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 16 -edge 22 -wire 8 -face 8 -solid 1
checkprops result -s 223704 -v 3.27888e+006
checkview -display result -2d -path ${imagedir}/${test_image}.png