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:
parent
cee2b5567d
commit
2783b13ce6
20
tests/bugs/modalg_7/bug28893_1
Normal file
20
tests/bugs/modalg_7/bug28893_1
Normal 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
|
25
tests/bugs/modalg_7/bug28893_2
Normal file
25
tests/bugs/modalg_7/bug28893_2
Normal 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
|
20
tests/bugs/modalg_7/bug28893_3
Normal file
20
tests/bugs/modalg_7/bug28893_3
Normal 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
|
25
tests/bugs/modalg_7/bug28893_4
Normal file
25
tests/bugs/modalg_7/bug28893_4
Normal 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
|
Loading…
x
Reference in New Issue
Block a user