How to create a .sur file in CalculiX?

I see that this is a duplicate of How do I create the .sur file for nearest-projection?, so I lock this thread to keep everything in one place. :smile: