STL of a 2d surface

This works, thanks Andras. I suggest to make the model generation automatic.