1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

0023585: Boolean Fuse Operation Fails.

Adding test case
This commit is contained in:
bugmaster 2016-08-19 16:44:19 +03:00
parent 4eb65ae9ee
commit afa6834bcd

View File

@ -0,0 +1,39 @@
puts "============"
puts "OCC23585"
puts "============"
puts ""
######################################################
# Boolean Fuse Operation Fails
######################################################
restore [locate_data_file bug23585a.brep] p
restore [locate_data_file bug23585b.brep] v
checkshape p
tolerance p
checkshape v
tolerance v
bop p v
bopfuse result
checkprops result -s 14796.8
checkshape result
set nbshapes_expected "
Number of shapes in result
VERTEX : 18
EDGE : 30
WIRE : 14
FACE : 14
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 1
SHAPE : 79
"
checknbshapes result -ref ${nbshapes_expected} -t -m "Result obtained by Boolean cut operation"
checkview -display result -2d -path ${imagedir}/${test_image}.png