0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / tests / bugs / modalg_7 / bug27390_1
1 puts "========"
2 puts "OCC27390"
3 puts "========"
4 puts ""
5 ###########################################################################
6 #  Box and Ellipsoid shape boolean cut and common introduce invalid result.
7 ###########################################################################
8
9 restore [locate_data_file bug27390_Box_Ellipsoid.brep] c
10
11 explode c
12
13 bcommon result c_1 c_2
14
15 checkshape result
16
17 checkprops result -s 8206.54
18
19 set nbshapes_expected "
20 Number of shapes in shape
21  VERTEX    : 5
22  EDGE      : 8
23  WIRE      : 4
24  FACE      : 4
25  SHELL     : 1
26  SOLID     : 1
27  COMPSOLID : 0
28  COMPOUND  : 1
29  SHAPE     : 24
30 "
31 checknbshapes result -ref ${nbshapes_expected} -t -m "Boolean operations common"
32
33 set tolres [checkmaxtol result]
34
35 if { ${tolres} > 6.e-6} {
36    puts "Error: bad tolerance of result"
37 }
38
39 checkview -display result -3d -path ${imagedir}/${test_image}-3d.png
40 checkview -display result -2d -path ${imagedir}/${test_image}-2d.png