{
  "title": "Pleat calculator",
  "human_url": "https://happytails.ai/en/calculators/pleat-calculator/",
  "agent_url": "https://happytails.ai/agents/en/calculators/pleat-calculator/",
  "language": "en",
  "markdown_url": "https://happytails.ai/en/calculators/pleat-calculator.md",
  "content": "Pleat calculator\nPlan evenly repeated knife pleats from raw fabric width, finished width and the number of pleats. Download every fold mark.\nHow can we improve this tool?\nReport a problem or share an idea.\nPlease leave out private information. Your message and the tool name go to our team via PostHog.\nHow to use Pleat calculator\nEnter your measurements, rates or supplied recipe.\nReview the quantities, rounding and plan details.\nDownload the result and verify it against your actual materials or a sample.\nUseful next steps\nFabric shrinkage calculator\nSewing pattern scale calculator\nReserve the edge allowances\nThe finished pleated span excludes the two raw edge allowances. The remaining fabric is split into repeats. Every knife pleat consumes twice its fold depth; the visible finished pitch is the target span divided by the pleat count.\nMark placement, underfold and fold lines\nWith 150 cm raw fabric, 1 cm on each edge, a 50 cm finished span and ten pleats, the finished pitch is 5 cm and fold depth is 4.9 cm. Bring each fold line to its placement line, with the underfold halfway between. All distances are measured from the left raw edge.\nSave the plan\nDownload the result as CSV, plus a text or JSON report with formulas, values and assumptions. Everything is calculated on your device. Changing units keeps the entered numbers, so check the selected units before using the plan.",
  "content_format": "text/plain",
  "visibility": "public",
  "links": [
    {
      "name": "Fabric shrinkage calculator",
      "url": "https://happytails.ai/en/calculators/fabric-shrinkage-calculator/"
    },
    {
      "name": "Sewing pattern scale calculator",
      "url": "https://happytails.ai/en/calculators/sewing-pattern-scale-calculator/"
    }
  ],
  "tool": {
    "id": "pleat-calculator",
    "category": "calculators",
    "built": true,
    "requirements": "1–1,000 equal knife pleats. Raw fabric after edge allowances must exceed finished width. Box pleats and fabric-thickness effects are not modeled.",
    "implementation": {
      "fields": [
        {
          "key": "fabricWidth",
          "label": "Raw fabric width",
          "value": 150,
          "type": "number",
          "min": 0,
          "max": 1000000000,
          "step": "any"
        },
        {
          "key": "finishedWidth",
          "label": "Desired finished pleated width",
          "value": 50,
          "type": "number",
          "min": 0,
          "max": 1000000000,
          "step": "any"
        },
        {
          "key": "edgeAllowance",
          "label": "Unpleated allowance on each raw edge",
          "value": 1,
          "type": "number",
          "min": 0,
          "max": 1000000000,
          "step": "any"
        },
        {
          "key": "unit",
          "label": "Measurement and output unit",
          "value": "cm",
          "type": "select",
          "values": [
            "mm",
            "cm",
            "m",
            "in",
            "ft",
            "yd"
          ]
        },
        {
          "key": "pleats",
          "label": "Equal knife pleats",
          "value": 10,
          "type": "number",
          "min": 1,
          "max": 1000,
          "step": 1
        }
      ],
      "input": false,
      "live": true,
      "background": false,
      "presentation": "metrics",
      "note": "Plan repeated knife pleats and download every placement, underfold and fold mark. Bring each fold line to its placement line. Edge allowances remain outside the finished pleated span. Changing units keeps the entered numbers. Calculations run on your device.",
      "experience": {
        "automatic": true,
        "single": false,
        "inputMaxLength": 1000000,
        "inputMode": "text",
        "label": "Your text",
        "placeholder": "Type or paste your input…",
        "help": "Change the input or settings to update your result. Results update as you type. Up to 1,000,000 characters.",
        "action": null
      },
      "mode": "automatic",
      "interactive": false
    },
    "execution": "Browser interface",
    "api": null,
    "browser_agent": {
      "supported": true,
      "name": "run_current_tool",
      "discovery": "WebMCP on the human page in a supporting browser",
      "verification": "See audit/API-AUDIT.md; availability is not verification"
    }
  },
  "markdown": "# Pleat calculator\n\n- Human page: https://happytails.ai/en/calculators/pleat-calculator/\n- Markdown: https://happytails.ai/en/calculators/pleat-calculator.md\n- Structured JSON: https://happytails.ai/agents/en/calculators/pleat-calculator/index.json\n- Visibility: public\n\n## Tool capabilities\n\n| Property | Value |\n| --- | --- |\n| Tool ID | `pleat-calculator` |\n| Category | calculators |\n| Implementation | Registered implementation. Registration alone is not a production-quality guarantee. |\n| Browser execution | Automatic updates after valid input or file selection. |\n| Browser processing | Browser; see tool notes for network behavior. |\n| HTTP API | Not callable through HTTP. |\n| Browser-agent interface | run_current_tool |\n\n### Implementation notes\n\nPlan repeated knife pleats and download every placement, underfold and fold mark. Bring each fold line to its placement line. Edge allowances remain outside the finished pleated span. Changing units keeps the entered numbers. Calculations run on your device.\n\n### Inputs and settings\n\nNo free-text input is required. Use the file inputs and/or settings below.\n\n| Setting | Meaning | Control type | Default | Constraints |\n| --- | --- | --- | --- | --- |\n| `fabricWidth` | Raw fabric width | number | 150 | min=0 max=1000000000 step=any |\n| `finishedWidth` | Desired finished pleated width | number | 50 | min=0 max=1000000000 step=any |\n| `edgeAllowance` | Unpleated allowance on each raw edge | number | 1 | min=0 max=1000000000 step=any |\n| `unit` | Measurement and output unit | select | \"cm\" | Allowed: mm, cm, m, in, ft, yd |\n| `pleats` | Equal knife pleats | number | 10 | min=1 max=1000 step=1 |\n\n### Browser-agent workflow\n\n1. Open the human page in a browser that supports WebMCP.\n2. Discover the interface exposed by that page; use its actual schema.\n3. Select files on the page first when the tool requires files.\n4. Call `run_current_tool` with valid input and settings.\n5. Inspect the returned result or error and the displayed output. Retrieve files from the displayed download links.\n\nCalls do not automatically copy or download results. Browser permissions still apply. Interface availability alone is not proof of successful execution.\n\n### Planning specification\n\n1–1,000 equal knife pleats. Raw fabric after edge allowances must exceed finished width. Box pleats and fabric-thickness effects are not modeled.\n\nThis describes intended requirements. Use the implementation notes, interface schema and observed output to determine current support.\n\n### Complete machine-readable capability record\n\n```json\n{\n  \"id\": \"pleat-calculator\",\n  \"category\": \"calculators\",\n  \"built\": true,\n  \"requirements\": \"1–1,000 equal knife pleats. Raw fabric after edge allowances must exceed finished width. Box pleats and fabric-thickness effects are not modeled.\",\n  \"implementation\": {\n    \"fields\": [\n      {\n        \"key\": \"fabricWidth\",\n        \"label\": \"Raw fabric width\",\n        \"value\": 150,\n        \"type\": \"number\",\n        \"min\": 0,\n        \"max\": 1000000000,\n        \"step\": \"any\"\n      },\n      {\n        \"key\": \"finishedWidth\",\n        \"label\": \"Desired finished pleated width\",\n        \"value\": 50,\n        \"type\": \"number\",\n        \"min\": 0,\n        \"max\": 1000000000,\n        \"step\": \"any\"\n      },\n      {\n        \"key\": \"edgeAllowance\",\n        \"label\": \"Unpleated allowance on each raw edge\",\n        \"value\": 1,\n        \"type\": \"number\",\n        \"min\": 0,\n        \"max\": 1000000000,\n        \"step\": \"any\"\n      },\n      {\n        \"key\": \"unit\",\n        \"label\": \"Measurement and output unit\",\n        \"value\": \"cm\",\n        \"type\": \"select\",\n        \"values\": [\n          \"mm\",\n          \"cm\",\n          \"m\",\n          \"in\",\n          \"ft\",\n          \"yd\"\n        ]\n      },\n      {\n        \"key\": \"pleats\",\n        \"label\": \"Equal knife pleats\",\n        \"value\": 10,\n        \"type\": \"number\",\n        \"min\": 1,\n        \"max\": 1000,\n        \"step\": 1\n      }\n    ],\n    \"input\": false,\n    \"live\": true,\n    \"background\": false,\n    \"presentation\": \"metrics\",\n    \"note\": \"Plan repeated knife pleats and download every placement, underfold and fold mark. Bring each fold line to its placement line. Edge allowances remain outside the finished pleated span. Changing units keeps the entered numbers. Calculations run on your device.\",\n    \"experience\": {\n      \"automatic\": true,\n      \"single\": false,\n      \"inputMaxLength\": 1000000,\n      \"inputMode\": \"text\",\n      \"label\": \"Your text\",\n      \"placeholder\": \"Type or paste your input…\",\n      \"help\": \"Change the input or settings to update your result. Results update as you type. Up to 1,000,000 characters.\",\n      \"action\": null\n    },\n    \"mode\": \"automatic\",\n    \"interactive\": false\n  },\n  \"execution\": \"Browser interface\",\n  \"api\": null,\n  \"browser_agent\": {\n    \"supported\": true,\n    \"name\": \"run_current_tool\",\n    \"discovery\": \"WebMCP on the human page in a supporting browser\",\n    \"verification\": \"See audit/API-AUDIT.md; availability is not verification\"\n  }\n}\n```\n\n## Page guide\n\nPlan evenly repeated knife pleats from raw fabric width, finished width and the number of pleats. Download every fold mark.\n\nHow can we improve this tool?\n\nReport a problem or share an idea.\n\nPlease leave out private information. Your message and the tool name go to our team via PostHog.\n\n### How to use Pleat calculator\n\n1. Enter your measurements, rates or supplied recipe.\n2. Review the quantities, rounding and plan details.\n3. Download the result and verify it against your actual materials or a sample.\n\n## Useful next steps\n\n- [Fabric shrinkage calculator](https://happytails.ai/en/calculators/fabric-shrinkage-calculator/) ([Markdown](https://happytails.ai/en/calculators/fabric-shrinkage-calculator.md))\n\n- [Sewing pattern scale calculator](https://happytails.ai/en/calculators/sewing-pattern-scale-calculator/) ([Markdown](https://happytails.ai/en/calculators/sewing-pattern-scale-calculator.md))\n\n## Reserve the edge allowances\n\nThe finished pleated span excludes the two raw edge allowances. The remaining fabric is split into repeats. Every knife pleat consumes twice its fold depth; the visible finished pitch is the target span divided by the pleat count.\n\n### Mark placement, underfold and fold lines\n\nWith 150 cm raw fabric, 1 cm on each edge, a 50 cm finished span and ten pleats, the finished pitch is 5 cm and fold depth is 4.9 cm. Bring each fold line to its placement line, with the underfold halfway between. All distances are measured from the left raw edge.\n\n### Save the plan\n\nDownload the result as CSV, plus a text or JSON report with formulas, values and assumptions. Everything is calculated on your device. Changing units keeps the entered numbers, so check the selected units before using the plan.\n"
}