[Part] extend BRepOffsetAPI_MakeOffsetFix and use it for padding
BRepOffsetAPI_MakeOffsetFix provides already a workaround for an OCC bug. To use it for Pad/pocket, only the Init feature has to be added we take the same implementation like it if for BRepOffsetAPI_MakeOffset
This commit is contained in:
@@ -55,6 +55,19 @@ public:
|
||||
//! Builds the resulting shape (redefined from MakeShape).
|
||||
void Build();
|
||||
|
||||
//! Initializes the algorithm to construct parallels to the spine Spine.
|
||||
//! Join defines the type of parallel generated by the
|
||||
//! salient vertices of the spine.
|
||||
//! The default type is GeomAbs_Arc where the vertices generate
|
||||
//! sections of a circle.
|
||||
//! If join type is GeomAbs_Intersection, the edges that
|
||||
//! intersect in a salient vertex generate the edges
|
||||
//! prolonged until intersection.
|
||||
void Init(const TopoDS_Face& Spine, const GeomAbs_JoinType Join = GeomAbs_Arc, const Standard_Boolean IsOpenResult = Standard_False);
|
||||
|
||||
//! Initialize the evaluation of Offseting.
|
||||
void Init(const GeomAbs_JoinType Join = GeomAbs_Arc, const Standard_Boolean IsOpenResult = Standard_False);
|
||||
|
||||
virtual Standard_Boolean IsDone() const;
|
||||
|
||||
//! Returns a shape built by the shape construction algorithm.
|
||||
|
||||
Reference in New Issue
Block a user