# Rectangle Cutting Waste Optimizer AI Agent Connect

> Rectangle Cutting Waste Optimizer MCP calculates efficient cutting arrangements for rectangular stock. It handles physical constraints like blade thickness and grain direction to ensure your pieces fit perfectly. Your AI agent uses this to generate nesting plans, check if specific parts will fit, and analyze exactly where material is being lost to kerf or usable offcuts.

## Overview
- **Category:** logistics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_Tb1npnAbFyq9VdM0GGaEj3XfjLH9M2FMAkPM72XQ/ai-agent-connect
- **Tags:** cutting, nesting, waste-reduction, material-management, geometry

## Description

Stop guessing how to fit your parts onto a sheet of material. This MCP gives your AI client the math needed to handle complex nesting problems. When you're working with wood, metal, or plastic, you have to account for the thickness of the blade, known as kerf, and the direction of the grain. This tool handles those variables so you don't have to. 

You can ask your agent to build a full cutting plan for a specific set of parts, or only check if one single piece will actually fit on a piece of stock you have on hand. If you're trying to squeeze more out of a batch, you can even test if allowing the parts to rotate would save enough material to justify the change. It also breaks down your waste into three clear categories: material lost to the blade, usable offcuts you can save for later, and actual scrap. It turns raw dimensions into actionable cutting instructions.

## Tools

### get_waste_analysis
This tool provides a breakdown of material loss. It distinguishes between kerf loss from the blade and usable offcuts that remain after cutting.

### simulate_rotation_impact
This tool tests how much more material you could save if you allowed parts to be rotated during the cutting process.

### validate_cut_feasibility
This tool checks if a specific part will physically fit on a piece of stock. It accounts for kerf and rotation rules to ensure the part is actually cuttable.

### get_optimization_plan
This tool generates the most efficient arrangement for your required pieces within a given stock size. It factors in your specific constraints to find the best layout.

## Prompt Examples

**Prompt:** 
```
Find the best way to cut five 20x30 pieces from three 100x100 sheets with a 2mm kerf.
```

**Response:** 
```
The optimization plan uses 2 stock pieces. The layout places all five 20x30 pieces on the first sheet, leaving significant offcuts and a total waste area of 1400mm² including kerf loss.
```

**Prompt:** 
```
Will a 50x50 piece fit in a 45x60 stock piece with a 1mm kerf?
```

**Response:** 
```
No, the piece is too wide for the stock even when considering rotation.
```

**Prompt:** 
```
Analyze the waste for my current layout with a 3mm kerf.
```

**Response:** 
```
The analysis shows 150mm² lost to kerf, 450mm² in usable offcuts, and 50mm² of scrap area.
```

## Capabilities

### Nesting Optimization
Your agent calculates the best way to arrange parts to save material.

### Kerf Compensation
The agent accounts for the width of the cutting tool in each calculation.

### Grain Direction Control
Your agent respects material grain constraints during the layout process.

### Waste Categorization
Your agent separates blade loss from usable offcuts and scrap.

### Feasibility Checking
Your agent verifies if a part can physically fit on a specific sheet.

## Use Cases

### Sheet Goods Nesting
Plan how to cut multiple rectangular parts from large plywood or metal sheets.

### Waste Auditing
Analyze a completed layout to see how much material was lost to the blade versus usable leftovers.

### Pre-cut Verification
Check if a custom part size will fit on a specific piece of remaining stock.

### Yield Improvement
Run simulations to see if relaxing rotation constraints will allow for more parts per sheet.

## Benefits

- Reduces material costs by finding tighter nesting arrangements.
- Prevents errors by checking part feasibility before the blade touches the material.
- Identifies usable offcuts to minimize total scrap.
- Tests rotation rules to see if they actually improve yield.

## How It Works

Connect your AI client to Vinkius and start sending cutting dimensions immediately.

1. Connect your AI client to the MCP via Vinkius.
2. Provide your part dimensions and available stock sizes to your agent.
3. Specify constraints like kerf width and grain requirements.
4. Your agent runs the optimization or analysis tools.
5. Receive a detailed cutting plan or waste report.

## Frequently Asked Questions

**How does this MCP handle blade thickness?**
It uses a kerf parameter in its calculations to ensure the layout accounts for the material removed by the cutting tool.

**Can I account for wood grain?**
Yes, the optimization tools factor in grain direction to ensure parts are oriented correctly.

**What is the difference between kerf loss and offcuts?**
Kerf loss is the material turned into dust by the blade. Offcuts are the larger, usable pieces of material left over after the parts are cut.

**Does it support rotation?**
Yes, you can use the simulation tool to see if allowing parts to rotate will increase your material yield.

**Which AI clients can use this?**
You can use this MCP with any compatible client like Claude, Cursor, Windsurf, or VS Code.

**How does the optimizer handle blade thickness?**
The optimizer uses the `kerf` parameter to account for the material lost during each cut, ensuring the resulting layout is physically achievable.

**Can I restrict the rotation of pieces?**
Yes. By setting the `respectGrain` parameter in your required pieces, you can prevent the optimizer from rotating pieces that must align with a specific material grain.

**What is an offcut?**
Offcuts are the usable rectangular remnants of stock material left over after the required pieces have been placed.
