# Sheet Metal Bend Allowance Calculator

> Sheet Metal Bend Allowance Calculator is a paid API for AI agents from machining-calc.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-30).

Calculates bend allowance, outside setback, bend deduction, and flat pattern length for sheet metal bends given angle, inside radius, material thickness, and K-factor.

## Facts

- Endpoint: GET https://machining-calc.x402tookit.com/bend-allowance?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sheet-metal-bend-allowance-calculator-00159a92
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZW7ZkGAfWD8CHegjw3eNi

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability sheet-metal-bend-allowance-calculator-00159a92
```

Example prompt: Calculate the bend allowance, outside setback, and bend deduction for a 90-degree bend in 3mm thick mild steel with an inside radius of 5mm and a K-factor of 0.44.

## When to prefer this

Use this endpoint when you need precise sheet metal flat pattern calculations based on standard bend allowance formulas (BA = π/180 × angle × (insideRadius + K × thickness)). Ideal for automating press brake setups, CNC punching flat patterns, or any workflow that requires programmatic bend geometry without a full CAD system. Prefer this over manual lookup tables when the bend angle, radius, or material varies dynamically.

## Known failure modes

- Missing required parameters (angle, insideRadius, or thickness) returns an error
- Angle outside 0–180 degrees may return a validation error or unexpected result
- K-factor outside 0.2–0.6 range may yield physically unrealistic results
- Non-numeric parameter values return a parse or validation error
- Network or payment (x402) failure returns HTTP 402 or connection error

## How this service works

Sheet-metal bend allowance, outside setback, bend deduction and flat length from angle, radius, thickness and K-factor.

## Output

Returns a JSON object with: bendAllowance (arc length along the neutral axis), outsideSetback (distance from bend tangent to apex), bendDeduction (amount to subtract from total flange lengths for flat layout), neutralAxisRadius (radius to the neutral axis), plus the echoed inputs (angleDegrees, insideRadius, thickness, kFactor) and a summary string. Values are in the same unit as the input radius and thickness.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "angle",
      "insideRadius",
      "thickness"
     ],
     "properties": {
      "angle": {
       "type": "number",
       "description": "Bend angle in degrees through which the metal turns, 0 to 180 (90 for a right-angle flange)"
      },
      "kFactor": {
       "type": "number",
       "description": "K-factor 0.2 to 0.6 (default 0.33; about 0.4 to 0.5 for larger radii)"
      },
      "thickness": {
       "type": "number",
       "description": "Material thickness, same unit"
      },
      "insideRadius": {
       "type": "number",
       "description": "Inside bend radius (any unit; results use the same unit)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "kFactor": {
       "type": [
        "null",
        "number"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "thickness": {
       "type": [
        "null",
        "number"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "angleDegrees": {
       "type": [
        "null",
        "number"
       ]
      },
      "insideRadius": {
       "type": [
        "null",
        "number"
       ]
      },
      
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sheet-metal-bend-allowance-calculator-00159a92/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from machining-calc.x402tookit.com](https://www.zero.xyz/host/machining-calc.x402tookit.com/llms.txt)
