Text-to-3D. Describe it, print it.
PolyGen transforms natural language descriptions into printable OpenSCAD code using a multi-agent AI pipeline. Powered by Google Gemini for planning and Anthropic Claude for code generation, with browser-based WASM validation.
Describe what you want to create in plain English. Polygen handles the geometry, code, and validation.
Launch PolyGenCore Features
From natural language to printable models, Polygen handles the entire pipeline with AI-powered planning, code generation, and validation.
Natural Language Input
Describe what you want to create in plain English. No CAD experience required.
Image-to-3D
Upload a photo and recreate it as a printable parametric model.
OpenSCAD Output
Generates clean, parametric OpenSCAD code ready for 3D printing.
In-App 3D Preview
View your model in the browser with Three.js before downloading.
STL Export
Download STL files directly from the preview for immediate printing.
Design Templates
9 quick-start templates for common objects to accelerate your workflow.
Multi-Agent Pipeline
Polygen uses a sophisticated multi-agent architecture where specialized AI models handle different stages of the generation process.
- ▹ Planner Agent (Gemini) generates a Geometric Structure Tree (GST) from your description.
- ▹ Coder Agent (Claude) converts the GST into pure OpenSCAD code.
- ▹ Browser Validator compiles via WASM for fully serverless validation.
- ▹ Closed-Loop Retry with 3-attempt system and escalating guidance on errors.
Pipeline Flow
Reliable Code Generation
Built-in validation and error handling ensure your models are printable and geometrically sound.
Closed-Loop Validation
3-attempt retry system with escalating guidance ensures successful generation.
Error Categorization
Parses errors into 7 categories with suggested fixes for quick resolution.
Pitfall Database
12 common OpenSCAD mistakes documented with bad/good examples.
Auto-Preprocessing
Automatically injects epsilon and $fn parameters if missing.
Manifold Checking
Detects open edges and non-manifold geometry before export.
Teaching Mode
Educational comments explain OpenSCAD concepts in generated code.
Pricing Plans
Pro
Popular$19/month
- ✓ 100 generations/month
- ✓ All templates
- ✓ STL export
- ✓ 3D preview
- ✓ Priority support
Enterprise
$99/month
- ✓ Unlimited generations
- ✓ API access
- ✓ Team features
- ✓ Custom integrations
Tech Stack
| Layer | Technology |
|---|---|
| Frontend | React 19 + TypeScript + Vite 6 + Tailwind CSS |
| 3D Rendering | Three.js + OpenSCAD WASM |
| AI Pipeline | Google Gemini (Planner) + Anthropic Claude (Coder) |
| Auth | Supabase Auth with Google OAuth |
| Payments | Stripe Subscriptions |
| Hosting | Vercel Edge Functions |
Ready to turn ideas into printable models?
Start generating 3D models from text descriptions today.