How to convert a SCAD file to STL
- Drop the .scad file into the box above, or click Choose file. If it includes other files (a library or its own parts), select them together, or drop one ZIP of the whole folder.
- OpenSCAD loads the first time (about 3 MB) and renders the model. It appears in the 3D view with its size in millimetres.
- Change the parameters on the right. Each change renders the model again.
- Click Download STL or Download 3MF.
The Customizer, without installing OpenSCAD
Many customizable models on Printables, Thingiverse and MakerWorld are shared as .scad files. Their settings are plain variables at the top of the file, and comments turn them into controls. This page reads them the same way OpenSCAD's own Customizer does:
| In the file | What you get |
|---|---|
width = 40; // [20:80] | A number from 20 to 80 |
wall = 2; // [1.2:0.4:4] | A number from 1.2 to 4 in steps of 0.4 |
shape = "round"; // [round, square] | A list to choose from |
holes = true; | A tick box |
/* [Lid] */ | A heading that groups the settings below it |
/* [Hidden] */ | Everything after it is left out of the form |
A // comment on the line above a variable becomes its label. Variables set by a calculation, and anything after the first module or function, are not parameters and stay as they are.
Libraries and included files
A line like include <BOSL2/std.scad> or use <parts/hinge.scad> pulls in another file. Add those files when you open the model: select them together with the .scad, or put everything in one folder, zip it and drop the ZIP. When a file is missing, the page names it. Fonts for text() are included (Liberation Sans, regular, bold and italic).
What runs here
This is the official WebAssembly build of OpenSCAD (open source, GPL) with its fast Manifold geometry engine, running in your browser tab. The .scad file and everything it includes stay on your device. The result is the same as OpenSCAD's Render (F6) and Export on the desktop. More about the format: the SCAD file format.
Common questions
Can I open a SCAD file without installing OpenSCAD?
Yes. Drop it on this page: OpenSCAD runs in your browser, renders the model and lets you download STL or 3MF.
Is my .scad file uploaded?
No. OpenSCAD runs in this browser tab. Your files are read there and never sent anywhere.
Why does it say a file is missing?
The model includes another file, often a library such as BOSL2 or MCAD. Download that library and drop the .scad together with its folder as one ZIP.
Why are some settings not in the form?
Only plain values at the top of the file are Customizer parameters, the same as in OpenSCAD. Values computed from others, and everything after /* [Hidden] */, are left out.
Which units does the STL use?
Millimetres, like OpenSCAD itself. The 3MF says so in the file, so it always imports at the right size.