Have you seen these examples from the Collection of examples from discourse.threejs.org ?
ProfiledContourGeometryMM
ProfiledContourGeometryUVs
ProfiledContourGeometry
see also Construction of frames with contour/profile