On the basis of
Construction base with two scenes
(see also under https://hofk.de/main/discourse.threejs/2019/index2019.html)
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
Click ? for help (en, de).
On Github with some exported examples. Uses a template.
https://github.com/hofk/threejsResources open ConstructFrame.