0025957: nurbsconvert modifies original shape
[occt.git] / tests / bugs / modalg_6 / bug26080
1 puts "============"
2 puts "OCC26080"
3 puts "============"
4 puts ""
5 ###############################
6 ## Wrong result obtained by General Fuse operator.
7 ###############################
8
9 restore [locate_data_file bug26080_qef001.brep] q
10
11 explode q
12 copy q_1 b1
13 copy q_2 b2
14
15 bclearobjects
16 bcleartools
17 baddobjects b1 b2
18  
19 bfillds
20 bbuild result
21
22 checkprops result -s 1.36058e+06 
23 checkshape result
24
25 set nbshapes_expected "
26 Number of shapes in shape
27  VERTEX    : 7
28  EDGE      : 6
29  WIRE      : 1
30  FACE      : 1
31  SHELL     : 0
32  SOLID     : 0
33  COMPSOLID : 0
34  COMPOUND  : 1
35  SHAPE     : 16
36 "
37 checknbshapes result -ref ${nbshapes_expected} -t -m "Result obtained by General Fuse operator"
38 checkview -display result -3d -path ${imagedir}/${test_image}.png