Cutting when the trim edge falls on the natural boundary of a bspline surface and is periodic with the surface

Hi, ive been composing some external BREP into OCC code to represent the same shapes. I am stuck on trimming BSpline surfaces, I can cut inner holes but any trim that shares edges with the natural boundary of the bspline surface I have not had success. Is there a good source on doing this? All the normal stuff like ensuring pcurves, flipping orientation, face/vs surface initial trim doesnt seem to work. Also splitting the surface at the seam and reforming edges to avoid the seam. I even tried nudging the UV bounds of the spline surface to avoid degeneracy issues. I am attaching images of the surface and cutting wires I want to trim with! any advice on how to make these trims would be great

Edit: I have processed my personal BREP into occ which I can view as the correct shell recreation. This gives me confidence in what I tried, and so I am just confused why it doesnt work for Bspline surface, when it works for cyinders which are also U-periodic. I think the issue is these Bspline surfaces dont extend infinitely as compared to cylinder geometry primitives? Im in python OCC using this trim tool: trimmed_face_maker = BRepBuilderAPI_MakeFace(surf, new_wire)