0028681: UnifySameDomain distorts face boundary when merges a chain of small linear...
[occt.git] / tests / bugs / modalg_7 / bug28157
CommitLineData
bcb8fa43 1puts "========"
2puts "OCC28157"
3puts "========"
4puts ""
5#######################################################################################################################
6# Setting the tolerance of a face to a small value and then fixing it leads to a face with vertex-vertex intersections
7#######################################################################################################################
8
9brunparallel 1
10
11restore [locate_data_file bug28157_init.brep] n
12whatis n
13tolerance n
14checkshape n
15bopcheck n
16
17restore [locate_data_file bug28157_solid.brep] s
18whatis s
19tolerance s
20checkshape s
21bopcheck s
22
23bop s n
24bopcommon r
25whatis r
26
27explode r
28whatis r_1
29tolerance r_1
30
31settolerance r_1 1e-7
32fixshape rr r_1
33tolerance rr
34checkshape rr
35
36set Log [bopcheck rr]
37if {[regexp "This shape seems to be OK" ${Log}] != 1} {
38 puts "Error: there are vertex-vertex intersections"
39}
40
41checkview -display rr -2d -path ${imagedir}/${test_image}.png