Curtain Fabric Yardage Calculator
curtain_fabricCalculate curtain fabric yardage: widths of fabric needed, cut drop length and total yards to order. Finished width is track_width_in × fullness_ratio split over panel_count; usable fabric width is fabric_width_in minus unusable_edges_in; each cut is finished_drop_in plus top and hem allowances, rounded up to pattern_repeat_in; the order rounds to order_increment_yards. Inputs are in inches. Use for sewing curtains or drapes. For carpet use carpet_roll. Read-only calculation with no side effects; the same inputs always give the same result. Every input is optional and falls back to the calculator page default. Returns headline, summary lines, worked steps, inputs_used and calculator_url.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "curtain_fabric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | Unit system for every length/area/volume input: "us" (feet, inches, ft², ft³) or "metric" (m, cm or mm, m², m³). Defaults are converted when "metric" is chosen. | us |
| panel_count | No | Finished curtain panels. Default (US units): 2. | |
| fullness_ratio | No | Fullness multiplier. Default (US units): 2. | |
| track_width_in | No | Total track width. Unit: in (US) / cm (metric). Default (US units): 72. | |
| fabric_width_in | No | Fabric width before edges. Unit: in (US) / cm (metric). Default (US units): 54. | |
| finished_drop_in | No | Finished curtain drop. Unit: in (US) / cm (metric). Default (US units): 84. | |
| hem_allowance_in | No | Bottom hem allowance. Unit: in (US) / cm (metric). Default (US units): 8. | |
| top_allowance_in | No | Top construction allowance. Unit: in (US) / cm (metric). Default (US units): 4. | |
| pattern_repeat_in | No | Vertical pattern repeat (0 if plain). Unit: in (US) / cm (metric). Default (US units): 12. | |
| unusable_edges_in | No | Total unusable selvedge width. Unit: in (US) / cm (metric). Default (US units): 2. | |
| order_increment_yards | No | Supplier order increment in yards. Default (US units): 0.25. |