OpenSCAD User Manual/Export
Export
The type of file being exported needs to be matched to the nature of the model. Exporting a 3D shape into a 2D format, or vice versa, will give unexpected results at best.
On the File menu select the "Export ..." item and select a format

OpenSCAD can export a model in these formats
- 3D formats
- STL ASCII STereoLithography
- STL Binary
- OBJ SGI Object format
- POV
- OFF
- WRL
- AMF [Note: Requires version 2015.03]
- 3MF [Note: Requires version 2019.05]
- 2D formats
- DXF AutoCAD Drawing dXchange Format
- SVG [Note: Requires version 2015.03]
- Image
- PNG Image [Note: Requires version 2019.05]
- PDF Limitation: A4 size only
[Note: Requires version 2021.01]
- text
- CSG a simplified representation of the SCAD script
- JSON data