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/bug29099
emv d68b195fb6 0029099: Extra shapes in result of General Cut (box by ellipsoid)
Boolean Operations - when looking for the splitting parameters on the degenerated edges try not only the intersection of the 2D curve of degenerated edge with 2D curves of other edges bounded by the vertex of degenerated edge, but also the projection of the end points of the edges corresponding to the vertex on the 2d curve of degenerated edge.
2017-09-22 11:51:47 +03:00

23 lines
577 B
Plaintext

puts "======="
puts "0029099"
puts "======="
puts ""
##################################################
# Extra shapes in result of General Cut (box by ellipsoid)
##################################################
brestore [locate_data_file bug29099_Box.brep] b1
brestore [locate_data_file bug29099_Rotation.brep] b2
bclearobjects
bcleartools
baddobjects b1
baddtools b2
bfillds
bbuild result
checkshape result
checknbshapes result -wire 11 -face 10 -shell 3 -solid 3
checkprops result -s 12651.3 -v 52187.5
checkview -display result -2d -path ${imagedir}/${test_image}.png