timschmidt/synaps-cad
The AI-powered 3D CAD IDE — edit code, visualize in 3D, and reshape your designs with natural language.
What it solves
SynapsCAD is an AI-powered 3D CAD IDE that allows users to create and modify 3D models using a combination of code and natural language. It removes the friction of manual 3D modeling by enabling "Vibe Coding" for 3D designs, where an AI assistant can automatically update OpenSCAD code based on user prompts and 3D interactions.
How it works
The application is a single-binary Rust application that integrates a code editor, a real-time 3D viewport, and an AI chat interface. It uses openscad-rs for parsing OpenSCAD code and csgrs for rendering Constructive Solid Geometry (CSG) into triangle meshes. The AI assistant, powered by the genai crate, connects to various cloud providers (Anthropic, OpenAI, Gemini, etc.) or local models via Ollama. The AI has access to the current code and part labels, allowing it to modify the design automatically.
Who it’s for
It is designed for designers, engineers, and hobbyists who want to use a code-based approach to 3D modeling (OpenSCAD) and accelerate their design process with AI assistance.
Highlights
- Integrated AI Assistant: Modify 3D models via natural language prompts.
- Pure-Rust Pipeline: A complete compilation pipeline from OpenSCAD code to 3D mesh without external tools.
- Real-time 3D Viewport: Interactive visualization with Blender-style camera controls.
- Multi-Provider AI Support: Compatible with a wide range of cloud LLMs and local models via Ollama.
- 3D Interaction: Includes built-in mesh picking to provide context to the AI assistant.