0027557: Unstable HLR tests
[occt.git] / tests / bugs / modalg_6 / bug26173
1 puts "============"
2 puts "OCC26173"
3 puts "============"
4 puts ""
5 #######################################################################
6 # Wrong result of ChFi3d_ChBuilder algorithm: incorrect processing of G1 junctions at vertex
7 #######################################################################
8
9 restore [locate_data_file bug26173_lim1.brep] b
10
11 explode b e
12 copy b_10 e
13 explode b f
14 copy b_3 f1
15
16 smallview
17 donly b f1 e
18 fit
19 xwd $imagedir/${test_image}_1.png
20
21 chamf result b e f1 1 1
22
23 donly result
24 fit
25 xwd $imagedir/${test_image}_2.png
26
27 checkprops result -s 662.657 
28 checkshape result
29
30 set nbshapes_expected "
31 Number of shapes in shape
32  VERTEX    : 22
33  EDGE      : 33
34  WIRE      : 15
35  FACE      : 14
36  SHELL     : 1
37  SOLID     : 1
38  COMPSOLID : 0
39  COMPOUND  : 1
40  SHAPE     : 87
41 "
42
43 checknbshapes result -ref ${nbshapes_expected} -t -m "Result of ChFi3d_ChBuilder algorithm"