mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-18 17:06:14 +08:00
0024305: New option in BRepOffsetAPI_MakePipeShell algorithm: the swept shell with varying width of section bounded by auxiliary spine
Test case for issue CR24305
This commit is contained in:
@@ -53,7 +53,8 @@ uses
|
||||
Vertex from TopoDS,
|
||||
TransitionMode from BRepBuilderAPI,
|
||||
PipeError from BRepBuilderAPI,
|
||||
PipeShell from BRepFill
|
||||
PipeShell from BRepFill,
|
||||
TypeOfContact from BRepFill
|
||||
|
||||
raises
|
||||
DomainError from Standard,
|
||||
@@ -98,7 +99,7 @@ is
|
||||
SetMode(me : in out;
|
||||
AuxiliarySpine : Wire from TopoDS;
|
||||
CurvilinearEquivalence : Boolean;
|
||||
KeepContact : Boolean = Standard_False );
|
||||
KeepContact : TypeOfContact from BRepFill = BRepFill_NoContact );
|
||||
|
||||
---Purpose: Sets an auxiliary spine to define the Normal
|
||||
-- For each Point of the Spine P, an Point Q is evalued
|
||||
@@ -332,6 +333,7 @@ is
|
||||
is redefined;
|
||||
|
||||
fields
|
||||
|
||||
myPipe : PipeShell from BRepFill;
|
||||
|
||||
end MakePipeShell;
|
||||
|
||||
@@ -90,8 +90,8 @@ BRepOffsetAPI_MakePipeShell::BRepOffsetAPI_MakePipeShell(const TopoDS_Wire& Spin
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
void BRepOffsetAPI_MakePipeShell::SetMode(const TopoDS_Wire& AuxiliarySpine,
|
||||
const Standard_Boolean CurvilinearEquivalence,
|
||||
const Standard_Boolean KeepContact)
|
||||
const Standard_Boolean CurvilinearEquivalence,
|
||||
const BRepFill_TypeOfContact KeepContact)
|
||||
{
|
||||
myPipe->Set(AuxiliarySpine, CurvilinearEquivalence, KeepContact);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user