# openscad-web User Guide

openscad-web is **code-based 3D design in the browser**. You write (or ask an AI agent to write) OpenSCAD code, see the part in a live 3D view, get sliders for its dimensions, and export it for 3D printing. The OpenSCAD language and geometry engine run unmodified, compiled to WebAssembly, inside your browser; your designs are saved to your account, and the Claude app, ChatGPT or Claude Code can design in that account while you watch.

This guide covers the web app, the MCP connection for AI agents, and the OpenSCAD language itself. The version this guide was shipped with is shown at the top of the Docs window; the **Version history** at the end lists what each version added.

---

## 1. What it is and what you need

| Need | Why | How |
|---|---|---|
| **A modern browser with WebAssembly and WebGL** | OpenSCAD itself runs in the browser as a 10 MB WebAssembly module; the 3D view uses WebGPU when the browser has it, otherwise WebGL. | Current Chrome, Edge, Firefox or Safari on a desktop or laptop. Nothing to install. |
| **A Google account** | Designs are saved per user, and AI agents connect to *your* account. | Press **Continue with Google** on the sign-in screen. |

There are no API keys and nothing to download. Compiling happens on your machine; the server keeps your designs, runs exports and answers the agents.

## 2. Getting started

1. Open the site and sign in with Google. A first design is created for you with a `cube(10)` so the 3D view is not empty.
2. Type OpenSCAD in the editor on the left. About 400 ms after you stop typing the model is recompiled and the 3D view updates; a second later the design is saved to your account (the `*` after the name in the status bar disappears).
3. To let an AI design for you, open the **Agent** panel on the right and connect the Claude app, ChatGPT or Claude Code to your account (section 5). Then, in that app, describe a part: *"a phone stand for a 75 mm wide phone at 60 degrees, with a cable slot"*. The agent writes the code, compiles it, looks at the part from several angles, iterates, and the design in your browser updates live at every step.
4. Press **Export…** to download an STL or 3MF for your slicer.

## 3. The interface

The page has three columns: the **editor** with the **diagnostics** panel below it, the **3D view** with the **Customizer** below it, and the **Agent panel**. A **status bar** runs along the bottom. Drag the thin bars between the columns to resize them.

**Sizes in the 3D view.** Every 3D view (editor, Project view, a published design's page) has a **sizes** button next to iso / front / top / right. When it is on (the default; remembered in this browser) the overall width, depth and height are drawn as blue dimension lines beside the model. Pointing at an edge highlights it and shows its length; a full circle shows its diameter (Ø), an arc its radius (R), any other curve the length along it (≈). On a touch screen there is no pointer to hover with, so only the dimension lines show.

### 3.1 Toolbar

| Button | Shortcut | What it does |
|---|---|---|
| **Designs ▾** | | The list of your designs: open one, **New project**, duplicate, rename, delete, **Import .scad / .stl** (uploads a file from your computer as a new design). Section 4. |
| **Save** | Ctrl+S | Save now. Normally not needed: the design is saved automatically one second after you stop typing. |
| **Export…** | | Download the current model as **STL**, **3MF** or **OFF**, scaled to millimetres according to the unit (section 6), or the source as a **.scad** file. **Open in Bambu Studio** sends the 3MF straight to the running Bambu Studio. |
| **Re-render** | F5 | Compile now and redraw. Normally not needed: auto-preview compiles as you type. |
| **Docs** | F1 | This guide. |
| **Settings** | | See section 7. |
| **Account** (your name) | | Your e-mail, **Sign out**. |

### 3.2 Editor

- Full OpenSCAD syntax highlighting and **completion** for built-in modules, functions and keywords, plus the modules, functions and variables defined in your design. Snippets insert argument placeholders you can Tab through.
- **Vector components are coloured by axis**: in `[x, y, z]` the first element is red (X), the second green (Y), the third blue (Z), matching the axes in the 3D view. Ranges like `[0:10]` are not coloured.
- **Errors and warnings are marked** on their lines after each compile; hover for the message.
- Standard editing: multi-cursor, find/replace (Ctrl+F / Ctrl+H), undo/redo (Ctrl+Z / Ctrl+Y).
- **Auto-preview**: about 400 ms after you stop typing the model is recompiled. Turn it off in Settings if a heavy model makes typing sluggish, then use F5.
- When an agent writes to the open design, the editor shows the new code immediately and the status bar says *Updated by Claude* (or whichever client). Your own unsaved typing is replaced, so wait for the agent to finish before editing by hand.

### 3.3 Diagnostics panel

Lists every error, warning and `echo()` output from the last compile. Click a line to jump to it in the editor.

Typical messages:

- `ERROR: Parser error: syntax error … line N` – usually a missing `;`, bracket or comma on or just before that line.
- `WARNING: Ignoring unknown module 'x'` – `x` is not a built-in and not defined in your design or an included library. Often the agent invented it; it sees the same message and fixes it.
- `ERROR: Current top level object is empty` – the code runs but produces no geometry (everything subtracted away, a 2D object where 3D was expected, or a library that could not be found).

### 3.4 3D view

- **Orbit** with the left mouse button, **pan** with the right button (or Shift+drag), **zoom** with the wheel.
- **View buttons** (top right): `iso`, `front`, `top`, `right` re-frame the model from a standard direction.
- **Axes**: X red, Y green, Z blue, labelled at their tips. OpenSCAD is Z-up; the grid is the "print bed" at Z = 0.
- **Grid**: cells are 10 model units. It starts at 400 × 400 units and **grows automatically** whenever a model reaches past it (never shrinks, so the floor does not jump while you iterate).
- **Unit badge** (bottom left): shows the current unit and grid cell; click it to cycle mm → cm → m (section 6).
- The mesh shown is exactly what OpenSCAD exported (binary STL through the Manifold engine), so what you see is what you will print. `color()`, `#` and `%` modifiers are not shown in this view.
- Agents do not see this view: the server renders the same standard views for them from the same mesh.

### 3.5 Customizer panel

Appears under the 3D view as a single collapsed line when the code has [Customizer annotations](#9-11-customizer-annotations); click **Customizer** to show the controls (remembered in this browser). Every annotated top-level variable becomes a control: slider plus number box for `[min:step:max]` ranges, dropdown for `[a, b, c]` choices, checkbox for booleans, text box for strings. Groups (`/* [Group] */`) become sections; `[Hidden]` parameters are not shown.

Moving a control re-renders immediately **without changing the code** (the value is passed to OpenSCAD as an override) and the slider values are saved with the design, so exports and agents use them too. **Reset** clears the overrides. **Bake into code** writes the current values into the assignments so they become permanent. Ask a connected agent to "make it parametric" to get annotations for a model that has none.

#### Multi-part projects

Every new design is a project, also a print with a single part (then the list has one part: `part = 0; // [0:Assembly, 1:Bracket]`). A project is one design whose code starts with `part = 0; // [0:Assembly, 1:Base, 2:Lid]`. 0 is **P0:NAME**, the assembled shape, and 1..N are the parts **P1:NAME**, **P2:NAME**, … (NAME is the design name). Each part is engraved with its own label. When you open a project, the **Project** screen fills the window: P0 is large on the left, and on the right are the parts, with the chosen one in its own 3D view. **Export…** in the PX-VIEW header exports only the chosen part: STL, 3MF, OFF or **Open in Bambu Studio**. The same menu opens when you right-click a part in PX-LIST-VIEW or right-click (without dragging) in PX-VIEW. In P0-VIEW, **select part** (under **marking**) is on by default: click a part in the assembly and PX-LIST-VIEW and PX-VIEW switch to it. In P0-VIEW only printed parts are yellow and the chosen part is red; bought parts that are not printed (boards, motors, the camera…) are gray with their name engraved. They have no P number and are not selectable: a click on one picks the printed part under or behind it (e.g. the camera picks its cradle). The parts are prepared with one extra compile when the project opens ("preparing parts…"). Marking points turns selecting off until you stop marking. PX-VIEW has its own **marking** for the chosen part: with 3 or more points the part inside the outline is painted blue, through the part, and agents read it as "the marked part". Those points are saved with the chosen part and clear when you choose another part. Before an agent deletes or modifies part of it, it paints those regions in colours here, listed with their labels above the view, and asks you; **clear** removes the paint. **grab** (under **marking** in PX-VIEW) changes the part by dragging it: the app first checks which numbers of the code move which face ("numbers 12/31", one compile per number, several at a time, at most the first 200; numbers that only other parts use are not checked, and the check runs again after every change of the code). You need not wait for it: click a face, or the wall of a hole, and the numbers that move that face are listed over the bottom of the view, each with the code around it; while the check is still running they appear as they are found. Choose one and drag the orange arrow on the face: the number in the code changes as you drag (in steps of 0.1 mm) and the part is redrawn; P0-VIEW follows when you let go. A size number resizes the part, a `translate` number moves the feature inside the part. Where the code uses a variable (`w/2`), the variable's value changes, so everything else that uses it moves too; a number inside an expression (the `2` of `w/2`) is listed last, marked "(inside an expression)". There is one arrow per direction. The arrow square to the face pushes and pulls it; the arrows lying sideways (along the x, y or z axis) move the face sideways: a position number moves that feature, a width number changes its width. Pressing another arrow changes the list to the numbers of that direction, and a direction in which no number of the code moves the face has no arrow. An arrow moves one number at a time, and it cannot be dragged while it points straight at you (turn the view). **undo** puts the code back as it was before the last drag. Esc, or a click beside the part, lets go of the face. If the code is changed in another way meanwhile (typing, an agent), the face is let go and that change is kept. A Customizer value you had set for the dragged variable is replaced by the new value in the code. Linked parts and imported STL parts have no numbers in this project's code, so nothing can be grabbed on them. **hole** (under **grab**) cuts a bolt hole: click a face of the part and the view turns to look straight at it. The hole follows the pointer, with its size and its distances to the face's nearer borders shown (the centre snaps to 0.5 mm); the mouse wheel steps through M1, M2, M2.5, M3, M4, M5, M6, M7 and M8 (clearance holes of 1.2, 2.4, 2.9, 3.4, 4.5, 5.5, 6.6, 7.6 and 9 mm, starting at M3; the last size is remembered) instead of zooming. A click cuts the hole through the whole part along the face's normal and writes it into the part's module as one line, `punch([x, y, z], [nx, ny, nz], d);   // M3`; you can go on cutting holes in the same face, **undo** takes the last one back, and Esc goes back to choosing a face. The hole is saved only when it really is at that spot: a linked part (unlink it first) and a part drawn scaled (`if (part == 2) scale(...) lid();`) are refused with the reason shown. A part drawn turned, moved or mirrored into its print orientation (`if (part == 2) rotate(...) lid();`) gets its hole where you clicked. To fit a printer (3.4 to 3.6 mm) or move a hole, use **grab** on its wall. The matching hole in the part it is bolted to is cut by your agent: ask Claude or ChatGPT, it reads the holes (`punched_holes` of get_project), finds the part that touches that face in the assembly, shows you the place and, once you agree, cuts the same hole on the same axis and notes `mate P2` on both lines. A project exports only its parts, never the P0 assembly, so the toolbar has no **Export…** for projects. The three areas are named **P0-VIEW** (assembly), **PX-LIST-VIEW** (part list) and **PX-VIEW** (chosen part); drag the bar between P0-VIEW and the parts to resize them. The chosen part is drawn red inside P0-VIEW (faintly through whatever hides it) when the assembly wraps each placed part in `show(k)` (`$hl = 0;` and `module show(k) if ($hl == 0 || $hl == k || $hl == -1) translate([0, 0, $hl == -1 ? k * 10000 : 0]) children();`; new projects and the agent do this). The chosen part is saved, so an agent knows which part "this part" means. The **Project / Editor** dropdown in the toolbar switches between this screen and the three columns.

**Linked parts.** A design under **Standalone** can be a part of any project without being copied: in PX-LIST-VIEW choose it from **＋ Standalone part…** (each entry shows the design's name and id). It becomes the next part, marked **🔗 linked: name** in the list, and the project stores only a reference (`include <link-ID.scad>`). It stays a link only while both sides leave the part alone. **unlink** beside the part copies the design into the project, so the part can be edited there. Changing the Standalone design itself (its code, unit or Customizer values) does the same from the other side: every project that links it keeps the part as it was, as its own copy, and a notice says so. Either way the two are separate code from then on. Opening a Standalone design that is linked shows where in the bar under the toolbar, and it cannot be deleted while a project links it. Agents link and unlink with `link_part`. **Export… → .scad source** of a project does not include its linked designs.

### 3.6 Status bar

From left to right: design name (with `*` while unsaved), OpenSCAD version, whether the 3D view uses the GPU or software rendering, render time of the last compile, model size and volume in the current unit, triangle count, a **NOT MANIFOLD** warning when the mesh is not watertight (it will not slice cleanly), **Connected: …** while an agent is working in your account, and the last message (export result, who updated the design, errors).

### 3.7 Agent panel

Replaces the desktop app's chat. It holds:

- the **connector URL** of your account with copy buttons and the steps for the Claude app, ChatGPT and Claude Code (section 5);
- the **live log** of tool calls made by connected agents (`12:01:05 Claude ▸ check_model 60 x 40 x 20 mm`), so you can follow what they are doing (**Clear** empties it);
- the **connected agents** (one entry per authorized app, with the time of its last call) with **Disconnect**;
- the **reference images** attached to the open design (section 5.5).

## 4. Designs

Designs replace files. Each design is one `.scad` source with a name, a unit, its Customizer values and its notes, saved in your account; there is nothing to save to disk unless you want a copy.

- **Designs ▾** in the toolbar lists them, newest change first, with who changed it last (you, or `Claude`, `ChatGPT`, …).
- **New project** asks for a name (letters, digits, `-` and `_`; it is engraved on the parts) and creates a project with one part to start from. Designs made before projects, and imported `.scad` files without the `part` selector, are listed under **Standalone** below the grid. **⧉** duplicates (forks) a design into "*name* (copy)" with its code, unit, notes, Customizer values and reference images, and opens the copy; **✎** renames, **🗑** deletes (after a confirmation; this cannot be undone).
- **Import .scad / .stl** uploads a file from your computer as a new design named after the file; dropping the file anywhere on the page does the same. An `.stl` (for example from Bambu Studio: **File → Export → Export all objects as one STL**) is stored with the design, which starts as a project whose one part is `import("name.stl");` (without an engraving), so you or an agent can cut holes in it or add to it. Up to 25 MB per file. **Export… → .scad source** downloads the source again (without the STL).
- **🌐** publishes a design to the public **Gallery** (the **Gallery** tab of the start page, and the home page of visitors who are not signed in). You choose a Creative Commons licence (CC BY, CC BY-SA, CC BY-NC, CC BY-NC-SA or CC0), which says what others may do with it, and the design appears under your **profile name and image** (section 7), never your Google name or email. Everyone can then open its page (`/d/…`), turn the model around, read its code and Customizer values, and without signing in **Open in Bambu Studio**, **Download 3MF** (every part as its own object in print orientation, in mm) or, for a design with one part, **Download STL**. **Customize the dimensions** on that page shows the design's Customizer parameters: a visitor changes them, the model is recompiled in their browser, and **Download 3MF / STL (your values)** gives the changed model (to print it in Bambu Studio, open the downloaded 3MF there). Signed-in users can **Copy to my account** to get a private copy, which records the original, its maker and its licence. Your notes, reference images and later edits stay private: the public version is the design as it was when you published, until you press **Update public version** in the same dialog; **Unpublish** removes it, and so does deleting the design. A design copied from the gallery can be published only under a licence its original allows. Designs that use `import()` (imported STL files) and designs that do not compile cannot be published; linked parts are written into the public version. **Report** on a public page emails the maintainer.
- **🔗** makes a **share link** for a design: a URL to post on X, Threads or in a messenger (KakaoTalk, Slack, …), where it shows a picture of the model with the title "<name> — 3D modeling to Bambu Studio". Anyone with the link sees the model **as it is saved now** (reload the page to see a later change), whether or not the design is in the gallery, and can use **Open in Bambu Studio** and **Download 3MF** without signing in. The code, your notes, reference images and your name are **not** shown, and the page cannot be found through search engines. Choose how long the link works (1 day, 7 days, 30 days or no expiry); the dialog shows the link with **Copy** and buttons with the X and Threads logos that open a new post with the link filled in, how many times the page was viewed and how often **Make your own — free** was clicked, and lets you change the expiry, make a **New link** (the old URL stops working) or **Turn off** the link. For a link without expiry the dialog also offers **Publish to the gallery…** (the 🌐 dialog), so more people find the design; nothing is published unless you do it there. While your saved code does not compile, visitors see the last version that did. A messenger keeps the preview it fetched: after you change the design, previews in messages already sent (and for a while in new ones) show the older picture.
- The design you have open is your **current design**: agents work on it unless you or they open another one. When an agent switches to a different design, a notice offers to open it.
- Saving is automatic (one second after typing, or Ctrl+S). Opening a design in a second tab, or having an agent edit it, keeps both in sync: the page follows every change made from elsewhere.
- **Notes** are the design's intent log, the equivalent of the desktop app's `design.md`: what the part is for, the dimensions you gave, assumptions the agent made. The agent reads them at the start of every session (`get_project`) and appends the assumptions it makes (`add_note`), so it remembers what the part is for across sessions. They are plain text and belong to the design; open **Notes** in the Agent panel to read or edit them.

## 5. Designing with Claude, ChatGPT or Claude Code through MCP

openscad-web is a **remote MCP server**: any app that speaks the Model Context Protocol can sign in to your account and use the design tools below. The web page shows what the agent does live. The connector URL is `https://openscad.bongkow.com/mcp` (the Agent panel and Settings show the exact URL of the site you are on).

### 5.1 Connecting each app

**Claude app (web, desktop, mobile)** — *Settings → Connectors → Add custom connector*: name `openscad-web`, URL `https://openscad.bongkow.com/mcp`, no client id or secret. Press *Connect*: a browser tab opens on openscad-web where you sign in (if you are not already) and press **Allow**. Enable the connector in a chat with the tools menu.

**ChatGPT** — *Settings → Connectors → Advanced → Developer mode* must be on. Then *Create* a connector: name `openscad-web`, MCP server URL `https://openscad.bongkow.com/mcp`, authentication *OAuth*. ChatGPT opens the same sign-in and consent page. Pick the connector in a conversation under *Tools*; deep research uses `search` and `fetch`, ordinary chats use every tool.

**Claude Code** — in a terminal:

```
claude mcp add --transport http openscad-web https://openscad.bongkow.com/mcp
```

Then `/mcp` inside Claude Code, choose *openscad-web* and *Authenticate*: the browser opens on the consent page. Afterwards, ask Claude Code for a part in plain language; it uses the openscad-web tools like the app does.

Other MCP clients that support remote servers with OAuth (Cursor, VS Code, …) work the same way with that URL.

### 5.2 Sign-in and consent

The first time an app connects, it registers itself with openscad-web and sends you to **Connect <app> to openscad-web** in your browser. That page needs your web sign-in (you are taken to the Google sign-in first if needed) and asks whether the app may read and write your designs. **Allow** returns to the app with a token that is valid until you disconnect it; **Deny** returns with an error. Nothing about the app is sent to Google: the app's token comes from openscad-web, your Google sign-in only identifies you to openscad-web.

### 5.3 What the agent can do

The agent only gets these tools; it cannot see other users, files, or anything outside your designs.

| Tool | Purpose |
|---|---|
| `list_designs` | Your designs (id, name, unit, last change) and which one is current. |
| `open_design` | Make a design current, by id or a unique fragment of its name, and read its code. Your browser follows. |
| `new_design` | Create a design (optionally with a name and initial code) and make it current. |
| `fork_design` | Duplicate the current design (or one named by id or name fragment) with its code, unit, notes, Customizer values and reference images, and make the copy current. For trying a variant without touching the original. |
| `get_code` | Read the current design's source. |
| `set_code` | Replace the source with a complete file, compile, save. For final versions. |
| `check_model` | Compile the complete code, measure it (size, volume, manifold), save it to the current design and render the `iso`, `front`, `top` views (up to four of iso/front/top/right/back/bottom/left) as images the agent looks at. The OpenSCAD rules and 3D-printing rules the agent follows come with `get_project` (design_rules). |
| `get_project` | Read the design's notes, its unit, the OpenSCAD version, the available libraries and the design rules. |
| `add_note` | Append one dated line to the design's notes: what was built, which values were assumed. |
| `get_params` / `set_params` | Read the Customizer parameters; try values like the sliders do (they are saved with the design, added to the values already set, and used by the next `check_model`; `{}` resets them). |
| `export_model` | Get a private download link for STL, 3MF or OFF, valid 15 minutes, no sign-in needed (3MF also gets a page that opens it in Bambu Studio). |
| `get_reference_images` | Look at the images you attached to the design. |
| `search` / `fetch` | Search your designs by name or code, and read one by id. These are the two tools ChatGPT's deep research and search modes require. |
| `openscad_view` | Open an interactive design panel inside a compatible chat: 3D preview, dimensions, source editor and parameter controls. Viewing does not change the current design. |

Every tool call appears in the Agent panel's log as one row (`check_model 60 x 40 x 20 mm`, `export_model https://…/Box.stl`; failed calls in amber with the error), and every write shows up in the editor and 3D view at once.

Rules the agent follows: write the complete file, check it after every change, keep `$fn ≤ 128` while iterating, use the numbers (not the picture) for dimensions, state every assumed value in a top-level variable, and only ask a question when the basic shape is ambiguous.

### 5.4 How it shows up live

In Claude or ChatGPT with MCP Apps support, ask **“Show my current design in the interactive OpenSCAD app.”**
If `openscad_view` is missing, refresh/reconnect the connector after the server is updated. Drag the model to
rotate, scroll to zoom, or choose a standard view. **Expand** uses fullscreen when the host supports it.
Change source or parameter values, then **Compile & save**; compilation happens on the server and successful
edits save to the displayed design. Invalid source stays in the editor for correction. If another session has
saved a newer version, saving is rejected and your draft is retained. **Refresh** loads the latest model;
**Discard edits & refresh** explicitly replaces a draft. The preview shows the last loaded/saved result until
you save or refresh. Downloads work through private 15-minute links without a website sign-in. **Open in Bambu Studio** opens a small handoff page: click **Open Bambu Studio** there and allow the browser’s app prompt. Unsaved edits must be compiled and saved before exporting.

While an agent works, the open design in your browser follows it: after every `check_model`, `set_code` or `set_params` the editor gets the new code, the 3D view recompiles, and the status bar shows *Connected: Claude* and *Updated by Claude*. If the agent opens or creates another design, a notice at the top offers to open it. Everything an agent does is also listed in the Agent panel. If you have several tabs open, all of them follow.

### 5.5 Reference images

Attach photos, sketches or drawings of the part to a design from the Agent panel: press **Attach**, paste an image from the clipboard, or drop image files onto the panel (up to 4 per design; images are downscaled to 1024 px before upload; **×** removes one). Connected agents fetch them with `get_reference_images` and use them for shape and proportions; give at least one real dimension in the text so they can scale.

### 5.6 Disconnecting agents

Each authorized app is listed under **Connected agents** in the Agent panel, with the time of its last call. **Disconnect** revokes its token immediately: the app gets an authentication error on its next call and has to be connected again. Signing out of the web app does not disconnect agents; disconnecting is the way to stop an app for good. Removing the connector inside the Claude app or ChatGPT also revokes the token on their side.

### 5.7 Privacy

Designs are readable only by you (signed in with your Google account) and by the agents you connected, which act as you. The site stores your Google id, e-mail, name and picture to sign you in; nothing is shared with other users, and the agents' vendors only receive what the agent asks for (your code, measurements, rendered views and reference images) through their own connection to openscad-web.

### 5.8 Writing good requests

- Give the **purpose** and the **critical dimensions** ("holds a 25 mm desk edge", "M3 screws", "fits a 75 mm phone").
- Say what may be assumed ("any sensible wall thickness").
- Mention the printer orientation if it matters ("flat face down").
- For changes, refer to variable names the agent used ("make `hole_d` 4 mm") for the smallest change.
- Tell it which design to work on ("continue the phone stand") when you have several; otherwise it uses the current one.

## 6. Units and export

OpenSCAD numbers have no unit. The app **reads them in the unit you select** for the design (mm by default; cm or m via Settings or the badge in the 3D view). Sizes and volumes in the status bar and the numbers the agent gets use that unit.

Mesh exports (STL, 3MF, OFF) are **scaled to millimetres** for slicers: a `cube(10)` modelled in cm exports as a 100 mm cube. Exports are computed on the server from the saved design, including the current Customizer values. There is no PNG export in the web app; the agent's views are rendered by the server for it.

**Export… → Open in Bambu Studio** saves the source and pending parameter changes, then opens a small handoff page. Click **Open Bambu Studio** and allow the browser to open the desktop app. Windows/Linux use `bambustudio://open?file=…`; macOS uses `bambustudioopen://…`. Bambu Studio may ask whether to load an external file. The 3MF link needs no website login, stays valid for 15 minutes, and keeps the reviewed model even if another chat edits the design. If launching fails, use **download the 3MF** on the same page. Do not share the private link.

To send several parts of a project at once, tick them in the parts list (PX-LIST-VIEW) of the Project screen and click **Open checked in Bambu Studio**. They arrive in one 3MF, each part as its own object named **P1:NAME**, **P2:NAME**, …, in print orientation, side by side 10 mm apart. If they do not fit the plate, use **Arrange** in Bambu Studio.

On Linux, AppImage installations may have no URL handler registered. The Bambu Studio `.desktop` entry must have `MimeType=x-scheme-handler/bambustudio;` and an `Exec` ending in `%U`. Run `update-desktop-database ~/.local/share/applications`, then `xdg-mime default bambu-studio.desktop x-scheme-handler/bambustudio` (replace the desktop filename if yours differs). Check with `xdg-mime query default x-scheme-handler/bambustudio`.

## 7. Settings

| Setting | Meaning |
|---|---|
| **Profile name**, **profile image** | The name and picture shown with the designs you publish to the gallery (section 4). The image is cropped to a square. They are public once you publish; your Google name, picture and email are never shown. |
| **Model units** | mm / cm / m for the open design, see section 6. Saved with the design. |
| **Auto-preview on edit** | Recompile while typing. Remembered in this browser. |
| **Connector URL** | The MCP URL of your account for the Claude app, ChatGPT and other clients (section 5), with a copy button. |

Everything else (designs, notes, Customizer values, connected agents) lives in your account and follows you to any browser.

## 8. Keyboard shortcuts

| Keys | Action |
|---|---|
| Ctrl+S | Save now (also happens automatically) |
| F5 | Compile now |
| F1 | Docs |
| Ctrl+Z / Ctrl+Y (editor) | Undo / redo |
| Ctrl+F / Ctrl+H (editor) | Find / replace |
| Esc | Close a dialog |

---

## 9. OpenSCAD language guide

OpenSCAD describes a solid as a **tree of operations**: primitives, transformed, combined with booleans. The code is evaluated top to bottom into that tree, then the tree is rendered. Numbers are unitless (the app treats them as the selected unit).

### 9.1 Basics

```scad
// single-line comment      /* block comment */
width = 40;                 // variables: assigned once per scope, last assignment wins
height = width / 2;         // expressions: + - * / % ^, comparisons, && || !, ?: 
cube([width, 20, height]);  // a statement ends with ;
```

- Variables are **constants within their scope**: `x = 1; x = 2;` uses 2 everywhere in that scope (not sequential like most languages).
- Values: numbers, booleans (`true`/`false`), strings (`"text"`), vectors (`[1, 2, 3]`, nested allowed), ranges (`[0:2:10]`), `undef`.
- Vector access: `v[0]`, `v.x` / `v.y` / `v.z`, `len(v)`, `v[i][j]`, `concat(a, b)`.

### 9.2 3D primitives

```scad
cube(10);                          // 10×10×10, corner at origin
cube([30, 20, 10], center = true); // centred on the origin
sphere(r = 5);   sphere(d = 10);
cylinder(h = 20, r = 5);           // r1/r2 for cones: cylinder(h=10, r1=6, r2=2)
cylinder(h = 20, d = 10, center = true);
polyhedron(points = [[0,0,0],[10,0,0],[0,10,0],[0,0,10]],
           faces  = [[0,1,2],[0,3,1],[0,2,3],[1,3,2]]);   // faces clockwise seen from outside
```

`cylinder(5)` means **radius** 1, height 5: always write `d=` or `r=` explicitly.

### 9.3 2D primitives and extrusion

```scad
square(10);  square([20, 10], center = true);
circle(r = 5);  circle(d = 10);
polygon([[0,0],[20,0],[10,15]]);          // paths = [...] for holes
text("Hi", size = 8, font = "Liberation Sans:style=Bold", halign = "center");

linear_extrude(height = 5) square(10);                 // 2D → 3D
linear_extrude(height = 20, twist = 90, scale = 0.5) circle(5);
rotate_extrude(angle = 360) translate([10, 0]) circle(2);   // torus; profile must be at x ≥ 0
offset(r = 2) square(10);     // round outward; offset(r=-2) rounds inward; offset(delta=2) sharp
projection(cut = true) cube(10);   // 3D → 2D outline (cut = slice at z=0)
```

2D and 3D objects **cannot be mixed** in one boolean; extrude the 2D part first.

### 9.4 Transformations

Transformations wrap the object that follows (one statement or a `{ }` block) and apply **inside-out**: the last written is applied first.

```scad
translate([10, 0, 5]) cube(5);
rotate([0, 0, 45]) cube(5);          // degrees about X, Y, Z; rotate(a = 45, v = [1,1,0]) for an axis
scale([1, 2, 1]) sphere(5);
mirror([1, 0, 0]) text("R");         // mirror across the plane with that normal
resize([30, 0, 0], auto = true) sphere(5);   // scale to a size; 0 = keep proportion
color("teal") cube(5);  color([1, 0.5, 0, 0.5]) sphere(3);   // preview only
multmatrix(m) cube(5);               // any 4×4 matrix
hull() { translate([0,0,0]) cylinder(h=5, r=3); translate([20,0,0]) cylinder(h=5, r=3); }  // convex skin
minkowski() { cube(10); sphere(1); }  // rounds every edge; slow, keep $fn small
```

`translate([10,0,0]) rotate([0,0,45]) cube(5)` rotates the cube **then** moves it.

### 9.5 Booleans

```scad
union()        { cube(10); sphere(7); }            // implicit for sibling objects
difference()   { cube(10); translate([5,5,-1]) cylinder(h = 12, d = 4); }  // first child minus the rest
intersection() { cube(10); sphere(7); }
```

In `difference()` only the **first** child is kept. Make cutters **longer** than the material (`-1` / `+2` above): coincident faces leave zero-thickness skins and non-manifold results.

### 9.6 Modules, functions, children

```scad
module bracket(w = 20, t = 3) {          // module = reusable shape
    difference() { cube([w, w, t]); translate([w/2, w/2, -1]) cylinder(h = t + 2, d = 4); }
}
bracket();  bracket(30, t = 4);

function area(r) = PI * r * r;           // function = value
echo(area(5));

module ring(n = 6, r = 20) {              // children(): the objects placed inside this module
    for (i = [0 : n - 1]) rotate(i * 360 / n) translate([r, 0, 0]) children();
}
ring(8) sphere(2);
```

Modules can be defined anywhere, including inside other modules. `$children` gives the count; `children(0)` picks one.

### 9.7 Control flow and lists

```scad
for (i = [0 : 3]) translate([i * 12, 0, 0]) cube(10);          // range: [start : end] or [start : step : end]
for (p = [[0,0], [20,0], [10,15]]) translate(p) cylinder(h = 5, d = 3);
for (x = [0, 10], y = [0, 10]) translate([x, y, 0]) sphere(2); // nested
if (height > 10) cube(10); else sphere(5);
intersection_for (a = [0, 60, 120]) rotate(a) cube([30, 10, 10], center = true);

pts = [for (i = [0 : 5]) [i * 10, sin(i * 60) * 5]];              // list comprehension
big = [for (v = values) if (v > 10) v];
let (r = 5, h = r * 2) cylinder(h = h, r = r);                    // local names
```

Loops **union** their bodies; there is no `while` and no mutation — build lists with comprehensions and recursion.

### 9.8 Built-in functions

- **Math**: `abs sign sin cos tan asin acos atan atan2 floor ceil round sqrt pow exp ln log min max norm cross` (angles in degrees), constants `PI`, and `rands(min, max, n, seed)`.
- **Lists**: `len concat lookup(key, table) search min(list) max(list)`.
- **Strings**: `str(a, b, …)` (concatenate anything), `len`, `chr`, `ord`, `search`.
- **Type tests**: `is_undef is_bool is_num is_string is_list`.
- **Output**: `echo(...)` prints to the diagnostics panel; `assert(cond, "message")` stops with an error.

### 9.9 Special variables

| Variable | Meaning |
|---|---|
| `$fn` | Number of segments for circles/spheres/cylinders. `$fn = 64;` at the top of the file is a good default; keep ≤ 128 (render time grows fast). Set per object: `cylinder(h=5, d=3, $fn=24)`. |
| `$fa`, `$fs` | Alternative: minimum angle (degrees) and minimum segment length; used when `$fn` is 0. |
| `$t` | Animation time 0…1 (OpenSCAD GUI only). |
| `$preview` | `true` in preview mode; the app renders fully, so it is `false`. |
| `$children` | Number of children in a module. |

### 9.10 Modifiers, include and use

- `#object` highlights the object (debug), `%object` shows it transparent and excludes it from the model, `!object` renders only that object, `*object` disables it. The app's 3D view shows the final mesh, so `#` and `%` objects simply do not appear; they are still useful in error hunting with `!`.
- `include <file.scad>` inserts the file (its top-level code runs, its variables can be overridden by assignments *after* the include); `use <file.scad>` imports only its modules and functions. Library paths (`<BOSL2/std.scad>`, `<MCAD/...>`, `<NopSCADlib/...>`) resolve to the bundled libraries (section 10); there are no other files to include.
- `import("part.stl")` works only for an STL uploaded with **Import .scad / .stl** (section 4); 3MF import is not available. `surface("heightmap.png")` needs a file next to the design, so it is not available.

### 9.11 Customizer annotations

Annotations turn top-level variables into controls in the Customizer panel (and in OpenSCAD's own GUI):

```scad
/* [Dimensions] */
// Outer width of the box
width = 60;          // [20:1:200]      slider: min:step:max
// Wall thickness
wall = 2;            // [1.2:0.2:5]
// Lid style
lid = "snap";        // [snap, screw, none]   dropdown
// Add ventilation slots
vents = true;                          // checkbox
/* [Hidden] */
$fn = 64;
inner = width - 2 * wall;              // derived values stay out of the panel
```

Rules: the description comment goes on the line **above**, the range or choices on the **same** line after the value, groups with `/* [Name] */`, and only assignments before the first `module`/`{` are parameters. Ask a connected agent to "make it parametric" and it writes these for you.

### 9.12 Designing for 3D printing

- Put a flat face on Z = 0; the grid is the bed.
- Walls ≥ 1.2 mm (two perimeters), floors ≥ 0.8 mm; 2 mm is a safe default.
- Holes come out smaller than modelled: an M3 clearance hole is 3.4 mm, a press fit for a 5 mm pin is about 4.9 mm. Calibrate your printer once and keep the numbers in a variable.
- Overhangs beyond 45° need support; bridges up to ~20 mm usually print. Chamfer the bottom outer edges 0.5–1 mm against elephant's foot.
- Keep everything **manifold**: no coincident faces, no zero-thickness walls, cutters overshoot by ≥ 0.01. The status bar warns when the mesh is not manifold.
- Use `hull()` of cylinders for rounded corners; avoid `minkowski()` with spheres except for tiny finishing radii.

### 9.13 Common pitfalls

| Symptom | Cause |
|---|---|
| Nothing appears / "top level object is empty" | Everything was subtracted, a 2D object used in 3D, or a library not found. |
| Hole cut has a thin skin | Cutter exactly as long as the material; overshoot it. |
| Rotation moved the part unexpectedly | Transforms apply inside-out; rotate first (right), then translate (left). |
| `cylinder(5)` is tiny | That is radius 1; write `d=` or `r=`. |
| Variable "ignored" | Assigned again later in the same scope; the last assignment wins everywhere. |
| Render very slow | `$fn` too high, `minkowski()`, huge `for` loops; try `$fn = 32` while iterating. |
| Text missing | Unknown font name; the bundled fonts are Liberation Sans/Serif/Mono and Noto Sans (section 10). |

---

---

## 10. Troubleshooting

| Problem | Fix |
|---|---|
| The 3D view is black or empty | The mesh failed to compile (see diagnostics), or the browser has neither WebGPU nor WebGL: the status bar shows *3D: WebGPU* or *3D: WebGL* for the one in use, *(software rendering)* after it when the GPU is not used, and nothing at all when neither is available. Enable hardware acceleration in the browser settings, update the graphics driver, or try another browser. |
| The first compile takes about a second | The 10 MB OpenSCAD engine is downloaded and compiled once per page load; after that a simple part renders in 50–100 ms. |
| Rendering is slow | `$fn` too high, `minkowski()`, huge `for` loops; try `$fn = 32` while iterating. BOSL2 parts take 0.4–1 s. Compiles run in a background thread, so the page stays responsive; a new edit cancels the running compile. |
| `text()` shows nothing or a wrong font | The bundled fonts are Liberation Sans, Liberation Serif, Liberation Mono and Noto Sans (plus Noto scripts for many languages). Use one of those names: `text("Hi", font = "Liberation Sans:style=Bold")`. |
| `include <…>` says the file cannot be found | Only the bundled libraries exist: **BOSL2** (`include <BOSL2/std.scad>`), **MCAD** (`include <MCAD/involute_gears.scad>`) and **NopSCADlib** (`include <NopSCADlib/lib.scad>`). There is no way to upload other libraries; paste the modules you need into the design. |
| Exported STL is 10× too big or small | Check the unit badge: exports are scaled from the selected unit to mm. |
| **Open in Bambu Studio** does nothing | Click **Open Bambu Studio** on the handoff page and allow the browser prompt. On Linux, check URL handler registration (section 7). The page also has a direct 3MF download. |
| Export fails with "compile failed" | The saved code has errors; fix the diagnostics first. Exports use the saved design, so press Ctrl+S if the editor shows a `*`. |
| An agent gets "unauthorized" | Its connection was disconnected in the Agent panel or its token was revoked; connect it again (section 5.1). |
| The consent page says the request has expired | Consent requests are only valid for a few minutes; start the connection again from the app. |
| The agent's change did not appear | Check the Agent panel: the last call may have failed (rows in amber carry the error). The page reconnects to the server by itself after a network interruption; reload if the status bar stays silent. |
| Signed out unexpectedly | Sessions last 30 days; sign in again. Connected agents keep working. |

## 11. Version history

| 26.11.24.2 | MCP tool descriptions state only what each tool does and returns, with no orders to the model and no names of other tools. |
| 26.11.24.1 | Files you export (STL, 3MF, OFF) say "Made with openscad.bongkow.com" in their file information; a published design's files also name its page. The shapes are unchanged. The home page lists the newest published designs. Share link pictures show the site name. New **Support** page. For AI apps: every tool has a short name, and the sign-in approval page shows where it sends you back. |
| 26.11.20.3 | Opening a share link while signed in no longer loads the editor behind the share page (an account without designs got an empty project from it). |
| 26.11.20.2 | Gallery thumbnails (the home page and the **Gallery** tab) show the parts that are not printed (bought parts such as boards, batteries or lenses, and labels) in gray and the printed parts in yellow, as the Project view does. Thumbnails of designs published earlier are made again automatically. |
| 26.11.20.1 | **Share link**: **🔗** on a design makes a URL to post on X, Threads or in a messenger. Anyone with it sees the model as it is saved now, published or not, with **Open in Bambu Studio** and **Download 3MF**; the code, notes and your name stay private. The link shows the model's picture and "<name> — 3D modeling to Bambu Studio" in link previews (KakaoTalk, X, Threads, Slack, …). It can expire after 1, 7 or 30 days or never, be replaced or turned off, and the dialog counts views and clicks on **Make your own — free**. For a link without expiry it offers **Publish to the gallery…**. |
| 26.11.18.9 | **Ctrl+Z** takes back the changes made with the tools of the 3D view, step by step: a **grab** drag, a **hole**; while **marking** is on it removes the last point. The tools' **undo** buttons use the same history (it ends once the code is changed in another way; inside the code editor Ctrl+Z is the editor's own). **Shift**, pressed and let go alone, steps the view under the pointer (else PX-VIEW) through iso, front, top, right. |
| 26.11.18.8 | The three tools of a 3D view are grouped under **tools**, each with a key: **marking (m)** (was "mark points"), **grab (g)** and **hole (h)** (was "punch hole"); the keys work in a Korean keyboard layout too and not while typing; only one tool is on at a time, also across P0-VIEW and PX-VIEW. **marking**: every distance has a colour of its own, shared by its line, its tag and its entry in the list under the points; up to 10 distances are drawn at once. |
| 26.11.18.7 | **mark points**: a marked point is a small pink dot with a small number right beside it; both grow and shrink with the zoom, within limits, so neighbouring points can be told apart. The distance tags of the marked points are smaller, move along their stretch to where they cover no point, number or other tag, and are hidden where there is no room (the list under the points, now white on dark, has every distance). A distance between edges or faces that equals the points' own is named on their tag (`15 mm = between edges`) instead of being left out; distances of 0 are no longer shown. |
| 26.11.18.6 | **mark points**: on a long outline of straight sides and rounded corners (the rim of a rounded box), a point belongs to the side or the corner under it, not to the whole outline, so "between edges" is the distance between the two sides that were marked and no longer the thinnest wall somewhere else; the line is drawn at the marked point; a distance that differs from the points' own by less than 0.02 is not repeated. |
| 26.11.18.5 | **mark points**: beside the distance between two marked points, the distances between what they lie on are shown, each with a yellow line from where to where: between two edges (the shortest way, square across parallel ones), between the centres of round edges (holes, rounded corners) and from a centre to an edge, a face or a corner, between two parallel faces (a gap, a wall thickness), and from an edge or a corner to a face. The same is listed as text under the points (`1–2: 49.7 mm · 40 between edges`). |
| 26.11.18.4 | **grab**: a chosen face has one arrow per direction, so it can also be dragged sideways (along the x, y or z axis) to move a feature or change a width, not only square to the face; the check of the numbers is faster (numbers that only other parts use are skipped, several are compiled at a time) and need not be waited for: the arrows appear as soon as a number that moves the clicked face is found, and stay while the check runs again after a drag. **punch hole**: a part drawn turned, moved or mirrored into its print orientation (`if (part == 2) rotate(...) lid();`) gets its hole where you clicked, where it was refused before. |
| 26.11.18.3 | **Feedback** board at `/feedback`: anyone reads what users reported and asked for; signed-in users write there. It is reached from the **Feedback** button in the toolbar (next to **Docs**) and from the **Feedback** link at the bottom of the home page. The corner "의견 보내기" button is shown only while signed in. |
| 26.11.18.2 | **punch hole** in PX-VIEW (under **grab**): click a face of the chosen part and the view turns to look straight at it; a red circle follows the pointer and shows the bolt size, the hole's diameter and the distances to the borders of the face; the wheel steps through M1, M2, M2.5, M3, M4, M5, M6, M7 and M8 (clearance holes), a click cuts the hole through the part and writes one `punch(...)` line into the code, and **undo** takes the last hole back. For AI assistants: `get_project` lists the punched holes with the rule for cutting the matching hole in the part that is bolted on. |
| 26.11.18.1 | **grab** in PX-VIEW (under **mark points**): click a face of the chosen part, or the wall of a hole, and the numbers of the code that move it are listed; drag the arrow on the face and the chosen number changes in the code as you drag, the part is redrawn, and **undo** takes the last drag back. Sizes and positions inside the part are changed this way; a part's place in the assembly is not. |
| 26.11.16.7 | For AI assistants and other programs: this guide is served as Markdown at `/guide.md` (Korean: `/guide.ko.md`), `/llms.txt` describes the whole site including the public gallery's JSON addresses, a published design's source is at `/api/gallery/<id>/code.scad`, and every published design's page carries schema.org data (name, maker, licence, 3MF file). The home page's description and FAQ cover the gallery. Project screen: while parts are ticked in the list, the right-click menu of a part also has **Open checked in Bambu Studio** and sends all ticked parts together. |
| 26.11.16.6 | A published design's page has **Customize the dimensions**: visitors change the design's Customizer parameters without signing in, the model is recompiled in their browser, and they download the changed model as 3MF or STL. **Sizes in the 3D view**: a **sizes** button draws the overall width, depth and height as dimension lines beside the model, and pointing at an edge shows its length (a circle: Ø diameter, an arc: R radius). |
| 26.11.16.5 | A published design's page has **Open in Bambu Studio**, **Download 3MF** and (for a design with one part) **Download STL**, usable without signing in. The files are made when you publish or update the public version, so designs published before this version get them on the next **Update public version**. |
| 26.11.16.4 | The home page of visitors who are not signed in has the headline **OpenSCAD to Bambu Studio** above the gallery. |
| 26.11.16.3 | **Public gallery**: **🌐** on a design publishes it under a Creative Commons licence you choose, with your **profile name and image** (new in Settings). The start page has a **Gallery** tab, visitors who are not signed in see the gallery as the home page, and every published design has its own page (`/d/…`) with the 3D model, the code and **Copy to my account**. The public version is a snapshot: later edits, notes and reference images stay private until **Update public version**. |
| 26.11.16.2 | Every new design is a project, also with a single part: a first sign-in, an imported `.stl` and agents' `new_design` start as one, and agents can no longer save a project without its `part` selector. **Linked parts**: **＋ Standalone part…** in PX-LIST-VIEW (or `link_part` for agents) adds a Standalone design to a project as a part by link, without copying it, shown as **🔗 linked**; **unlink**, or changing that design, leaves the project with its own copy. The folded list is named **Standalone** (was Olds). The version next to the title opens this version history. |
| Version | Changes |
|---|---|
| 26.11.16.1 | Start page: the title is **openscad**, the folded list of non-project designs is named **Olds**, and **New design** is gone (use **New project** or **Import**). Clicking **openscad-web** at the top left of the editor returns to the start page. |
| 26.11.14.2 | Project screen: tick parts in the list and **Open checked in Bambu Studio** sends them together in one 3MF, each part as its own object. |
| 26.11.14.1 | STL import: **Import .scad / .stl** on the Designs screen, or dropping an `.stl` anywhere on the page, creates a new design that starts with `import("name.stl");` (up to 25 MB). The file is stored with the design, so previews, exports, thumbnails, duplicates and agents all use it. |
| 26.11.13.1 | Agents: `check_model` and `set_code` now measure with the Customizer values set by `set_params` (checking a part no longer measures the assembly); `set_params` adds to the values already set (`{}` resets); `export_model` gives a private 15-minute link that needs no sign-in; reconnecting a client replaces its earlier key. |
| 26.11.12.1 | Phone-friendly layout: on screens narrower than 768 px the editor shows one pane at a time (**Code** / **3D view** / **Agent** tabs), the Project screen stacks P0 above the parts, the toolbar wraps and menus fit the screen. Resize handles and menus work by touch. |
| 26.11.09.3 | Agents paint regions of a part in colours (`paint_part`) to show what they will DELETE or MODIFY before asking you: PX-VIEW shows them at once with a legend (colour + label) and a **clear** button. |
| 26.11.09.2 | PX-VIEW: 3 or more points paint the part inside their outline blue (through the part); the points are saved with the chosen part, and agents read them under `selected_part` and see the blue region in check_model screenshots of that part. |
| 26.11.09.1 | Three or more marked points close into an outline: agents read it from `get_project` (marked_outline) and see it in check_model screenshots, so "remove the part inside the points" works. Point dots are a fixed 0.2 mm across. |
| 26.11.06.8 | Agents edit a project's parts inside the project: get_project lists the project's parts, and asking to change "P3" no longer sends the agent to an older design with a similar name. |
| 26.11.06.7 | P0-VIEW: only printed parts are yellow (chosen part red); bought parts are gray with engraved names; a click on a bought part (Pi, camera) picks the printed part under it. |
| 26.11.06.6 | **Preview** is renamed **Re-render**; Project / Editor is a dropdown. |
| 26.11.06.5 | **Home** in the toolbar (left of **Save**) returns to the start page, the list of projects. **select part** is on by default and much faster (one compile prepares every part; picking and the red highlight no longer compile); PX-VIEW gets **mark points** for measuring. |
| 26.11.06.4 | Project view: parts are exported from **Export…** in PX-VIEW or the right-click menu (the toolbar Export is gone for projects); **select part** in P0-VIEW picks a part by clicking it; the chosen part shows red inside P0; P0-VIEW / PX-LIST-VIEW / PX-VIEW names; draggable divider; agents see the chosen part (`get_project` → `selected_part`). |
| 26.11.06.3 | Projects export only their parts; exporting the P0 assembly (toolbar, links, agents) is refused. |
| 26.11.06.2 | The design grid shows only projects, as large P0 thumbnails that fill and centre the model; other designs are folded under **Other** below the grid. |
| 26.11.06 | Multi-part projects: a design with `part = 0; // [0:Assembly, 1:…]` opens as a **Project** screen (P0 assembly large, parts listed beside it, each sendable to Bambu Studio on its own). The design button opens a grid of P0 thumbnails (also at startup) with **New project**. Larger toolbar. |
| 26.11.01.3 | Marked points are joined by a line with each segment's length shown above it; a click near an edge lands on the edge, and near a corner you are asked whether to move the point onto the corner. |
| 26.11.01.2 | Marked points show as dots on the model surface with a small number beside them; marks the model covers are hidden. |
| 26.11.01 | Mark points on the 3D view for the agent: in **mark points** mode a click adds point1, point2, …, a right click removes the last one, holding the right button 3 s removes all after a confirmation; agents read them with `get_project`. |
| 26.10.25.2 | Updated the privacy policy to describe the feedback button and Cloudflare Web Analytics. |
| 26.10.25 | Added the feedback button (feedback.bongkow.com) to the app page. |
| 26.10.24.3 | Privacy and terms pages now list the contact email skim@bongkow.com instead of a GitHub issues link. |
| 26.10.24.2 | llms.txt source link now points to the OpenSCAD engine source (github.com/openscad/openscad). |
| 26.10.24 | URLs with a trailing slash (/login/, /privacy/ …) now redirect permanently (301) to the slashless path; the home page and landing-page folders keep their slash. |
| 26.10.19.3 | Privacy page description now says the app itself has no ads or analytics trackers. |
| 26.10.19.2 | Search-friendly titles and descriptions for the privacy and terms pages, a real "page not found" page, faster first load (the editor and 3D view load after sign-in). |
| 26.10.19 | Search pages (OpenSCAD online, OpenSCAD to STL, Bambu Studio, AI/MCP, Korean), robots.txt, sitemap, llms.txt, compressed downloads, privacy and terms pages, reviewer sign-in for app review. |
| 26.0929.9150715 | Fix Linux/Windows Bambu launch links and add chat exports with version-pinned downloads, a Bambu handoff page and a 3MF fallback. |
| 26.0929.9130123 | Embedded MCP App for Claude and ChatGPT: interactive 3D preview, source and parameter editing, fullscreen, and version-checked saves. |
| 26.0922.9154611 | **Export… → Open in Bambu Studio** sends the 3MF straight to the running Bambu Studio through a 15-minute link and the `bambustudioopen://` scheme. | The file opens under the design's name. |
| 26.0922.9150919 | `fork_design` MCP tool: agents can duplicate the current (or a named) design and continue on the copy. |
| 26.0922.9150126 | Duplicate (fork) a design from the Designs menu: code, unit, notes, Customizer values and reference images are copied into "*name* (copy)". |
| 26.0922.9134709 | The 3D view canvas always fills its pane (it was sized in device pixels, so it was too small or too large depending on the browser zoom). |
| 26.0922.9133154 | The Customizer starts collapsed to one line; click its title to show the sliders. |
| 26.0922.9132717 | The three panes fill the window height again (the hidden notice bar had shifted the grid rows); long Agent panel labels no longer cause horizontal scrolling. |
| 26.0922.9132055 | Columns default to equal thirds; long agent log lines wrap instead of stretching the panel. |
| 26.0922.9110516 | Korean user guide (한국어 사용 설명서) with a language toggle in the Docs window. |
| 26.9.21.1 | First version: OpenSCAD 2025.03 (Manifold) in WebAssembly in the browser, Monaco editor with axis colours, three.js 3D view, Customizer, designs saved per Google account, remote MCP server with OAuth sign-in for the Claude app, ChatGPT and Claude Code, live sync of the design while agents work, reference images, STL/3MF/OFF export scaled to mm, this guide. |

Version numbers are release dates in Korean time: `YY.MM.DD` (`26.10.19` is 2026-10-19), with `.2`, `.3`, … for later releases the same day. Versions up to 26.0929.9150715 used `YY.MMDD.9HHMMSS` (date and time).

## 12. Licence and credits

openscad-web is free software under the **GPL-2.0**. It builds on [OpenSCAD](https://openscad.org) (GPL-2+), whose language and geometry engine (with the [Manifold](https://github.com/elalish/manifold) backend) do all the modelling; the WebAssembly build of OpenSCAD, the bundled fonts and libraries, and the editor's OpenSCAD language support come from the official [openscad-playground](https://github.com/openscad/openscad-playground). The 3D view uses [three.js](https://threejs.org), the editor [Monaco](https://microsoft.github.io/monaco-editor/), the agent connection the [Model Context Protocol SDK](https://github.com/modelcontextprotocol/typescript-sdk). It is the web version of [better-openscad](https://github.com/bongkow/better-openscad).
