mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0025102: A part of intersection cannot be found
Adding testing case
This commit is contained in:
parent
c45fefa76e
commit
7f3bf449a9
31
tests/bugs/modalg_6/bug25102
Normal file
31
tests/bugs/modalg_6/bug25102
Normal file
@ -0,0 +1,31 @@
|
||||
puts "========"
|
||||
puts "OCC25102"
|
||||
puts "========"
|
||||
puts ""
|
||||
#################################################
|
||||
# A part of intersection cannot be found
|
||||
#################################################
|
||||
|
||||
restore [locate_data_file bug25102.brep] c
|
||||
|
||||
explode c
|
||||
|
||||
bsection result c_1 c_2
|
||||
|
||||
regexp {nb alone Vertices : ([-0-9.+eE]+)} [checksection result] full nbv
|
||||
|
||||
if { $nbv != 2 } {
|
||||
puts "Error : Section is incorrect"
|
||||
} else {
|
||||
puts "Section is correct"
|
||||
}
|
||||
|
||||
checkprops result -l 49.734
|
||||
|
||||
checknbshapes result -edge 44
|
||||
|
||||
smallview
|
||||
fit
|
||||
|
||||
checkview -screenshot -2d -path ${imagedir}/${test_image}.png
|
||||
|
Loading…
x
Reference in New Issue
Block a user