[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:
@@ -102,6 +102,17 @@ void BRepOffsetAPI_MakeOffsetFix::Build()
|
||||
mkOffset.Build();
|
||||
}
|
||||
|
||||
void BRepOffsetAPI_MakeOffsetFix::Init(const TopoDS_Face& Spine, const GeomAbs_JoinType Join,
|
||||
const Standard_Boolean IsOpenResult)
|
||||
{
|
||||
mkOffset.Init(Spine, Join, IsOpenResult);
|
||||
}
|
||||
|
||||
void BRepOffsetAPI_MakeOffsetFix::Init(const GeomAbs_JoinType Join, const Standard_Boolean IsOpenResult)
|
||||
{
|
||||
mkOffset.Init(Join, IsOpenResult);
|
||||
}
|
||||
|
||||
Standard_Boolean BRepOffsetAPI_MakeOffsetFix::IsDone() const
|
||||
{
|
||||
return mkOffset.IsDone();
|
||||
|
||||
Reference in New Issue
Block a user