1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/modalg_7/bug28883_2
nbv 94783b5111 0028085: Incorrect result of CUT operation
Before the fix, small arc of circle returned as intersection result. It was connected with the fact that the circle always was limited in 0 and 2*PI points. Currently the bounds of the circle (retrieved as an intersection curve) are computed from the real domain of the arguments (there is not a snap to the fixed 0 and 2*PI points).
2018-07-31 19:21:41 +03:00

20 lines
503 B
Plaintext

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 132 -vertex 133
checkprops result -l 2.20769
checkview -display result -2d -path ${imagedir}/${test_image}.png