Skip to content
Creative3DP Tools

OpenSCAD Online

Write a script, drag the sliders it gives you, download the model. OpenSCAD runs in your browser, so there is nothing to install.

or press Ctrl + Enter

Settings

Add a number, true/false or text assignment at the top of the script and it appears here as a control.

Loading OpenSCAD

Drag to rotate, scroll to zoom. Double-click to fit.

This model

Size
-
Volume
-
Triangles
-
Mesh check
-
Render time
-

Download

Console

Nothing rendered yet.

Models you make by typing

OpenSCAD describes a part in code instead of drawing it. A cube is cube([40, 20, 10]);, a hole is one shape subtracted from another, and a size you might want to change later is a variable. That makes it a good fit for printed parts, where the same bracket is needed again next month in a slightly different size.

Start from one of the 6 examples in the list above the editor (box with a lid, name tag, grip knob, twisted vase, phone stand, honeycomb tray), change a number and press Render. Each example exposes its sizes as sliders, so you can make a useful part without writing anything.

Turning variables into controls

Any assignment above the first module becomes a control in the Settings panel. A comment after it says what kind. Moving a control rewrites that line of the script, so the code always shows the model you are looking at, and a link or saved file carries your settings with it.

In the scriptControl you get
width = 40; // [10:100]Slider from 10 to 100
wall = 1.6; // [0.8:0.4:4]Slider from 0.8 to 4 in steps of 0.4
style = "round"; // [round, square]List with two choices
size = 2; // [1:Small, 2:Medium, 3:Large]List showing names, storing numbers
lid = true;Checkbox
name = "ALEX";Text box
/* [Advanced] */A heading for the controls below it
/* [Hidden] */Hides the variables below it

A plain comment on the line above a variable is shown under its control as a description.

What works here and what does not

FeatureHere
The OpenSCAD language: shapes, transforms, booleans, modules, functions, loopsYes
hull(), minkowski(), linear_extrude(), rotate_extrude()Yes
text()Yes, in Open Sans and B612
echo() and error messages with line numbersYes, in the console
STL and 3MF exportYes
Outside libraries with include or useNot yet
import() of STL, SVG or DXF filesNot yet
Colours in the previewNo, the preview is one colour

Every render is checked edge by edge, and the result is shown as "Watertight" or as a count of open edges. If an export from somewhere else needs fixing, the STL repair tool closes holes and turns flipped faces. For ready-made storage parts built the same way, see the Gridfinity generator, which runs five OpenSCAD libraries on this engine.

Frequently asked questions

Can I use OpenSCAD online without installing it?

Yes. This page runs OpenSCAD itself, compiled to WebAssembly, inside your browser. The engine is about 8 MB and downloads once, then your browser keeps it. After that a typical script renders in well under a second.

Which version of OpenSCAD is this?

The 2025.01.19 development snapshot with the Manifold geometry engine, which is far faster than the older CGAL engine in the 2021 release. Scripts written for the 2021 release run as they are. A few of the very newest language additions, such as the bitwise & operator, are not in this build.

How do I turn a variable into a slider?

Put the assignment at the top of the script, above the first module, and add a range in a comment after it: width = 40; // [10:100] gives a slider from 10 to 100. Use [10:5:100] for steps of 5, [a, b, c] for a list, and true or false for a checkbox. This is the same customizer syntax desktop OpenSCAD uses, so the script works there too.

Can I use libraries such as BOSL2 or MCAD?

Not yet. Only the OpenSCAD language itself is available. A line that says include or use for an outside library is skipped with a warning in the console, and whatever the script needed from that library is then missing. Scripts that keep everything in one file work.

Can I import an STL, SVG or DXF into my script?

Not yet. import() needs a file next to the script, and this page only holds the script itself. Use the text(), polygon() and linear_extrude() functions to build shapes in code.

Which fonts work with text()?

Open Sans in regular and bold, and B612. Ask for another font and OpenSCAD falls back to the closest one it has, so the text still renders.

Is my script uploaded or saved anywhere?

No. The script is run by your own browser and kept only in this browser's local storage so it is still here when you come back. "Copy link to this script" puts the whole script into the link itself, so nothing is stored on a server even when you share it.

Why does my script render nothing?

Usually because nothing is drawn at the top level: defining a module does not draw it, you also have to call it. The console under the preview shows OpenSCAD's own messages, including the line number of any syntax error and the output of echo().