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

0028893: BOP cut produces result with artifacts consisting of tools parts

This commit is contained in:
emv 2017-08-09 09:13:18 +03:00 committed by bugmaster
parent cee2b5567d
commit 2783b13ce6
4 changed files with 90 additions and 0 deletions

View File

@ -0,0 +1,20 @@
puts "======="
puts "OCC28893"
puts "======="
puts ""
##################################################
# BOP cut produces result with artifacts consisting of tools parts
##################################################
binrestore [locate_data_file bug28893_shape1.bin] b1
binrestore [locate_data_file bug28893_tools1.bin] b2
bcut result b1 b2
checkshape result
checknbshapes result -solid 1 -shell 1 -face 23 -wire 27
checkprops result -s 2.35544e+006
checkprops result -v 1.15441e+007
checkview -display result -2d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,25 @@
puts "======="
puts "OCC28893"
puts "======="
puts ""
##################################################
# BOP cut produces result with artifacts consisting of tools parts
##################################################
binrestore [locate_data_file bug28893_shape1.bin] b1
binrestore [locate_data_file bug28893_tools1.bin] b2
bclearobjects
bcleartools
baddobjects b1
baddtools b2
bfillds
bbuild result
checkshape result
checknbshapes result -solid 7 -shell 7 -face 35 -wire 39
checkprops result -s 2.36684e+006
checkprops result -v 1.15772e+007
checkview -display result -2d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,20 @@
puts "======="
puts "OCC28893"
puts "======="
puts ""
##################################################
# BOP cut produces result with artifacts consisting of tools parts
##################################################
binrestore [locate_data_file bug28893_shape2.bin] b1
binrestore [locate_data_file bug28893_tools2.bin] b2
bcut result b1 b2
checkshape result
checknbshapes result -solid 1 -shell 1 -face 23 -wire 27
checkprops result -s 1.10298e+006
checkprops result -v 5.38055e+006
checkview -display result -2d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,25 @@
puts "======="
puts "OCC28893"
puts "======="
puts ""
##################################################
# BOP cut produces result with artifacts consisting of tools parts
##################################################
binrestore [locate_data_file bug28893_shape2.bin] b1
binrestore [locate_data_file bug28893_tools2.bin] b2
bclearobjects
bcleartools
baddobjects b1
baddtools b2
bfillds
bbuild result
checkshape result
checknbshapes result -solid 7 -shell 7 -face 36 -wire 40
checkprops result -s 1.11391e+006
checkprops result -v 5.41362e+006
checkview -display result -2d -path ${imagedir}/${test_image}.png