# Glass Cutting Optimizer AI Agent Connect

> Deterministic 2D guillotine-style cutting optimizer for industrial glass fabrication.

## Overview
- **Category:** optimization
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_G4aSsIHS3dzhuCumdXPZOQoviYkb3s81yTMeLzZS/ai-agent-connect
- **Tags:** glass, cutting, 2d-optimization, guillotine-cut, fabrication

## Description

This MCP server provides precise 2D cutting optimization for glass fabrication. It uses deterministic guillotine-style algorithms to ensure every cut is a straight line from edge to edge, matching physical glass cutting constraints. Use `calculate_material_requirements` to determine total sheets and weight, `optimize_cutting_layout` to generate specific 2D layouts and cut sequences, or `suggest_stock_sizes` to find the most efficient raw material dimensions to minimize waste.

## Tools

### calculate_material_requirements
Determines the total number of stock sheets needed and the total weight of the order

### optimize_cutting_layout
Generates the specific 2D layout and cutting sequence for a given set of materials

### suggest_stock_sizes
Recommends alternative stock sheet dimensions to minimize wasted material

## Prompt Examples

**Prompt:** 
```
How many 2440x1830mm sheets do I need for 10 pieces of 500x500mm glass with a 2mm kerf and 10mm edge clearance?
```

**Response:** 
```
You will need 1 sheet of 2440x1830mm glass. The total weight for the 10 pieces will be approximately 25.0 kg.
```

**Prompt:** 
```
Generate a cutting layout for 5 pieces of 600x400mm glass using a 2500x1500mm sheet.
```

**Response:** 
```
The optimal layout requires 1 sheet. The pieces are placed at coordinates (10,10), (612,10), (1214,10), (1816,10), and (10,412). The waste percentage is 18.4%.
```

**Prompt:** 
```
What stock sizes should I use for these pieces: 3 pieces of 1200x800mm?
```

**Response:** 
```
To minimize waste, it is recommended to use a stock sheet of 3650x820mm or a standard 2440x1830mm sheet depending on availability.
```

## Frequently Asked Questions

**What are guillotine cuts?**
Guillotine cuts are straight lines that span from one edge of a piece of material to the opposite edge. This ensures the optimizer follows the physical limitations of glass cutting tools.

**How is waste calculated?**
Waste percentage is the ratio of the total area of all required pieces to the total area of all stock sheets used, accounting for the saw kerf and edge clearance.

**Can I use this to calculate glass weight?**
Yes, by using the `calculate_material_requirements` tool, you can determine the total weight of the order based on the provided thickness and dimensions.
