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

0026796: The result of General Fuse operation is self-intersecting shape

Adding test case
This commit is contained in:
bugmaster 2017-02-28 15:02:55 +03:00
parent 7a033414d5
commit 0d0c99de4d

View File

@ -0,0 +1,28 @@
puts "========"
puts "OCC26796"
puts "========"
puts ""
#################################################
# General Fuse operation error
#################################################
box b1 10 10 10
box b2 10.00000018 0 0 10 10 10
explode b2 f
copy b2_1 f
trotate f 0 5 5 0 1 0 10
mksurface s f
mkface f s -100 100 -100 100
bclearobjects
bcleartools
baddobjects b1 b2 f
bfillds
bbuild result
bopcheck result
checkshape result
checknbshapes result -solid 4
checkprops result -v 2852.9 -s 41403.1
checkview -display result -2d -path ${imagedir}/${test_image}.png