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_6/bug28009_1
nbv c9c7286e56 0028009: [Regression vs OCCT7.0.0] Cut produces not valid shape
The algorithm in WorkWithBoundaries::BoundaryEstimation(...) did not take into account opposite directions of cylindrical axes (when the angle between them is obtuse). After the fix it does it.

Small correction of test cases for issue CR28009
2016-11-03 14:15:43 +03:00

28 lines
670 B
Plaintext

puts "================"
puts "OCC28009"
puts "================"
puts ""
#######################################################################
# [Regression vs OCCT7.0.0] Cut produces not valid shape
#######################################################################
restore [locate_data_file bug28009_shape.brep] a
explode a
bcut result a_1 a_2
# Check result validity.
checkshape result
# Check number of topological entities in the result.
checknbshapes result -solid 1 -shell 1 -face 12 -wire 12 -edge 28 -vertex 17
# Check result area.
checkprops result -s 4347.99
smallview
don result
fit
checkview -screenshot -2d -path ${imagedir}/${test_image}.png