Hi,
I have list of face not sequentially arranged but geometrically they are adjacent to each other.
Does BRepBuilderAPI_Sewing will give me sewed faces after passing the faces?
for ( ;expFace.More(); expFace.Next())
{
TopoDS_Face face = TopoDS::Face(expFace.Current());
// create IGESTrimFace from TopoDS_Face and add it to the list
sewManager.Add(face) ;
}
sewManager.Perform();
TopoDS_Shape sewedShape = sewManager.SewedShape();
TopExp_Explorer expFaceSewing;
expFaceSewing.Init(sewedShape.Oriented(TopAbs_FORWARD), TopAbs_FACE);
for ( ;expFaceSewing.More(); expFaceSewing.Next())
{
TopoDS_Face face = TopoDS::Face(expFaceSewing.Current());
m_trimmedFaces->Add(face));
}