Maybe you can use some of it
Construction of frames with contour/profile
ProfiledContourGeometry MultiMaterial
Showrooms easy to generate from data of a construction drawing or dimensional sketch - now on Github
From the Collection of examples from discourse.threejs.org
ProfiledContourGeometryMM