Fine-tuned Gemma 3n model for generating CADQuery Python code from natural language descriptions
Model Description
C3D-v0 is a specialized language model fine-tuned for generating 3D CAD models through Python code. Built on Google's Gemma 3n architecture, this model transforms natural language descriptions into executable CADQuery scripts that can be rendered as 3D models.
This model is part of the C3D project - a complete text-to-CAD pipeline featuring an interactive CLI, 3D web viewer, and local AI inference.
Key Features
🎯 Specialized for CAD: Fine-tuned specifically on CAD generation tasks
The model works best with direct, descriptive prompts:
"Create a simple gear with 12 teeth"
"Generate a phone case for iPhone 15"
"Make a rectangular bracket with mounting holes"
"Design a simple pulley with a 50mm diameter"
Model Performance
Context Length: Up to 32k tokens (though trained at 16k)