On the basis of
Construction base with two scenes
(see also under discourse.threejs.hofk.de)
I have realized the construction of frames. The created geometry is exported as a complete three.js BufferGeometry Definition and can be used in own projects.
Check it out
https://hofk.de/main/threejs/ConstructFrame/ConstructFrame.html
Click ? for help (en, de).
On Github with some exported examples. Uses a template.
GitHub - hofk/threejsResources: Resources for three.js open ConstructFrame.
Enjoy it.