.SCAD

SCAD File

OpenSCAD Script (3D CAD model)
Ask a question
QUICK ANSWER

A SCAD file is plain-text source code for OpenSCAD, a free 3D CAD program. It describes a model as a script rather than storing a mesh. Open it in OpenSCAD (openscad.org), press F6 to render, then export to STL or 3MF for slicing and printing.

Developer: OpenSCAD project (originally Clifford Wolf & Marius Kintel) Category: CAD Files Open standard MIME: text/plain
OPENS ON Windows macOS Linux Web
Related: .DWG · .SLDPRT · .EASM · .NWD

On this page

19k+ extensions indexed
Last reviewed Jul 9, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the SCAD file format?

A .scad file is a 3D CAD script file used by the OpenSCAD software application. Rather than point-and-click modeling, OpenSCAD uses its own scripting language to create solid 3D CAD objects programmatically. The .scad file can be used by the software to design 2D and 3D objects by specifying object geometry, dimensions, and positioning through code. OpenSCAD can preview 2D and 3D objects in real time as you edit the script, then export them to formats such as .STL, .DXF, .AMF, or .3MF.

The format is plain-text UTF-8 source code - readable and editable in any text editor. Scripts use C-style comments (//, /* */) and support variables, loops, conditionals, and user-defined module blocks for reusable geometry. Core primitives include cube(), sphere(), cylinder(), and polyhedron(); Boolean operations like difference(), union(), and intersection() combine shapes into complex models. This makes .scad files popular in the maker and 3D-printing communities for creating parametric, customizable designs.

Security & safety

RISK: LOW

A .scad is plain-text source code with no embedded executables or macros, so it is safe to open and read in any editor. One caution: OpenSCAD scripts can include/use external library files and (in some configurations) import data, so when rendering a script from an untrusted source, glance over the code first and keep OpenSCAD updated. The exported STL/3MF is just geometry. Overall risk is low - the main 'danger' is a complex render consuming a lot of CPU/RAM.

Format details

in a nutshell
FULL NAMEOpenSCAD Script (3D CAD model)
DEVELOPEROpenSCAD project (originally Clifford Wolf & Marius Kintel)since 2010 (OpenSCAD)
CATEGORYCAD Files
MIME TYPEtext/plain
TYPEPlain-text source code - OpenSCAD scripting language (UTF-8)
STANDARDOpen · royalty-free

Programs that open SCAD files

Windows3 apps
OpenSCAD Open-source File > Open the .scad; press F5 to preview, F6 to render, then File > Export > STL/3MF/DXF.
Visual Studio Code (with OpenSCAD extension) Free Edit the script with syntax highlighting/linting; pair with OpenSCAD for live preview. Good for larger projects.
Any text editor (Notepad++) Open-source Open to read/edit the code - but you need OpenSCAD to render it into a 3D model/mesh.
macOS1 app
OpenSCAD Open-source Open the .scad, preview/render, and export STL/3MF/DXF. Native macOS build available.
Linux1 app
OpenSCAD Open-source Open the .scad (or run openscad -o model.stl model.scad headless to batch-export).
Web1 app
OpenSCAD Playground / online viewers Open-source Paste/upload a .scad to render and export STL in the browser without installing (WebAssembly build).

Technical details

deep spec
File typePlain-text UTF-8 source code
MIME typetext/plain
Magic bytesNone - plain-text format with no binary signature; identified by extension and readable script content
Language paradigmDeclarative/functional scripting - geometry is described by code, not drawn interactively
Comment syntaxC-style: // single-line, /* */ block comments
Core 3D primitivescube(), sphere(), cylinder(), polyhedron()
Core 2D primitivescircle(), square(), polygon(), text()
Boolean operationsunion(), difference(), intersection()
Transformationstranslate(), rotate(), scale(), mirror(), multmatrix(), resize()
Parametric supportVariables, expressions, for loops, if/else conditionals, list comprehensions
Module systemUser-defined reusable geometry blocks via the module keyword; supports parameters and defaults
Library directivesuse <file.scad> (imports modules only) and include <file.scad> (imports everything)
Rendering enginesOpenCSG for fast real-time preview; CGAL for accurate full render and export
Export formatsSTL, 3MF, AMF, DXF, SVG, OFF, CSG (selectable at export time)
Released2010 (OpenSCAD)
Open standardYes · royalty-free
Specificationopenscad.org

SCAD conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with SCAD files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about SCAD files.

Frequently asked questions

How do I open a SCAD file?
Open it in OpenSCAD (free, openscad.org) - it renders the model and lets you preview and export it. Because a .scad is plain text, you can also read/edit the code in any text editor, but you need OpenSCAD to turn it into a 3D model.
How do I convert a SCAD file to STL for printing?
Open the .scad in OpenSCAD, press F6 to render, then File > Export > STL (or 3MF). For batch use the command line: openscad -o model.stl model.scad. Then slice the STL.
Why is my SCAD file just text/code?
OpenSCAD is a script-based CAD tool - the model is described as program code, not drawn by hand. Run that code in OpenSCAD to generate the actual 3D geometry.
Can I edit the parameters of a downloaded SCAD model?
Yes - that's the point of OpenSCAD. Change the variables at the top of the file (or use the Customizer panel) and re-render; the model updates automatically. Then export STL/3MF.
Can I convert SCAD to STEP or another solid CAD format?
Not faithfully. OpenSCAD outputs meshes/CSG, not the B-rep solids STEP needs. To get STEP you'd remodel the part in FreeCAD or Fusion 360.
Is OpenSCAD free?
Yes - OpenSCAD is free and open source for Windows, macOS, and Linux. There's no paid version needed to open or export .scad files.

References

1OpenSCAD - official site & downloadsopenscad.org
2OpenSCAD - documentation / user manualopenscad.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.BINCD/DVD Disc Image (BIN/CUE)
5.EXEWindows Executable (Portable Executable)
6.RPMSGRestricted Permission Message
7.MDMarkdown Document
8.DATProgram Data File (generic)
9.NOMEDIAAndroid No-Media Marker File
10.TXTPlain Text File

Related extensions

.DWGAutoCAD Drawing Database
.SLDPRTSOLIDWORKS Part File
.EASMeDrawings Assembly
.NWDNavisworks Document (published 3D model)
.VWXVectorworks Design File
.DXFDrawing Exchange Format (AutoCAD DXF)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z