0027300: Boolean operation produces invalid shape in terms of "bopargcheck" command
[occt.git] / tests / bugs / modalg_6 / bug24417
CommitLineData
5fb5b5c4 1puts "============"
2puts "OCC24417"
3puts "============"
4puts ""
5#######################################################################
6# BRepAlgoAPI_Section fails on attached shapes
7#######################################################################
8
9restore [locate_data_file bug24417_circle.brep] a
10restore [locate_data_file bug24417_face.brep] b
11
12checkshape a
13checkshape b
14
15bop a b
16bopsection result
17
2f9dedc5 18checkprops result -l 19.8372
5fb5b5c4 19
20set nbshapes_expected "
21Number 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"
33checknbshapes result -ref ${nbshapes_expected} -t -m "Result of BRepAlgoAPI_Section"
34
5747059b 35checkview -display result -2d -path ${imagedir}/${test_image}.png