Open
Description
Description
Report: https://dev.opencascade.org/content/brepoffsetapimakeoffset-fail-0
I would like to ask, the model in the attachment is offset through BRepOffsetAPI_MakeOffset, but the offset fails.
What is the reason?
How can the modification be successful?
Expected Behavior
Offset created without failing
Actual Behavior
Offset operation failed
Sample Code or DRAW Tcl Script
// shape is the edge in the attachment
BRepBuilderAPI_FindPlane findPlane(shape, 0.001);
BRepBuilderAPI_MakeFace makeFace(findPlane.Plane()->Pln());
TopoDS_Face face = makeFace;
BRepOffsetAPI_MakeOffset makeOffset(face, GeomAbs_JoinType::GeomAbs_Intersection,true);
BRepBuilderAPI_MakeWire makeWire(TopoDS::Edge(shape));
makeOffset.AddWire(makeWire);
makeOffset.Perform(0.1, 0);
if (makeOffset.IsDone()) {
TopoDS_Shape S = makeOffset.Shape();
}
Operating System
Linux
Compiler
GCC
Bitness
64-bit
OCCT Version
latest
Additional Files
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Todo