Archived issue #0026123
BRepOffsetAPI_ThruSections history is wrong.
Description
Code snippet to demo the issue:
Load the model attached as Attachment 3 (BREP) and find the three wires to make loft as below:
BRepOffsetAPI_ThruSections aLoft(Standard_False, Standard_True);
aLoft.AddWire(aWire1);
aLoft.AddWire(aWire2);
aLoft.AddWire(aWire2);
aLoft.Build();
//aEdge1 is the first edge of aWire1.
aLoft.GeneratedFace(aEdge1) is empty.
Another issue is that, if the first shape is a vertex, how to get the vertex history? It seems need to revise the history for BRepOffsetAPI_ThruSections to support vertex history.
Load the model attached as Attachment 3 (BREP) and find the three wires to make loft as below:
BRepOffsetAPI_ThruSections aLoft(Standard_False, Standard_True);
aLoft.AddWire(aWire1);
aLoft.AddWire(aWire2);
aLoft.AddWire(aWire2);
aLoft.Build();
//aEdge1 is the first edge of aWire1.
aLoft.GeneratedFace(aEdge1) is empty.
Another issue is that, if the first shape is a vertex, how to get the vertex history? It seems need to revise the history for BRepOffsetAPI_ThruSections to support vertex history.
Public activity
1 archived note
Participants are labeled by their role within this record.
The cause might be that the original wire edges are splitted during the model operation so the edge can't be found in the history.