Not sure what you need exactly. But maybe this can help.
https://hofk.de/main/discourse.threejs/2018/ProfiledContourGeometry/ProfiledContourGeometry.html
@prisoner849
or from me
https://hofk.de/main/discourse.threejs/2019/ProfiledContourGeometryMM/ProfiledContourGeometryMM.html