Convert hand-drawn WhatsApp glass sketches into professional manufacturing specifications.
This skill processes hand-drawn glass panel sketches and generates:
- Interactive 3D visualization
- Manufacturing instructions
- CNC drilling programs
- Technical drawings
- Validation reports
- Add your image to the
inputs/folder - Run the command:
python commands/process-glass-sketch.py inputs/your_sketch.jpg
- Get outputs from the
outputs/folder
glass-manufacturing-skill/
|-- inputs/ # Place your glass sketch images here
|-- outputs/ # All generated files go here
|-- commands/ # Executable commands
|-- scripts/ # Python implementation
|-- references/ # Documentation and standards
|-- assets/ # Example images and resources
- Agent 1 (Creator): Extracts specifications from images
- Agent 2 (Judge): Validates and provides feedback
- Iterative refinement until accuracy achieved
calculate_section_positions()- Validates section dimensionscalculate_hole_positions()- Calculates exact coordinatescalculate_geometric_feasibility()- Checks manufacturing constraints
glass_3d_model.html- Interactive 3D visualizationmanufacturing_instructions.md- Human-readable guidecnc_program.gcode- CNC drilling programtechnical_drawing.svg- Professional drawingvalidation_report.json- Complete audit trail
python commands/process-glass-sketch.py <image_path> [options]Options:
--max-iterations N- Maximum validation iterations (default: 3)--tolerance FLOAT- Dimensional tolerance in mm (default: 0.1)--output-dir PATH- Custom output directory--skip-3d- Skip 3D model generation--skip-gcode- Skip G-code generation--verbose- Enable detailed output
"Process this glass sketch"
"Convert inputs/my_sketch.jpg to manufacturing specs"
"Generate CNC code for the glass panel"
- Python 3.8+
- See
requirements.txtfor dependencies
# Install dependencies
pip install -r requirements.txt
# Test with sample
python commands/process-glass-sketch.py inputs/sample.jpgreferences/nomenclature.md- Standard terminologyreferences/tolerance_standards.md- Industry tolerancesreferences/examples.md- Usage examples
MIT License - See LICENSE file for details.