]> 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)
committerabv <abv@opencascade.com>
Mon, 21 Oct 2019 06:58:41 +0000 (09:58 +0300)
commit77eb04bd7b3078b7b1feaace40afebb4202f079d
tree2cfe0b6df48e4f434d788c263af887f345aa3e8c
parent6d2d83f09c476ae0bb78987e9afeedf1a49d78bf
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]