I am trying to make a 3D solid (with BoundaryMeshRegion) from surfaces created by spline curves.
In the follow simple example, I need to close the ends of this irregular tubular shape using boundaries defined by curv1 and curv3:
curv1 = {{3, 0, 0}, {1, 1, 0}, {0, 2, 0}, {-2, 0, 0}, {0, -2, 0}, {3, 0, 0}};
curv2 = {{2, 0, 5}, {1, 1, 2}, {0, 2, 2}, {-1, 0, 5}, {0, -2, 5}, {3, 0, 5}};
curv3 = {{2, 0, 9}, {1, 1, 9}, {0, 2, 9}, {-1, 0, 6}, {0, -2, 6}, {3, 0, 9}};
sur1 = BSplineSurface[{curv1, curv2}, SplineClosed -> {False, True}, SplineDegree -> 3];
sur2 = BSplineSurface[{curv2, curv3}, SplineClosed -> {False, True}, SplineDegree -> 3];
DiscretizeGraphics[{sur1, sur2}]
Also, for exporting to an .stl file, is it ok to have multiple meshed regions like this? They share a boundary curve, but when I look at the MeshCells, I can see that there are duplicate coincident nodes along the boundary curves. FEM software require an "equivalence" step to actually attach surfaces (etc.).