]> OCCT Git - occt-copy.git/commit
0031031: Incorrect result is returned from BRepPrimAPI_MakePrism::Generated()
authorifv <ifv@opencascade.com>
Tue, 8 Oct 2019 11:44:04 +0000 (14:44 +0300)
committermpv <mpv@opencascade.com>
Tue, 14 Jan 2020 12:42:38 +0000 (15:42 +0300)
commit6b3be99225487313e8031ff80032aacfbd2fa0d8
tree3592375ef01fd5800e27631b129b4548ba4c16a3
parentde7da66916faf16b777c5e00fb8e3cbe46acd70f
0031031: Incorrect result is returned from BRepPrimAPI_MakePrism::Generated()

1. src\BRepSweep\BRepSweep_NumLinearRegularSweep.cxx

Fix bug by adding result in list of generated shapes, if initial shape is vertex, edge or face.

2. src\BRepLib\BRepLib.cxx

Add protection against treatment not geometric edge in BRepLib::UpdateInnerTolerances(...)

3. Add test case for bug and correct test for bug 30346 according to new behavior of algorithm
src/BRepLib/BRepLib.cxx
src/BRepSweep/BRepSweep_NumLinearRegularSweep.cxx
tests/bugs/modalg_7/bug30346_2
tests/bugs/modalg_7/bug31031 [new file with mode: 0644]