How to convert surface or polysurface to mesh and save as .stl file?

Thanks very much!
That’s what I really need.
Another question is: where can I get the detail of command options for a specific command?