0028681: UnifySameDomain distorts face boundary when merges a chain of small linear...
[occt.git] / tests / bugs / modalg_6 / bug28207
CommitLineData
90271a90 1puts "========"
2puts "OCC28207"
3puts "========"
4puts ""
5#########################################################
6## Unexpected result of the unify same domain algorithm
7#########################################################
8
9restore [locate_data_file bug28207_face.brep] s1
10
11unifysamedom result1 s1
1f59dfa9 12checkshape result1
90271a90 13checknbshapes result1 -face 1 -wire 1 -edge 984
1f59dfa9 14checkprops result1 -l 10402.1
90271a90 15
1f59dfa9 16#safeInputMode is true for USD
90271a90 17unifysamedom result2 s1 -a 0.001
1f59dfa9 18checkshape result2
19checknbshapes result2 -face 1 -wire 1 -edge 983
20checkprops result2 -l 10402.1
90271a90 21
1f59dfa9 22unifysamedom result3 s1 -a 1.0
23checkshape result3
24checknbshapes result3 -face 1 -wire 1 -edge 983
25checkprops result3 -l 10402.1
90271a90 26
1f59dfa9 27unifysamedom result4 s1 -t 0.01 -a 0.1
28checkshape result4
29checknbshapes result4 -face 1 -wire 1 -edge 510
30checkprops result4 -l 10402.1
31
32unifysamedom result5 s1 -t 0.1 -a 0.1
33checkshape result5
34checknbshapes result5 -face 1 -wire 1 -edge 198
35checkprops result5 -l 10402.1
36
37unifysamedom result6 s1 -t 1.0 -a 0.1
38checkshape result6
39checknbshapes result6 -face 1 -wire 1 -edge 65
40checkprops result6 -l 10401.9
41
42checkview -display result1 -2d -path ${imagedir}/${test_image}.png