From Macros Wiki
- EXPORT_STL <solid ref> <filename> <file type> <accuracy>
- Export a solid to an STL file.
- <solid ref>
- Solid number, use zero for selected solid
- Filename as either text in double quotes, or a text variable.
- If the filename does not contain full path information, then the file will be opened in the same folder as the macro.
- <file type>
- TEXT = text format, BINARY = binary format file
- Accuracy of the output model
- EXPORT_STL 23, myFile$, BINARY, 0.00025