0027252: Implicit-implicit intersection (Cylinder-Plane) loses intersection curve
[occt.git] / tests / bugs / modalg_6 / bug28210
1 puts "============"
2 puts "OCC28210"
3 puts "============"
4 puts ""
5 ####################################################################################
6 # Modeling Algorithms - Boolean cut operation produces incorrect result
7 ####################################################################################
8
9 restore [locate_data_file bug28210_mhx_pmx_ws_pos3.brep] c
10 explode c So
11 bcut result c_1 c_2
12
13 checkshape result
14
15 set nbshapes_expected "
16 Number of shapes in result
17  WIRE      : 29
18  FACE      : 29
19  SHELL     : 1
20  SOLID     : 1
21  COMPSOLID : 0
22  COMPOUND  : 1
23 "
24
25 checknbshapes result -ref ${nbshapes_expected} -t -m "Boolean cut operation"
26 checkprops result -v 213860
27 checkprops result -s 25613.6
28
29 checkview -display result -3d -path ${imagedir}/${test_image}.png