Is there a way to get directly joined BRep faces curves (one closed outline) to avoid calling JoinCurves method?
The reason to ask is that the DuplicateNakedEdgeCurves outputs unordered set of curves.
That requires JoinCurves method to joints all curves into closed path.
var c = new List<Curve>();
foreach (BrepFace face in brep.Faces) {
Brep b = face.DuplicateFace(false);
Curve[] edges = b.DuplicateNakedEdgeCurves(true, false);
c.AddRange(Curve.JoinCurves(edges));
}