OpenSCAD RendererLive 3D Preview of OpenSCAD files with AI-powered modeling assistance in VS Code. OverviewOpenSCAD Renderer brings real-time 3D visualization and AI-powered design tools to VS Code. Preview your parametric OpenSCAD models instantly as you code, and use GitHub Copilot-powered AI agents to generate, debug, optimize, and refactor your designs for 3D printing. Features🔍 Live 3D Preview
💡 Improved Viewer
🤖 AI Assistant (
|
| Command | Description |
|---|---|
@scad /create <description> |
Create a new 3D-printable model from a natural language description. An interactive interview extracts your requirements, then generates parametric OpenSCAD code. |
@scad /debug |
Diagnose and fix rendering errors. Analyzes SCAD syntax issues and provides auto-fixes. |
@scad /optimize |
Optimize the active SCAD file for FDM 3D printing, addressing overhangs, wall thickness, and support structures. |
@scad /parametric |
Refactor hard-coded values into parametric variables for reusable, customizable models. |
@scad /printability |
Identify 3D printability issues: thin walls, unsupported geometry, non-manifold surfaces, and structural weaknesses. |
3D Viewer Controls
Mouse Controls
- Left Click + Drag: Rotate the model
- Middle Click + Drag (or Right Click + Drag): Pan the view
- Scroll Wheel: Zoom in/out
Keyboard Shortcuts
- P: Toggle between Perspective and Orthographic camera modes
- W: Wireframe render mode
- X: X-ray render mode
- S: Solid render mode
- L: Toggle shadows
Configuration
Configure the extension via VS Code Settings (Cmd+, on macOS, Ctrl+, on Windows/Linux):
| Setting | Type | Default | Description |
|---|---|---|---|
scadRenderer.executablePath |
string | openscad |
Path to the OpenSCAD executable. Can be an absolute path or a command name. The extension will search your system PATH if a relative name is provided. |
Known Limitations
- Requires OpenSCAD Development Snapshot: The stable release of OpenSCAD does not include Manifold engine support, which is required for reliable 3D rendering. Use a development snapshot from https://openscad.org/downloads.html
- GitHub Copilot Required: AI features (
/create,/debug,/optimize,/parametric,/printability) require an active GitHub Copilot subscription - Preview Panel Visibility: AI agents that capture screenshots (like
/createand/debug) require the preview panel to be visible during execution - Legacy Mode: If using OpenSCAD without Manifold support, preview rendering will be limited to older/slower rendering backends
Feedback & Issues
Found a bug or have a feature request?
- Open an issue on GitHub
- Use the
SCAD: Report an Issuecommand from the Command Palette (Cmd+Shift+Pon macOS,Ctrl+Shift+Pon Windows/Linux)
Your feedback helps improve the extension for everyone.
Contributing
Contributions are welcome! Visit the repository at https://github.com/luizbon/vscode-scad-renderer to report issues, suggest features, or submit pull requests.
License
This extension is licensed under the MIT License. See the LICENSE file in the repository for details.