design_pack_rects
Packs rectangles into a fixed bin with the guillotine algorithm and returns x, y, width, height, and rotation flags for each placement.
Instructions
Pack rectangles into a bin using the guillotine algorithm. Returns placements with x, y, width, height, and rotated flag.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rects | Yes | ||
| width | Yes | ||
| height | Yes | ||
| padding | No | ||
| allowRotation | No |