How to Export Static OTF (Height 40) from Variable Font Sources?

I’m currently developing a variable font. It’s built with layers so that the height can be adjusted from 0 to 40. Is there a way to export it as a static OTF with the height set to 40 instead of a VF?

Add static instances with that axes position?
How did you set up the axes?