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

0025423: Incorrect result of splitting some shapes

Adding testing case
This commit is contained in:
bugmaster 2016-09-09 16:10:56 +03:00
parent 15b9dfc95d
commit 7b3aef359f
2 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,28 @@
puts "============"
puts "OCC25423"
puts "============"
puts ""
######################################################
# Incorrect result of splitting some shapes. Case 1
######################################################
restore [locate_data_file bug25423a.brep] f
restore [locate_data_file bug25423b.brep] e
checkshape f
checkshape e
splitshape result f f e
checkshape result
maxtolerance result
checknbshapes result -face 2
checkprops result -s 16.918
checkview -display result -2d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,28 @@
puts "============"
puts "OCC25423"
puts "============"
puts ""
######################################################
# Incorrect result of splitting some shapes. Case 2
######################################################
restore [locate_data_file bug25423c.brep] f
restore [locate_data_file bug25423d.brep] e
checkshape f
checkshape e
splitshape result f f e
checkshape result
maxtolerance result
checknbshapes result -face 2
checkprops result -s 5.6486
checkview -display result -2d -path ${imagedir}/${test_image}.png