OpenSCAD StudioNew

OpenSCAD Online Studio

Paste OpenSCAD code – yours or an AI’s – and get sliders for its settings, a 3D preview and printability checks before you download the STL.

  • Free
  • No sign-up
  • Private: runs on your device

Checking…

    Code

    Settings at the top with a range comment become sliders: width = 60; // [20:200] Width (mm)

    No code? Connect ChatGPT or Claude and ask it to design the part – it opens here by itself.

    Drag to rotate. The model is checked at default, smallest and largest settings.

    How to use the OpenSCAD studio

    1. Paste your OpenSCAD code, ask an AI assistant to write some, or start from an example.
    2. Press Render & check. The model renders in your browser and is checked at its default, smallest and largest settings.
    3. Adjust the sliders. Every setting at the top of the code with a range comment becomes a slider, dropdown or text box.
    4. Download the STL once the badge says Printable. If a check fails, fix the code (or press “Copy for your AI”) and render again.

    Rules for printable OpenSCAD code

    The studio checks every script against these rules. Give them to your AI assistant for code that passes first time.

    RuleValue
    SettingsAt the top, with a range and a label: wall = 2; // [1.2:0.1:4] Wall (mm)
    Units and positionMillimetres; the model sits on the bed at z = 0
    StructureOne module main(), called at the end with main();
    WallsAt least 1.2 mm (text strokes 0.8 mm)
    Overhangs45° or less without supports
    Clearances0.2 mm snug, 0.3 mm sliding, 0.4–0.5 mm print-in-place
    Resolution$fn of 128 or less (32–64 for small parts)
    SizeFits a 220 × 220 × 250 mm bed at the largest settings
    Not allowedimport(), include, use, surface(), file paths; weapons

    Frequently asked questions

    Is this the real OpenSCAD?

    Yes. It runs OpenSCAD 2025 compiled for the browser, with the fast Manifold geometry engine, so most models render in a second or two. Your code never leaves your device unless you opened a link an AI assistant created.

    What do the checks look for?

    Before a model is shown as printable it must render without errors, be watertight, sit flat on the bed with enough contact, fit a 220 × 220 × 250 mm bed and have no floating pieces – at the default settings and at the smallest and largest slider values. Thin walls (under 1.2 mm), steep overhangs and very large files are flagged as warnings.

    Why does it check the smallest and largest settings?

    A design that works at its default size can break at the ends of its sliders: walls get too thin, a hole cuts right through, or the part grows bigger than the bed. Checking all three catches this before anyone prints it.

    Can I use it with ChatGPT, Claude or Gemini?

    Yes. Ask your AI to write OpenSCAD with its settings at the top (for example width = 60; // [20:200] Width in mm) and paste the code here. With the 3D MakerBench connector, the AI sends the code itself and gives you a link. If a check fails, just tell the AI it didn’t work: it reads the exact problems itself, sends a fix, and the open page updates by itself. Without the connector, “Copy for your AI” copies the problems for you to paste.

    What does the studio fix by itself?

    Two things that need no code change. A model that floats above the bed or sits below it is moved onto the bed. And if a design works at its default settings but breaks at the smallest or largest slider values, the sliders are limited to the range that works. Both are listed as notes under the badge.

    Why are import() and include not allowed?

    The studio only runs self-contained code: no files from your computer or the internet. That keeps it safe to run code written by someone else, and every script works the same for everyone.

    Which fonts can text() use?

    Anton, Bebas Neue, Bungee, Cookie, Courgette, Damion, Dancing Script, Grand Hotel, Kaushan Script, Leckerli One, Lilita One, Lobster Two, Lobster, Luckiest Guy, Norican, Pacifico, Permanent Marker, Playball, Righteous, Satisfy, Titan One, Yellowtail. Any other font name (Liberation Sans, Arial…) uses Lilita One, a bold font that prints well.

    Powered by OpenSCAD (GPL-2.0), run unmodified in your browser via the openscad-wasm build; its source code is available there. Geometry checks use Manifold.