Tue, 01/23/2024 - 13:41
Forums:
Hello everyone.
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?
I am using OCCT 7.8.0.The following is the code used.
// 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();
}
Attachments:
Thu, 01/25/2024 - 14:34
Hello, unfortunately it is looking like a bug. We needs to analyze and fix it. As work around ou be able to operate only with parameters (tolerance, distance and types).
Please create an issue into our bugtracker.
Best regard, Dmitrii.
Sat, 12/14/2024 - 11:45
Hello Dmitrii, thanks for acknowledging this as a bug. I am also facing a problem with this and was wondering if you have a timeline as to when it can be fixed.
Sat, 12/14/2024 - 14:36
Hello. The issue: BRepOffsetAPI_MakeOffset fail · Issue #191 · Open-Cascade-SAS/OCCT
OCCT3D is open source solution. We making an maintaining to improve stability and extend functionality. The current issue is "Community" and at the time is not planned for release 7.9.
You can check the issue and if you can share more information to reproduce or report related issue - you are welcome. Our development activities are moving to be more transparent; ALL · Maintenance
We are trying to help all of our users. After release 7.9 we will publish road-map with more details and our plans. Offset operation is high important for use and I hope it will be affected.
The issue marked as an "Internal" or "Customer" have high priority and we focused on them. "Client" tag applied on issues reported by our clients or according "Custom development" (commercial request to extend or implement some functionality or bug fix in OCCT, or another option we develop a new product by request and some functionality is require or some bug impacted on new project).
More details: on occt3d.com or more specific Software Customization - OCCT3D CAD consulting services | CAM consulting engineers
Best regards, Dmitrii.