{
 "schema": "spawner-tool/v1",
 "id": "bot_020",
 "name": "Dachneigung berechnen Pultdach: Höhe, Steigung & Sparrenlänge",
 "description": "Dachneigung für ein Pultdach berechnen: Höhendifferenz, Steigung in Prozent und Sparrenlänge aus Tiefe und Neigungswinkel. Einfach und kostenlos.",
 "url": "https://fachrechner.com/de/dachneigung-berechnen-pultdach/",
 "spec_url": "https://fachrechner.com/de/dachneigung-berechnen-pultdach/spec.json",
 "language": "de",
 "market": "CH",
 "live_since": "2026-10-25T16:18:37Z",
 "inputs": [
  {
   "id": "tiefe",
   "label": "Horizontale Tiefe des Pultdachs",
   "unit": "m",
   "min": 0.5,
   "max": 30.0,
   "step": 0.1,
   "default": 6.0
  },
  {
   "id": "neigung_grad",
   "label": "Dachneigung (Winkel)",
   "unit": "°",
   "min": 1.0,
   "max": 60.0,
   "step": 0.5,
   "default": 15.0
  }
 ],
 "constants": [],
 "outputs": [
  {
   "id": "hoehe",
   "label": "Höhendifferenz Traufe zu First",
   "unit": "m",
   "decimals": 2,
   "expression": "tiefe*tan(neigung_grad*pi/180)"
  },
  {
   "id": "steigung_prozent",
   "label": "Steigung",
   "unit": "%",
   "decimals": 1,
   "expression": "tan(neigung_grad*pi/180)*100"
  },
  {
   "id": "sparrenlaenge",
   "label": "Sparrenlänge",
   "unit": "m",
   "decimals": 2,
   "expression": "sqrt(tiefe**2+hoehe**2)"
  }
 ],
 "formula": "Höhe h = Tiefe t × tan(α); Steigung (%) = tan(α) × 100; Sparrenlänge s = √(t² + h²), wobei α der Dachneigungswinkel ist.",
 "expression_language": {
  "name": "safeexpr",
  "syntax": "Python arithmetic subset: + - * / ** %, parentheses, numbers, input/constant ids and ids of earlier outputs, functions abs sqrt log log10 exp floor ceil sin cos tan min max round(x,n), constants pi e, conditionals (a if x > y else b)",
  "semantics": "% is fmod; round() rounds half away from zero; outputs are evaluated in the listed order"
 },
 "example": {
  "inputs": {
   "tiefe": 6.0,
   "neigung_grad": 15.0
  },
  "outputs": {
   "hoehe": 1.61,
   "steigung_prozent": 26.8,
   "sparrenlaenge": 6.21
  }
 },
 "verification": "formula checked against independent test vectors; browser JS equals the reference evaluator",
 "commercial_action": {
  "type": "product_search",
  "label": "Passendes Material finden",
  "product_category": "Dachbaumaterial",
  "store": "eBay.ch",
  "query_template": "Pultdach Sparren {sparrenlaenge} m",
  "search_url_template": "https://www.ebay.ch/sch/i.html?_nkw={q}",
  "example": {
   "query": "Pultdach Sparren 6,21 m",
   "url": "https://www.ebay.ch/sch/i.html?_nkw=Pultdach%20Sparren%206%2C21%20m"
  },
  "bom": [
   {
    "slot": 1,
    "kind": "primary",
    "label": "Passend zum Ergebnis (Normgröße)",
    "query_template": "Pultdach Sparren {sparrenlaenge} m",
    "standard_size_step": 0,
    "search_url_template": "https://www.ebay.ch/sch/i.html?_nkw={q}",
    "example": {
     "query": "Pultdach Sparren 6,21 m",
     "url": "https://www.ebay.ch/sch/i.html?_nkw=Pultdach%20Sparren%206%2C21%20m"
    }
   },
   {
    "slot": 2,
    "kind": "accessory",
    "label": "Montagezubehör / Messgerät",
    "query_template": "Neigungsmesser Wasserwaage Dach",
    "standard_size_step": 0,
    "search_url_template": "https://www.ebay.ch/sch/i.html?_nkw={q}",
    "example": {
     "query": "Neigungsmesser Wasserwaage Dach",
     "url": "https://www.ebay.ch/sch/i.html?_nkw=Neigungsmesser%20Wasserwaage%20Dach"
    }
   }
  ],
  "standard_series": null,
  "affiliate": false,
  "rel": "sponsored nofollow",
  "note": "Parts list (bom) in display order. Replace {placeholders} in query_template with the user's computed values (inputs or outputs); for placeholders listed in standard_series use the smallest series value >= the computed value, then move standard_size_step positions up the series; URL-encode the query and substitute {q} in search_url_template."
 },
 "api": {
  "endpoint": "https://fachrechner.com/api/v1/calc/bot_020",
  "method": "GET",
  "parameters": "input ids as query parameters (missing = default); response JSON with outputs",
  "free_calls_per_day": 10,
  "auth": null,
  "on_limit": "HTTP 402 daily_limit_reached (no paid tier; quota resets 00:00 UTC, Retry-After)",
  "pro_checkout": null,
  "expression_tree": "https://fachrechner.com/m2m/bot_020.json"
 }
}