mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0028949: BRepOffsetAPI_MakePipe Generated() method produces no result for spine edges
Add history for subshapes of spine: edges and vertices. Each edge of spine generates a shell. Each vertex of spine generates a set of edges and, possibly, faces (in the case of Round Corner).
This commit is contained in:
@@ -779,9 +779,11 @@ static Standard_Integer buildsweep(Draw_Interpretor& di,
|
||||
// Save history of sweep
|
||||
if (BRepTest_Objects::IsHistoryNeeded())
|
||||
{
|
||||
TopTools_ListOfShape aProfiles;
|
||||
Sweep->Profiles(aProfiles);
|
||||
BRepTest_Objects::SetHistory(aProfiles, *Sweep);
|
||||
TopTools_ListOfShape aList;
|
||||
Sweep->Profiles(aList);
|
||||
TopoDS_Shape aSpine = Sweep->Spine();
|
||||
aList.Append(aSpine);
|
||||
BRepTest_Objects::SetHistory(aList, *Sweep);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user