Creates an STLExportOptions object that's used to export a design in STL format. Creation of the STLExportOptions object does not perform the export. You must pass this object to the ExportManager.execute method to perform the export.
"exportManager_var" is a variable referencing an ExportManager object.
|
"exportManager_var" is a variable referencing an ExportManager object.
|
Type | Description |
STLExportOptions | The created createSTLExportOptions object or null if the creation failed. |
Name | Type | Description |
geometry | Base | The geometry to export. This can be a BRepBody, Occurrence, or Component object. |
filename | string | The filename of the STL file to be created. This is optional and can be left out if the mesh will be opened in a mesh editor. This is an optional argument whose default value is "". |
Name | Description |
Export to other formats API Sample | Demonstrates exporting the active design to IGES, STEP, SAT, SMT, F3D and STL formats. To run this sample, have a design open and run the script. It will write out the translated files to a temp directory, which will it show in a message box. |
STLExport API Sample | Demonstrates how to export f3d to STL format. |