nesting-optimization

Optimizes placement of irregular polygons on sheets using heuristic and genetic algorithms.

56|16|Updated Oct 18, 2025
One-click install
npx skills add https://github.com/kishorkukreja/awesome-supply-chain --skill nesting-optimization
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nesting-optimization
Source: https://github.com/kishorkukreja/awesome-supply-chain/tree/main/skills/nesting-optimization
Command: npx skills add https://github.com/kishorkukreja/awesome-supply-chain --skill nesting-optimization

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, shapely, matplotlib, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of minimizing material waste when cutting irregular shapes from sheet materials, a common problem in manufacturing and fabrication.

Core Features & Use Cases

  • Irregular Shape Nesting: Optimally pack non-rectangular parts onto sheets to reduce scrap.
  • Algorithm Support: Implements Bottom-Left heuristic and Genetic Algorithms for various nesting strategies.
  • Use Case: A furniture manufacturer needs to cut custom wooden panels. This Skill can determine the most efficient layout of these panels on a standard sheet of plywood to minimize offcuts.

Quick Start

Use the nesting-optimization skill to nest the provided irregular shapes onto a 3000x1500mm sheet.

Frequently Asked Questions about nesting-optimization

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize cutting stock for irregular shapes on sheet materials?

Nesting optimization minimizes material waste by packing irregular polygons onto sheet materials using algorithms like Bottom-Left heuristics and Genetic Algorithms. It handles constraints such as part rotation and spacing to maximize sheet utilization.

What is the best way to minimize material waste when cutting custom wooden panels?

The best way to minimize material waste when cutting custom panels is using 2D nesting optimization. This determines the most efficient layout of irregular shapes on standard sheets like plywood, significantly reducing offcuts and scrap.

Can I use numpy and shapely to handle part rotation and spacing constraints in nesting problems?

Yes, the nesting optimization uses numpy and shapely to handle part rotation and spacing constraints. These dependencies support the geometric calculations required to ensure irregular shapes fit within sheet boundaries during the packing process.

Does 2D nesting support both Bottom-Left heuristic and Genetic Algorithms for packing problems?

Yes, 2D nesting supports both Bottom-Left heuristic and Genetic Algorithms for packing problems. These algorithms provide different optimization strategies to maximize sheet utilization and minimize scrap when cutting irregular shapes.

What are the limitations of using genetic algorithms for 2D cutting stock optimization?

While genetic algorithms effectively solve 2D cutting stock optimization, their limitations include handling highly complex irregular shapes and strict sheet boundary constraints. Performance depends on algorithmic parameters and the complexity of the specific packing problem.

How do I visualize the layout results of a sheet nesting optimization?

You can visualize sheet nesting optimization layout results using matplotlib. This dependency allows you to generate graphical representations of the optimized irregular shape placements on the sheet material to verify material waste reduction.