ScadBox user guide

Updated 25 November 2026

How everything in ScadBox for Mac works, with its shortcut or where to find it. The same guide is in the app, under Help › ScadBox Guide (⌘?).

Getting Started

ScadBox is an editor for OpenSCAD designs: write code on the left, see the model on the right, and print it. It renders designs with its own built-in engine, so there's nothing else to install, and works with AI agents like Claude Code.

The ScadBox library: start a blank design or a template, or open a sample or one of your designs
Set up Help › Set Up ScadBox
The BOSL2 library, your printer and the agent connection are all in one place.
Start a design ⌘N
New opens the library: start a blank design, a cube, or a ready-made part such as a box with a lid, a hinge or a Gridfinity bin, or open one of the samples or your own designs.
Customizer ⌥⌘I
Write parameters at the top of the file with a comment above (the description) and a range after, like width = 40; // [10:1:100]. They appear as sliders and fields, grouped by /* [Group] */ comments.
Preview and Render F5 · F6 · ⌘R
Preview shows # (highlight) and % (background) parts over the model, like OpenSCAD's F5. Render shows only the final solid you export (F6). Designs re-render as you edit.

Writing Code

The editor knows OpenSCAD, your own modules and functions, and the libraries you include, BOSL2 too.

Completion ⌃Space
Suggestions appear after two letters, with each module's parameters and a description. Return or Tab inserts one; modules come with their brackets.
Parameter hints
Inside a call, a hint above the line shows the parameters, with the one you're typing in bold.
Hover help
Rest the pointer on a name for what it is, its parameters and where it's defined.
Jump to definition ⌘-click · ⌃⌘J
Goes to where a module, function or variable is defined, including into included files and BOSL2.
Include paths
Inside include < or use <, completion offers your library folders and the files next to your design.
Jump bar
Above the code: the menu jumps to a customizer group, module or function, and the error and warning counts step through the problems.
Problems
Errors and warnings are underlined, marked in the line numbers and written at the end of their line. ScadBox also warns about names that are never used, a variable set twice (OpenSCAD uses the last value everywhere) and deprecated functions.
Folding ⌥⌘← · ⌥⌘→ · ⌥⇧⌘←
Click the chevron beside a block's first line to hide its inside; click ⋯ to open it again.
Colours
color() arguments have a bar of their colour underneath. Right-click one and choose Choose Colour… to pick another.
Format Code ⌃I
Re-indents the whole design by its nesting and tidies blank lines. Only whitespace changes. Set the indent width (or tabs) in Settings › Editor.
Comment and indent ⌘/ · ⌘[ · ⌘]
Toggle // comments on the selected lines, and shift them left or right.
Layouts ⇧⌘↩
View › Layout gives the code more or less of the window. Focus Mode gives the code the whole window, with a small live model in the corner.

The 3D View

Drag to turn the model, scroll or pinch to zoom, two-finger drag (or Shift-drag, or the Pan button) to move it.

Views ⌘1–⌘7
Isometric, front, back, sides, top and bottom.
Code and model, linked PRO View › Highlight Code at Cursor
Click a part of the model (without dragging) to select the code that made it; clicking the inside of a hole selects what cut it. With the cursor resting on a line in the editor, the geometry it makes lights up blue.
Measure PRO ⌃⌘M
Click points on the model to measure a path: each length with its X, Y and Z parts, the angle at each turn, and the total. Two clicks on parallel faces give the gap between them, such as a wall's thickness. Points snap to corners and edges, and a dashed line shows the next length and its angle as you move. Hold Shift over an edge for the point square to the last one, so edge to edge gives the true gap; over a face, Shift keeps the line to 15° steps. Click the first point again to close the shape: if it's flat, its area shows too. Copy puts it all on the clipboard. Esc ends the measurement and a second Esc clears it.
Section PRO ⌃⌘X
Cuts the model along X, Y or Z so you can see inside; cut faces show in red. Drag the two handles to keep a slice between them, from either side, or type positions. Measuring works on the cut, too.
Grid and Scale ⌃⌘R
Show or hide the grid, the axes and the measurements along them (View › Hide Grid and Scale). Close up, the measurements shrink so they don't fill the view.
Animation PRO ⌥Space
Designs that use $t get Play and a scrubber: check hinges, sliders and anything that moves. Frames are kept, so the second time round is smooth.

Parts and Objects

Start from proven parts, and design around the real things your print has to fit.

Templates ⌘N › Templates
A box with a lid, print-in-place hinge, snap-fit clip, screw-top jar, electronics enclosure, Gridfinity bin, wall hook, cable clip and phone stand. Every size is a customizer parameter. Templates are part of ScadBox Pro, apart from the cube.
Object library ⇧⌘L
Real sizes, with their sources, of devices (every iPhone and Apple Watch, Apple TV, Mac mini, routers…), IKEA furniture and boxes (KALLAX, ALEX, SKÅDIS…), connectors, Gridfinity, LEGO and Bambu printers. Inserting one into a design as a see-through ghost, with its ports and cable room (Pro), lets you design around it.
Your own objects
Ask your agent to save something you measured ("save my router: 220 × 150 × 45 mm") and it's in the library under Yours.
Import a mesh ⇧⌘I
Builds a design around an STL, 3MF, OBJ, OFF or AMF file. With ScadBox Pro, pieces that are simple shapes (boxes, cylinders, cones, spheres) become editable code.
Fit test File › New Fit Test
Prints a small test of holes, pegs and gaps for your printer, so designs get the clearances right.

Working with Agents

ScadBox gives AI agents like Claude Code tools to render, look at, measure and check designs, so they build things that fit and print.

Settings › MCP Server, with the commands to connect Claude Code, Codex and Gemini CLI
Connect Settings › MCP Server
Settings › MCP Server shows the command to add ScadBox to Claude Code. Codex and Gemini CLI have their own commands there too, and Other agents gives a JSON configuration. ScadBox opens by itself when Claude needs it.
Skills Settings › MCP Server
Skills teach an agent ScadBox's workflows, such as designing a part, fixing the design you have open, or getting it ready to print. Install them for Claude Code, or for Codex and Gemini CLI, in Settings › MCP Server › Skills. See Agent Skills for what each one does.
The design you have open
Say "the design I have open" and the agent works on ScadBox's front window, even one that isn't saved yet. Its changes can be undone with ⌘Z. If the design was saved with nothing of yours unsaved, the agent's changes are saved too; a design with your own unsaved changes, or one never saved, waits for you to save.
Changing parameters Parameters
A changed parameter shows in the model first; the code stays as it is. Apply to Code writes the changes into the code and saves the design, Save as Preset keeps them as a set to switch back to, and Reset goes back to the code's values. Changes not yet applied stay with the design if you close it, and agents can see them. While an agent works on the design, the code is read-only until it has been quiet for 5 minutes (Edit Code Anyway unlocks it sooner); its edits still load underneath your changes. To have parameters write into the code straight away, turn on Parameter changes edit the code in Settings › Editor.
Presets Parameters › Presets
Save the values in the parameters panel as a preset and switch between presets from the Presets menu. They're kept next to the design in a .scadbox file, which agents can read and write, and OpenSCAD can use too: openscad -p design.scadbox -P "Preset name".
What agents can do
Render and look at the model from any side, check every customizer value renders, check printability on your printer, slice for real times and weights, measure from photos, look up real object sizes, and start from templates.
Ask well
Say what it's for and what it has to fit: "a stand for my Apple TV 4K that screws under the desk, with room for the cables". Mention your printer and filament if it matters.
Review changes Toolbar › Changes
Every change an agent makes shows in Changes (the clock button): what changed in the code, and, with ScadBox Pro, what it did to the model (added in green, removed in red) and Restore to undo it.
Free plan Settings › Pro
Agents get 20 tool calls a day on the free plan, and as many as they like with ScadBox Pro, which also adds change review on the model, code-to-model linking, Print Check and estimates, measuring, section view, animation, templates, object inserts and mesh conversion.

Agent Skills

Skills are instructions your agent reads when a request matches, so it follows ScadBox's best workflow without being told. Install them in Settings › MCP Server › Skills, then start a new agent session. Just ask in your own words, or name a skill: in Claude Code type its name after a slash, like /scadbox-print-ready.

The skills, what each is for and how to install them are on the MCP server page.

Printing

Check a design before it goes to the slicer, and send it with its colours and parts set up.

Estimates
With Bambu Studio or OrcaSlicer installed, Print Check slices the design for real print time and filament.
Export ⇧⌘E
3MF for slicers keeps separate parts and paints each colour for its filament; STL, OBJ, SVG, DXF and an assembly PDF too.
3D Printer Settings › 3D Printer
Choose your printer (or read it from Bambu Studio) so checks use its bed, nozzle and clearances.

Keyboard Shortcuts

Everything with a shortcut, in one place.

New (the library) ⌘N
Import Mesh ⇧⌘I
Export ⇧⌘E
Object Library ⇧⌘L
Show Completions ⌃Space
Jump to Definition ⌃⌘J
Go to Line ⌘L
Format Code ⌃I
Comment Selection ⌘/
Shift Left / Right ⌘[ · ⌘]
Fold / Unfold ⌥⌘← · ⌥⌘→
Fold All Modules / Unfold All ⌥⇧⌘← · ⌥⇧⌘→
Preview / Render / Refresh F5 · F6 · ⌘R
Views ⌘1–⌘7
Measure ⌃⌘M
Section ⌃⌘X
Grid and Scale ⌃⌘R
Check All Values ⇧⌘K
Focus Mode ⇧⌘↩
Show Editor / Console / Customizer ⌃⌘E · ⇧⌘Y · ⌥⌘I
Wrap Lines ⌥⌘L
Text Size ⌘+ · ⌘- · ⌥⌘0
Play / Pause Animation ⌥Space
Enter Full Screen ⌃⌘F
This Guide ⌘?
ScadBox is a native SCAD app for Mac, iPhone, iPad, Apple Vision Pro and Apple TV, ready for your AI agent. Free, with an optional Pro upgrade.
Download for MacComing soon