I am having an issue with my brep being invalid after a sweep1.
I am not sure what is going on for it to result in an invalid brep.
rail = open
section = closed planar curve
could some one please look as my script and let me know what might be the issue?
I have attached both GH file and 3DM file.