Sat, 04/10/2021 - 18:08
Forums:
Hello everyone, when I use occt 7.4,
1) It is found that the BRepOffsetAPI_MakeOffset class acts on the bezier curve, and it will fail. After debugging, it is found that the call to BRepLib::BuildCurves3d(myShape) in the PerformWithBiLo function of the BRepFill_OffsetWire class throws an exception. I wonder if you have encountered this problem? How is it solved?
2) It is found that the BRepOffsetAPI_MakeOffset class will fail to act on the bspline curve with continuity less than C0. Why is this?
Geom2d_OffsetCurve.cxx
// Raise exception if still C0·
if (isC0) {
throw Standard_ConstructionError("Offset on C0 curve");
}