Do you need something like this?
You can create the geometry with it: Construction of frames with contour/profile