Export STL by entity name or layer name or named_selection

Hi, everyone.

Can I export a ASCII STL file by entity name or layer name or named_selection?
It means…

solid top
;
endsolid top
solid bottom
;
endsolid bottom

or

Can I export multiple binary STL files at one time by entity name or layer name or named_selection?
top.stl
bottom.stl

Best regards,
Choi.

Here are a couple of scripts for by layer, by object, and by object name. I do not have anything for named selections.

BatchExportSTLByLayerDefault.py (890 Bytes)
BatchExportSTLByObjDefault.py (1.2 KB)
BatchExportSTLByObjectwName.py (4.4 KB)

Note that these use the default or last-used STL meshing settings. All export as binary.

1 Like

Thanks a lot !