0027341: Incorrect exact HLR results
[occt.git] / tests / bugs / modalg_6 / bug26576_2
CommitLineData
77dbd1f1 1puts "============"
2puts "OCC26576"
3puts "============"
4puts ""
5###############################
6## Wrong result obtained by intersection algorithm.
7###############################
8
9pload DCAF
10
11Open [locate_data_file bug26576_study1_new_geom.cbf] D
12
13GetShape D 0:1:484:1:1:2 b1
14GetShape D 0:1:478:1:1:2 b2
15
16#General fuse
17
18bclearobjects
19bcleartools
20baddobjects b1
21baddtools b2
22bfillds
23
24bbuild result
25
26smallview
27donly result
28fit
29
30checkshape result
31
32set nbshapes_expected "
33Number of shapes in shape
34 VERTEX : 4
35 EDGE : 12
36 WIRE : 10
37 FACE : 8
38 SHELL : 4
39 SOLID : 4
40 COMPSOLID : 0
41 COMPOUND : 1
42 SHAPE : 43
43"
44
45checknbshapes result -ref ${nbshapes_expected} -t -m "General fuse"
46
5747059b 47checkview -screenshot -2d -path ${imagedir}/${test_image}.png