MantisBT - Community
View Issue Details
0026123Community[OCCT] OCCT:Modeling Algorithmspublic2015-04-22 17:292015-04-22 17:53
Vico Liang 
msv 
normalminor 
newopen 
WindowsVC++ 201364 bit
[OCCT] 6.9.0 
[OCCT] Unscheduled 
0026123: BRepOffsetAPI_ThruSections history is wrong.
Code snippet to demo the issue:
Load the model attached as loftWires.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.

            
No tags attached.
? loftWires.brep (14,421) 2015-04-22 17:29
https://tracker.dev.opencascade.org/
png before_loft.png (2,936) 2015-04-22 17:33
https://tracker.dev.opencascade.org/
png after_loft.png (20,058) 2015-04-22 17:33
https://tracker.dev.opencascade.org/
Issue History
2015-04-22 17:29Vico LiangNew Issue
2015-04-22 17:29Vico LiangAssigned To => msv
2015-04-22 17:29Vico LiangFile Added: loftWires.brep
2015-04-22 17:33Vico LiangFile Added: before_loft.png
2015-04-22 17:33Vico LiangFile Added: after_loft.png
2015-04-22 17:36Vico LiangNote Added: 0040120
2015-04-22 17:53msvTarget Version6.9.0 => Unscheduled

Notes
(0040120)
Vico Liang   
2015-04-22 17:36   
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.