1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-07-30 13:05:50 +03:00
occt/tests/bugs/modalg_6/bug26132
nbv 6dc83e21b2 0026132: Invalid result of boolean operation
1. The procedures for check of coincidence between Edge-Edge and Edge-Face have been added. These methods are used instead of searching interferences between corresponding sub-shapes. In most cases (including case for this issue), new methods are more reliable and faster than intersections. However, its use should be avoided in case when the edge is not coincide with edge/face of another argument evidently (e.g. if edge vertices are not in another edge/face).

2. Interface of both IntTools_EdgeFace and IntTools_EdgeEdge has been changed (adding/deleted some field and methods).

Some test cases have been corrected in accordance with their new behavior.
Test case for issue CR26132.
2016-01-21 15:50:29 +03:00

32 lines
604 B
Plaintext
Executable File

puts "============"
puts "OCC26132"
puts "============"
puts ""
######################################################
# Invalid result of boolean operation
######################################################
restore [locate_data_file bug26132_shape.brep] c
explode c
bcommon result c_1 c_2
set square 947.358
set nbshapes_expected "
Number of shapes in shape
VERTEX : 6
EDGE : 11
WIRE : 8
FACE : 8
SHELL : 2
SOLID : 2
COMPSOLID : 0
COMPOUND : 1
SHAPE : 38
"
checknbshapes result -ref ${nbshapes_expected} -t -m "Boolean operations common"
set 3dviewer 1