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