Kiln Shelf Capacity

Assign ordered workpieces to shelves using supplied footprint and load limits, then flag pieces that need a different shelf.

Custom requests cost 0.04 USDC on Base.

Download example JSON · OpenAPI · Source and usage

Pay with a browser wallet · Open example in checkout

POST a JSON request to /kiln-shelf-capacity/v1/check with an x402 V2 client.

Worked example

Request

{
  "shelves": [
    {
      "id": "top",
      "area_cm2": 100,
      "grams": 50
    },
    {
      "id": "low",
      "area_cm2": 120,
      "grams": 90
    }
  ],
  "items": [
    {
      "id": "vase",
      "area_cm2": 30,
      "grams": 70
    },
    {
      "id": "cup",
      "area_cm2": 50,
      "grams": 10
    }
  ]
}

Result

{
  "shelves": [
    {
      "id": "top",
      "items": [
        "cup"
      ],
      "remaining_area_cm2": 50,
      "remaining_grams": 40
    },
    {
      "id": "low",
      "items": [
        "vase"
      ],
      "remaining_area_cm2": 90,
      "remaining_grams": 20
    }
  ],
  "unplaced": []
}

Support catalog maintenance through GitHub Sponsors. Sponsor gptenv · Sponsor Jeremy Carter