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 to invoke the external OpenSCAD executable. It addresses the challenge of maintaining precision in 3D modeling by using hyperreal numbers to avoid floating-point errors during calculations, and it integrates AI to help users revise and iterate on their designs.

How it works

Built in Rust, the application combines a custom OpenSCAD parser and evaluator with a geometry engine (the Hyper ecosystem) for exact Constructive Solid Geometry (CSG). It uses the Bevy engine for interactive 3D visualization and bevy_egui for the editor interface. For AI assistance, it connects to various local (Ollama) or hosted providers (such as OpenAI, Anthropic, and Gemini) to stream edits to the current design.

Who it’s for

It is designed for programmers and 3D designers who use OpenSCAD for code-based CAD modeling and want a faster, more precise, and AI-enhanced workflow.

Highlights

  • Exact Geometry: Uses hyperreal numbers to retain rational or symbolic structure (like $\pi$) without intermediate float conversion.
  • AI-Assisted Modeling: Integrates multiple LLM providers to suggest and apply revisions to the source code.
  • Standalone Compiler: Includes a compiler crate that can be used as a Rust library for parsing and evaluating OpenSCAD code.
  • Multi-platform Support: Available as a native desktop application and a WebAssembly-based web demo.
  • Export Options: Supports exporting designs to STL, OBJ, and 3MF formats.

Related

  • Project
  • Project
  • Project
  • Project
  • Project