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

0028373: Incomplete section between cylinder and plane

Test case has been created.
This commit is contained in:
nbv 2017-01-20 11:15:23 +03:00 committed by apn
parent 2dad173d8b
commit 952886f056

View File

@ -0,0 +1,32 @@
puts "========"
puts "OCC28373"
puts "========"
puts ""
#################################################
# Incomplete section between cylinder and plane
#################################################
restore [locate_data_file bug28373_face.brep] f
restore [locate_data_file bug28373_hole.brep] h
bclearobjects
bcleartools
baddobjects f
baddtools h
bfillds
bbop rs 4
regexp {nb alone Vertices : ([-0-9.+eE]+)} [checksection rs] full nbv
if { $nbv != 0 } { puts "Error : Section is incorrect" }
bbop result 2
checkshape result
checkprops result -s 5.47202
smallview
don h
fit
don result
checkview -screenshot -2d -path ${imagedir}/${test_image}.png