1puts "============" 2puts "OCC22793" 3puts "============" 4puts "" 5###################################################### 6# Boolean cut operation hangs computer 7###################################################### 8 9restore [locate_data_file bug22793_Positive.brep] p 10restore [locate_data_file bug22793_Void.brep] v 11 12checkshape p 13tolerance p 14 15checkshape v 16tolerance v 17 18bop p v 19bopcut result 20 21checkprops result -s 1.89516e+07 22checkshape result 23 24set nbshapes_expected " 25Number of shapes in result 26 VERTEX : 16 27 EDGE : 24 28 WIRE : 10 29 FACE : 10 30 SHELL : 1 31 SOLID : 1 32 COMPSOLID : 0 33 COMPOUND : 1 34 SHAPE : 63 35" 36checknbshapes result -ref ${nbshapes_expected} -t -m "Result obtained by Boolean cut operation" 37 38checkview -display result -2d -path ${imagedir}/${test_image}.png 39