]> 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)
committerkgv <kgv@opencascade.com>
Sat, 19 Oct 2019 12:52:26 +0000 (15:52 +0300)
commit2098211ee6ce830d08ddc1b9d3dddef86ea082ba
tree1c354631ba3908d68bd9b608589a7ec2c77cde88
parent0a2ee3e5c92c8297d4d2e355a661732689914b22
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]