mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0026820: bsection returns single vertex instead of curve
Test case has been created only because the problem is not reproduced on current MASTER.
This commit is contained in:
parent
9bc5f5850a
commit
3c8287eb0a
23
tests/bugs/modalg_7/bug26820
Normal file
23
tests/bugs/modalg_7/bug26820
Normal file
@ -0,0 +1,23 @@
|
||||
puts "========"
|
||||
puts "0026820: bsection returns single vertex instead of curve"
|
||||
puts "========"
|
||||
puts ""
|
||||
|
||||
restore [locate_data_file bug26820_body_shell.brep] b
|
||||
restore [locate_data_file bug26820_section_plane.brep] s
|
||||
|
||||
bsection result b s
|
||||
checksection result -r 0
|
||||
checkshape result
|
||||
checknbshapes result -edge 1 -vertex 1
|
||||
checkprops result -l 2333.68
|
||||
|
||||
if {[regexp "Faulties" [bopargcheck result]]} {
|
||||
puts "Error: bopargcheck has found some faulties in result"
|
||||
}
|
||||
|
||||
smallview
|
||||
don result
|
||||
fit
|
||||
|
||||
checkview -screenshot -2d -path ${imagedir}/${test_image}.png
|
Loading…
x
Reference in New Issue
Block a user