0029188: Null shape is produced by 3D offset algorithm (mode="Complete", Join Type...
authoremv <emv@opencascade.com>
Fri, 6 Oct 2017 06:35:54 +0000 (09:35 +0300)
committerbugmaster <bugmaster@opencascade.com>
Mon, 16 Oct 2017 14:54:42 +0000 (17:54 +0300)
commitbc4a38670ea04f5e5a05760411e228ef1d41bbe4
tree7973bde8a4301fc07e642ec218e7336b2ee3fe7c
parentdfc3f102e6f78e19a0b2d92e76f39cd45b2c0d9c
0029188: Null shape is produced by 3D offset algorithm (mode="Complete", Join Type="Intersection")

The following improvements have been made in the 3D offset algorithm for mode "Complete" and Join type "Intersection":
- RemoveInsideFaces() - Removal of the invalid parts outside of the solids built from the splits of offset faces is now performed. It helps to avoid their rebuilding and speed-up the computation.
- FindVerticesToAvoid() - Strengthening the criteria for the vertices to be avoided in the new splits.

Test cases for the issue.
Adjustment of the test cases to current behavior.
22 files changed:
src/BRepOffset/BRepOffset_MakeOffset_1.cxx
tests/offset/shape_type_i_c/XE5
tests/offset/shape_type_i_c/XF1
tests/offset/shape_type_i_c/XP1 [new file with mode: 0644]
tests/offset/shape_type_i_c/XP2 [new file with mode: 0644]
tests/offset/shape_type_i_c/XP3 [new file with mode: 0644]
tests/offset/shape_type_i_c/XP4 [new file with mode: 0644]
tests/offset/shape_type_i_c/XP5 [new file with mode: 0644]
tests/offset/shape_type_i_c/XP6 [new file with mode: 0644]
tests/offset/shape_type_i_c/XP7 [new file with mode: 0644]
tests/offset/shape_type_i_c/XP8 [new file with mode: 0644]
tests/offset/shape_type_i_c/XP9 [new file with mode: 0644]
tests/offset/shape_type_i_c/XQ1 [new file with mode: 0644]
tests/offset/shape_type_i_c/XQ2 [new file with mode: 0644]
tests/offset/shape_type_i_c/XQ3 [new file with mode: 0644]
tests/offset/shape_type_i_c/XQ4 [new file with mode: 0644]
tests/offset/shape_type_i_c/ZX6
tests/offset/shape_type_i_c/ZX7
tests/offset/shape_type_i_c/ZX8
tests/offset/shape_type_i_c/ZY2
tests/offset/shape_type_i_c/ZY3
tests/offset/shape_type_i_c/ZY9