mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0028883: Invalid result of Section operation
This commit is contained in:
parent
fe4f17f018
commit
a07cff6957
21
tests/bugs/modalg_7/bug28883_1
Normal file
21
tests/bugs/modalg_7/bug28883_1
Normal file
@ -0,0 +1,21 @@
|
||||
puts "======="
|
||||
puts "OCC28883"
|
||||
puts "======="
|
||||
puts ""
|
||||
##################################################
|
||||
# Invalid result of Section operation
|
||||
##################################################
|
||||
|
||||
restore [locate_data_file bug28883_Prism.brep] b1
|
||||
restore [locate_data_file bug28883_LES_2d_shell.brep] b2
|
||||
|
||||
explode b1 f; copy b1_51 b1
|
||||
explode b2 f; copy b2_8 b2
|
||||
|
||||
bsection result b1 b2
|
||||
|
||||
checkshape result
|
||||
checksection result
|
||||
|
||||
checknbshapes result -edge 1 -vertex 2
|
||||
checkprops result -l 7.13116e-007
|
20
tests/bugs/modalg_7/bug28883_2
Normal file
20
tests/bugs/modalg_7/bug28883_2
Normal file
@ -0,0 +1,20 @@
|
||||
puts "======="
|
||||
puts "OCC28883"
|
||||
puts "======="
|
||||
puts ""
|
||||
##################################################
|
||||
# Invalid result of Section operation
|
||||
##################################################
|
||||
|
||||
restore [locate_data_file bug28883_Prism.brep] b1
|
||||
restore [locate_data_file bug28883_LES_2d_shell.brep] b2
|
||||
|
||||
bsection result b1 b2
|
||||
|
||||
checkshape result
|
||||
checksection result
|
||||
|
||||
checknbshapes result -edge 133 -vertex 134
|
||||
checkprops result -l 2.20769
|
||||
|
||||
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
Loading…
x
Reference in New Issue
Block a user