An advanced text-to-CAD engine that generates precise 3D CAD models from natural language descriptions.
CADroid is built on top of Text2CAD and extends its capabilities to provide:
- Enhanced text understanding for technical specifications
- Improved CAD generation with parametric design support
- Advanced quality validation and manufacturability checks
- Interactive parameter adjustment and real-time preview
- Text-to-CAD generation using state-of-the-art language models
- Support for complex CAD operations (extrude, boolean operations)
- Precise dimensional control
- Web interface using Gradio
- Advanced prompt engineering for technical specifications
- Support for engineering terminology and standards
- Dimensional constraint parsing
- Material specification handling
- Expanded primitive shape library
- Parametric design support
- Advanced constraint handling
- Enhanced precision control
- Assembly operations
- Real-time geometry validation
- Manufacturability analysis
- Dimension verification
- Material compatibility checks
- Cost estimation
# Create conda environment
conda env create -f environment.yml
# Activate environment
conda activate cadroid
# Install additional dependencies
pip install -r requirements.txt
cd App
python app.py
# Generate CAD model from text
python generate.py --prompt "A rectangular prism with a cylindrical hole through the center"
# Generate with specific parameters
python generate.py --prompt "A 10cm x 5cm x 2cm rectangular plate with four 5mm diameter holes" --precision high
cadroid/
├── App/ # Web interface
├── CadSeqProc/ # CAD processing core
├── models/ # ML models
├── utils/ # Utility functions
└── tests/ # Test suite
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Based on Text2CAD
- Uses OpenCascade via pythonOCC
- Gradio for web interface
- Implement advanced prompt engineering
- Add support for technical specifications
- Improve primitive shape generation
- Add parametric design support
- Implement constraint system
- Add assembly operations
- Add geometry validation
- Implement manufacturability checks
- Add cost estimation
- Add interactive parameter adjustment
- Implement real-time preview
- Add export to multiple CAD formats