It's for a greenhouse. The frame is going to be metal, the transparent parts glass, but metal conducts heat too well and the L shape of the metal doesn't lend itself well to attaching to the glass, also has potential rust problems in the high humidity interior of the greenhouse. Wood will mold and rot. This got me started investigating unconventional ways of gently holding the glass in place.
I'm thinking about cutting strips of XPS with hot wire and sandwich them over the seams in the glass, like this:

The entire arrangement as little as 2 inches thick (width of the metal), just large enough to ensure the glass isn't in contact with anything inflexible.
I plan to give the exposed foam a protective cement based coating to keep the birds and rodents from eating it, but leave the foam touching the glass exposed. My main question/concern is whether the foam will survive outdoors like this: will it die of UV exposure from light passing through the glass, contract from the glass heating up, or any other weathering problems in this arrangement.