occt: master e08a9b03

Author Committer Branch Timestamp Parent
emv apn master 2019-02-05 11:58:41 master 55c8f0f7
Changeset 0030470: Modeling Algorithms - Invalid result of offset operation in mode "Complete" with join type "Intersection"

The fix is intended to obtain the correct result of offset operation in which the result contained only the small inverse part of the shape, which clearly should not have been included in the result at all.

The fix adds treatment of the inverted edges while removing the inside faces (collapsed ones) - RemoveInsideFaces method:
- Removing the invalid hanging blocks containing the inverted edges.
- Considering the face containing the inverted edges as the invalid one.

Test cases for the issue.
mod - src/BRepOffset/BRepOffset_MakeOffset_1.cxx Diff File
mod - tests/offset/shape_type_i_c/begin Diff File
add - tests/offset/shape_type_i_c/XS4 Diff File
add - tests/offset/shape_type_i_c/XS5 Diff File
add - tests/offset/shape_type_i_c/XS6 Diff File
add - tests/offset/shape_type_i_c/XS7 Diff File
add - tests/offset/shape_type_i_c/XS8 Diff File
add - tests/offset/shape_type_i_c/XS9 Diff File
add - tests/offset/shape_type_i_c/XT1 Diff File
add - tests/offset/shape_type_i_c/XT2 Diff File
mod - tests/offset/shape_type_i_c/ZC7 Diff File