1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0027386: BRepOffsetAPI_MakePipeShell does not provide history of generations

The method BRepOffsetAPI_MakePipeShell::Generated now returns generated shapes for sub-edges and sub-vertices of sections.

The method BRepFill_PipeShell::BuildHistory is redesigned: now it builds generated shapes for sub-edges and sub-vertices of sections.

New Draw command "gensweep" is added to sweep commands for testing of history building.
This commit is contained in:
jgv
2016-10-17 13:59:58 +03:00
committed by abv
parent 681f3919f0
commit 953d87f32c
22 changed files with 845 additions and 334 deletions

View File

@@ -449,7 +449,7 @@ void BRepFill_NSections::Init(const TColStd_SequenceOfReal & P,
// Fill tables
uclosed = Standard_True;
for (jj=ideb;jj<=ifin;jj++){
for (jj = ideb; jj <= ifin; jj++){
W = TopoDS::Wire(myShapes(jj));
@@ -458,7 +458,11 @@ void BRepFill_NSections::Init(const TColStd_SequenceOfReal & P,
// if ( ! B.Degenerated(E)) {
if ( ! BRep_Tool::Degenerated(E)) {
myEdges->SetValue(ii,jj, E);
myEdges->SetValue(ii, jj, E);
if (E.Orientation() == TopAbs_FORWARD)
myIndices.Bind(E, ii);
else
myIndices.Bind(E, -ii);
}
}
@@ -600,7 +604,6 @@ void BRepFill_NSections::Init(const TColStd_SequenceOfReal & P,
}
//=======================================================================
//function : IsVertex
//purpose :