1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00
occt/tests/bugs/modalg_5/bug25819_1
nbv e002f1ce5b 0025819: Bad result of BOP cut on valid shapes
1. Algorithm of adjusting parameter to the surface boundaries has been changed.
2. Control First and Last parameters in BRepLib_CheckCurveOnSurface::Compute() function.

Test cases for issue CR25819
2015-02-19 15:00:51 +03:00

31 lines
626 B
Plaintext

puts "============"
puts "OCC25819"
puts "============"
puts ""
######################################################
# Bad result of BOP cut on valid shapes
######################################################
restore [locate_data_file bug25819_1_BodyA.brep] a
restore [locate_data_file bug25819_1_BodyB.brep] b
bcut result a b
set square 379421
set nbshapes_expected "
Number of shapes in shape
VERTEX : 20
EDGE : 30
WIRE : 12
FACE : 11
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 1
SHAPE : 76
"
checknbshapes result ${nbshapes_expected} 1 "Result of BOP cut"
set 2dviewer 1