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 provides a modern, integrated environment for OpenSCAD modeling that eliminates the need for the external OpenSCAD executable. It addresses the need for exact Constructive Solid Geometry (CSG) and AI-assisted design within a single application, allowing users to iterate on 3D models using both manual code and LLM-driven revisions.
How it works
Built in Rust using the Bevy engine, the application parses and evaluates OpenSCAD source code through a custom compilation pipeline. It utilizes a "Hyperreal" number system to maintain exact rational or symbolic structures (like $\pi$) during calculations, deferring float approximations only to the final rendering or export stage. For AI capabilities, it integrates with local providers like Ollama or cloud APIs (OpenAI, Anthropic, etc.) to stream edits and revise designs based on user prompts.
Who it’s for
It is designed for 3D designers and engineers who use OpenSCAD for programmatic CAD modeling and want a faster, more integrated workflow with AI assistance and high-precision geometry.
Highlights
- AI-Assisted Modeling: Integration with multiple LLM providers to revise and edit CAD designs.
- Exact Geometry: Uses Hyperreal numbers to avoid precision loss during arithmetic and trigonometric operations.
- Standalone Compiler: Parses and evaluates OpenSCAD code natively in Rust without requiring the original OpenSCAD software.
- Interactive Viewport: Real-time 3D visualization powered by Bevy with support for STL, OBJ, and 3MF exports.
Related
- Project
- Project
- Project
- Project
- Project