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:
parent
2dad173d8b
commit
952886f056
32
tests/bugs/modalg_6/bug28373
Normal file
32
tests/bugs/modalg_6/bug28373
Normal 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
|
Loading…
x
Reference in New Issue
Block a user