BRepOffsetAPI_MakeOffset of an open TopoDS_Wire
I have some problems since the 6.5.3 release to create the offset of an open TopoDS_Wire.
The TopoDS_Wire in this case is really simple. It contains an unique straight TopoDS_Edge (see attached brep).
The used code is the next one :
The TopoDS_Wire "wire" contains the read ExtractedWire.brep.
const double dDistance = 5.0;
const TopoDS_Shape& shape = aOffAlgo.Shape();
if (!shape.IsNull() && shape.ShapeType()==TopAbs_WIRE)
offsetWire = TopoDS::Wire(shape);
Handle(Standard_Failure) E = Standard_Failure::Caught();
When the Perform method is called, the method crash and throw a Standard_Failure exception.
So my question is if it is possible to generate the offset of an open wire ?
I remember to succeed making it before the new release (the offset wire have a "capsule" form shape of wire type which surround the original wire).
Thanks to indicate if it is a regression bug of the 6.5.3.