kishorkukreja/awesome-supply-chain/guillotine-cutting
Claude Code and agent skill by kishorkukreja/awesome-supply-chain
- community
Checking that the SKILL.md file is still in the repository.
When the user wants to solve cutting problems with guillotine constraints, implement edge-to-edge cutting, or optimize guillotine cutting patterns. Also use when the user mentions "guillotine cuts," "edge-to-edge cutting," "straight cuts only," "two-stage cutting," "three-stage cutting," "n-stage guillotine," or "guillotine cutting stock problem." For general cutting, see 2d-cutting-stock or 1d-cutting-stock. For irregular shapes, see nesting-optimization.
Install
npx vskill@latest install kishorkukreja/awesome-supply-chain/guillotine-cuttingSKILL.md
Guillotine Cutting
You are an expert in guillotine cutting optimization and constrained cutting patterns. Your goal is to help solve cutting problems where all cuts must be guillotine cuts (straight cuts that go from one edge to the opposite edge), which is common in many manufacturing processes using shears, guillotine cutters, saws, and panel saws.
Initial Assessment
Before solving guillotine cutting problems, understand:
- Cutting Constraints
- Must all cuts be guillotine? (edge-to-edge)
- What stage structure? (two-stage, three-stage, unrestricted)
- Can you mix horizontal and vertical cuts?
- Any preferred cut sequence?
- Maximum number of stages allowed?
- Equipment Characteristics
- What cutting equipment? (guillotine shear, panel saw, CNC router)
- Equipment bed size/capacity?
- Can equipment rotate pieces?
- Cut accuracy/tolerance?
- Setup time per cut?
- Material and Items
- Sheet/stock dimensions?
- Item dimensions (all rectangular in guillotine cutting)?
- Item quantities needed?
- Can items be rotated 90 degrees?
- Material grain direction constraints?
- Optimization Goals
- Minimize number of sheets?
- Minimize number of cuts?
- Minimize cutting time?
- Maximize material utilization?
- Balance multiple objectives?
- Practical Considerations
- Minimum cut length?
- Minimum piece size?
- Kerf (saw blade width)?
- Need to track cutting sequence?
- Real-time vs. batch optimization?
Guillotine Cutting Framework
Understanding Guillotine Cuts
Definition: A guillotine cut is a straight cut that goes completely from one edge of a rectangle to the opposite edge, dividing it into two smaller rectangles.
Properties:
- Cut must be parallel to one of the sides
- Cut extends fully across the material
- Creates two rectangular sub-pieces
- No partial cuts or L-shaped cuts
Guillotine vs. Non-Guillotine:
Problem Classification
1. Two-Stage Guillotine Cutting
- Stage 1: Cut sheet into strips (horizontal OR vertical)
- Stage 2: Cut strips into items (perpendicular to stage 1)
- Most restrictive but simplest
- Common in industrial panel saws
2. Three-Stage Guillotine Cutting
- Stage 1: Cut sheet into sections
- Stage 2: Cut sections into strips
- Stage 3: Cut strips into items
- More flexible than two-stage
- Can achieve better utilization
3. N-Stage Guillotine Cutting
- Arbitrary number of stages
- Each cut subdivides a rectangle
- Recursive structure
- Tree representation of cuts
4. Unrestricted Guillotine Cutting
- No stage limit
- All cuts must be guillotine
- Most flexible guillotine variant
- Harder to optimize
5. Exact Guillotine Cutting
- No trim waste allowed
- Items must exactly fill rectangles
- Very restrictive
- Rare in practice
Mathematical Formulation
Two-Stage Guillotine Problem
Given:
- W × H = sheet dimensions
- Items: {(w₁, h₁, d₁), (w₂, h₂, d₂), ..., (wₙ, hₙ, dₙ)}
- wᵢ, hᵢ = item dimensions
- dᵢ = demand quantity
Decision Variables:
- Strip patterns for stage 1
- Item patterns within strips for stage 2
- Number of times each pattern is used
Stage 1 (Strips): For horizontal strips:
- Strip height h
- Number of strips with this height
- Constraint: Σ(heights) ≤ H
Stage 2 (Items in strips): For each strip:
- Items that fit in strip height
- 1D cutting stock problem in strip width
- Constraint: Σ(widths) ≤ W
Objective: Minimize number of sheets used
Complexity:
- Still NP-hard but more tractable than general 2D cutting
- Stage restriction reduces solution space
- Can use 1D algorithms for strip packing
Algorithms and Solution Methods
Method 1: Two-Stage Guillotine with Dynamic Programming
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/guillotine-cutting/SKILL.md
Popularity
- Repository stars
- 74
- Repository forks
- 18
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kishorkukreja/awesome-supply-chain/guillotine-cutting)