Capping Brep in GH

This may be a question for GH developer. What are the conditions to meet for a closed brep. The issue i m having is i am sweeping a profile with 3D coordinates. Lofting is fine but capping is the issue.

The edge curves to be capped have to be planar and closed. Without a file, I can’t say anything more.

Cap Holes component not helping?!