mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
0026776: Bad result of section algorithm
This commit is contained in:
parent
dfdfa61fb5
commit
98f5d739e3
32
tests/bugs/modalg_7/bug26776
Normal file
32
tests/bugs/modalg_7/bug26776
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
puts "========"
|
||||||
|
puts "OCC26776"
|
||||||
|
puts "========"
|
||||||
|
puts ""
|
||||||
|
##################################################
|
||||||
|
# Bad result of section algorithm
|
||||||
|
##################################################
|
||||||
|
|
||||||
|
restore [locate_data_file bug26580-plate-2.brep] a2
|
||||||
|
restore [locate_data_file bug26776_b2.brep] b2
|
||||||
|
|
||||||
|
bsection result a2 b2
|
||||||
|
|
||||||
|
checkshape result
|
||||||
|
|
||||||
|
checknbshapes result -vertex 2 -edge 1
|
||||||
|
|
||||||
|
regexp {nb alone Vertices : ([-0-9.+eE]+)} [checksection result] full nbv
|
||||||
|
|
||||||
|
if { $nbv != 2 } {
|
||||||
|
puts "Error : Bad result of section algorithm"
|
||||||
|
} else {
|
||||||
|
puts "OK: Good result of section algorithm"
|
||||||
|
}
|
||||||
|
|
||||||
|
checkprops result -l 27.3439
|
||||||
|
|
||||||
|
smallview
|
||||||
|
don result
|
||||||
|
fit
|
||||||
|
|
||||||
|
checkview -screenshot -2d -path ${imagedir}/${test_image}.png
|
Loading…
x
Reference in New Issue
Block a user