0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / tests / bugs / modalg_6 / bug24417
1 puts "============"
2 puts "OCC24417"
3 puts "============"
4 puts ""
5 #######################################################################
6 # BRepAlgoAPI_Section fails on attached shapes
7 #######################################################################
8
9 restore [locate_data_file bug24417_circle.brep] a
10 restore [locate_data_file bug24417_face.brep] b
11
12 checkshape a
13 checkshape b
14
15 bop a b
16 bopsection result
17
18 checkprops result -l 19.8372
19
20 set nbshapes_expected "
21 Number of shapes in shape
22  VERTEX : 2
23  EDGE : 1
24  WIRE : 0
25  FACE : 0
26  SHELL : 0
27  SOLID : 0
28  COMPSOLID : 0
29  COMPOUND : 1
30  SHAPE : 4
31
32 "
33 checknbshapes result -ref ${nbshapes_expected} -t -m "Result of BRepAlgoAPI_Section"
34
35 checkview -display result -2d -path ${imagedir}/${test_image}.png