openscad-cadlisted
Install: claude install-skill Altern92/openscad-cad-skills
# OpenSCAD CAD Skill
Write the model as OpenSCAD code, render it to a PNG, actually look at the PNG,
fix what's wrong, and only export STL/3MF once the render looks right. The whole
loop runs through the CLI — the human never has to open the OpenSCAD GUI, though
they can if they want to tweak the `.scad` file by hand afterward.
## 0. Check installation
```bash
openscad --version || which openscad
```
If missing on macOS, install the **`openscad@snapshot`** cask, not the plain `openscad`
cask. As of this writing Homebrew's `openscad` cask is pinned to the 2021.01 stable
release, which is both flagged deprecated (fails macOS Gatekeeper, scheduled for
removal) and too old to even parse current-generation libraries like
gridfinity-rebuilt-openscad (they use newer OpenSCAD language syntax such as trailing
commas in argument lists). `openscad@snapshot` tracks the actively-maintained nightly
and is what you actually want:
```bash
brew install --cask openscad@snapshot
```
This places the binary on PATH automatically (Homebrew casks link their `Binary`
artifact into the prefix's `bin/` at install time) — confirm with `which openscad`
rather than assuming a manual symlink step is needed; only add one by hand
(`ln -sf /Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD "$(brew --prefix)/bin/openscad"`)
if `which openscad` comes up empty after install.
```bash
# Debian/Ubuntu
sudo apt-get update && sudo apt-get install -y openscad
```
On headless Linux (containers/servers, no atta