Grain Direction Restrictor

Grain Direction Restrictor MCP Connector for Claude

A+

Enforce material grain orientation constraints for precise plywood cutting and bin packing.

3 tools Official Updated Oct 1, 2026 Official Vinkius Partner

The Grain Direction Restrictor is a specialized constraint engine designed for wood and plywood processing. It prevents illegal rotations of material pieces during the cutting process by enforcing intrinsic grain directions (horizontal or vertical). By using tools like validate_single_piece, get_oriented_dimensions, and evaluate_batch_constraints, you can ensure that every piece in your batch maintains its structural integrity relative to the stock sheet dimensions. This is critical for preventing waste-inducing errors in complex bin packing algorithms where rotation is restricted by material properties.

plywoodcutting-optimizationbin-packinggrain-directionmanufacturing-constraints

3 tools expose this connector's capabilities to your AI agent.

validate_single_piece

Verifies if a single piece fits within stock dimensions

evaluate_batch_constraints

Scans a batch of pieces for maximum required dimensions and invalidity

get_oriented_dimensions

Calculates the effective footprint of a piece based on grain orientation

See how to talk to your AI agent using Grain Direction Restrictor.

Check if a 50x100 piece with vertical grain fits in a 120x240 sheet.

Yes, the piece is compatible. The effective footprint for vertical orientation is 100x50, which fits within the 120x240 stock dimensions.

Calculate the effective width and length for a 30cm x 60cm piece with horizontal grain.

The effective width is 30cm and the effective length is 60cm.

Will a 250x150 piece with horizontal grain fit in a 240x120 sheet?

No, the piece exceeds the stock dimensions. The required width of 250cm is greater than the available stock width of 240cm.

When `grainDirection` is set to 'vertical', the tool swaps the piece's width and length mapping. The intrinsic width is checked against the stock length, and the intrinsic length is checked against the stock width.

Related Connectors