{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://paramlet.com/tools/ice-scraper/schema.json",
 "title": "Ice scraper — parameters",
 "description": "Ice scrapers to 3D print for the car: a 50 to 150 mm blade, a finger or glove slot, frost teeth and your name or brand on the blade, in one or two colours. All lengths are millimetres. Unknown keys are rejected; out-of-range values are rejected by the URL and API and clamped when a project file is opened.",
 "x-tool": "ice-scraper",
 "x-toolVersion": "1.1.0",
 "x-specVersion": "1.0",
 "x-apiVersion": "1",
 "x-groups": [
  {
   "id": "shape",
   "title": "Shape"
  },
  {
   "id": "edge",
   "title": "Edge"
  },
  {
   "id": "grip",
   "title": "Grip"
  },
  {
   "id": "text",
   "title": "Text"
  },
  {
   "id": "look",
   "title": "Texture & colours"
  },
  {
   "id": "print",
   "title": "Printing"
  }
 ],
 "x-presets": {
  "note": "Choosing a preset resets every key marked x-resetOnPreset to its default and then applies the preset values.",
  "items": [
   {
    "id": "wide-ice-scraper-120mm",
    "title": "Ice scraper, 120 mm blade",
    "description": "A wide blade for a windscreen, a 40 mm handle and a word on the blade, in two colours.",
    "values": {
     "bladeWidth": 120,
     "length": 140,
     "thickness": 8,
     "handleWidth": 40,
     "corner": 4,
     "edgeAngle": 25,
     "edgeTip": 1,
     "grip": "finger",
     "teeth": false,
     "hangHole": false,
     "holeDiameter": 5,
     "text": "ICE",
     "text2": "",
     "font": "lilita",
     "letterHeight": 14,
     "letterSpacing": 0.02,
     "letterStyle": "raised",
     "letterDepth": 1.2,
     "colorMode": "multi",
     "bodyColor": "#c85a32",
     "letterColor": "#f4efe6",
     "material": "asa",
     "layerHeight": 0.2,
     "wallCount": 5,
     "infill": 100
    }
   },
   {
    "id": "credit-card-ice-scraper",
    "title": "Credit-card ice scraper for the wallet",
    "description": "85 × 54 × 3 mm, thin enough for a wallet or the glovebox, with a finger slot.",
    "values": {
     "bladeWidth": 85,
     "length": 54,
     "thickness": 3,
     "handleWidth": 85,
     "corner": 3,
     "edgeAngle": 25,
     "edgeTip": 1,
     "grip": "finger",
     "teeth": false,
     "hangHole": false,
     "holeDiameter": 5,
     "text": "ICE",
     "text2": "",
     "font": "lilita",
     "letterHeight": 9,
     "letterSpacing": 0.02,
     "letterStyle": "raised",
     "letterDepth": 1.2,
     "colorMode": "multi",
     "bodyColor": "#2a7f76",
     "letterColor": "#f2c14e",
     "material": "asa",
     "layerHeight": 0.2,
     "wallCount": 5,
     "infill": 100
    }
   },
   {
    "id": "glove-grip-ice-scraper",
    "title": "Ice scraper with a glove grip",
    "description": "A 100 mm blade and a wide slot that takes a winter glove.",
    "values": {
     "bladeWidth": 100,
     "length": 150,
     "thickness": 8,
     "handleWidth": 40,
     "corner": 4,
     "edgeAngle": 25,
     "edgeTip": 1,
     "grip": "glove",
     "teeth": false,
     "hangHole": false,
     "holeDiameter": 5,
     "text": "SNOW",
     "text2": "",
     "font": "lilita",
     "letterHeight": 14,
     "letterSpacing": 0.02,
     "letterStyle": "raised",
     "letterDepth": 1.2,
     "colorMode": "multi",
     "bodyColor": "#d4a024",
     "letterColor": "#ffffff",
     "material": "asa",
     "layerHeight": 0.2,
     "wallCount": 5,
     "infill": 100
    }
   },
   {
    "id": "branded-ice-scraper",
    "title": "Branded ice scraper (giveaway)",
    "description": "A brand and a year under it on a 120 mm scraper, printed in two colours.",
    "values": {
     "bladeWidth": 120,
     "length": 150,
     "thickness": 8,
     "handleWidth": 50,
     "corner": 4,
     "edgeAngle": 25,
     "edgeTip": 1,
     "grip": "finger",
     "teeth": false,
     "hangHole": false,
     "holeDiameter": 5,
     "text": "YOUR BRAND",
     "text2": "since 2026",
     "font": "lilita",
     "letterHeight": 18,
     "letterSpacing": 0.02,
     "letterStyle": "raised",
     "letterDepth": 1.2,
     "colorMode": "multi",
     "bodyColor": "#3b5b8c",
     "letterColor": "#fbbf24",
     "material": "asa",
     "layerHeight": 0.2,
     "wallCount": 5,
     "infill": 100
    }
   },
   {
    "id": "detail-ice-scraper-50mm",
    "title": "Detail ice scraper, 50 mm",
    "description": "A short 50 mm blade for mirrors and camera covers, with a slim handle.",
    "values": {
     "bladeWidth": 50,
     "length": 90,
     "thickness": 6,
     "handleWidth": 44,
     "corner": 2,
     "edgeAngle": 25,
     "edgeTip": 1,
     "grip": "finger",
     "teeth": false,
     "hangHole": false,
     "holeDiameter": 5,
     "text": "",
     "text2": "",
     "font": "lilita",
     "letterHeight": 14,
     "letterSpacing": 0.02,
     "letterStyle": "raised",
     "letterDepth": 1.2,
     "colorMode": "multi",
     "bodyColor": "#5b7f4b",
     "letterColor": "#bae6fd",
     "material": "asa",
     "layerHeight": 0.2,
     "wallCount": 5,
     "infill": 100
    }
   },
   {
    "id": "ice-scraper-with-frost-teeth",
    "title": "Ice scraper with frost teeth",
    "description": "Teeth on the back for thick frost, and a hole for the hook by the door.",
    "values": {
     "bladeWidth": 100,
     "length": 140,
     "thickness": 8,
     "handleWidth": 40,
     "corner": 4,
     "edgeAngle": 25,
     "edgeTip": 1,
     "grip": "finger",
     "teeth": true,
     "hangHole": true,
     "holeDiameter": 5,
     "text": "ICE",
     "text2": "",
     "font": "lilita",
     "letterHeight": 14,
     "letterSpacing": 0.02,
     "letterStyle": "raised",
     "letterDepth": 1.2,
     "colorMode": "multi",
     "bodyColor": "#8c3b5c",
     "letterColor": "#fde68a",
     "material": "asa",
     "layerHeight": 0.2,
     "wallCount": 5,
     "infill": 100
    }
   }
  ]
 },
 "x-coreParams": {
  "exportFormat": {
   "type": "string",
   "title": "File format",
   "description": "3mf = 3MF (mm); stl = STL files in a zip (mm)",
   "x-group": "download",
   "x-role": "core.exportFormat",
   "x-unit": "none",
   "x-agentSafe": true,
   "enum": [
    "3mf",
    "stl"
   ],
   "default": "3mf"
  },
  "exportTol": {
   "type": "number",
   "title": "Mesh precision",
   "description": "Simplification tolerance in mm (0 = original mesh).",
   "x-group": "download",
   "x-role": "core.exportTolerance",
   "x-unit": "mm",
   "x-agentSafe": true,
   "enum": [
    0,
    0.01,
    0.02
   ],
   "default": 0.02
  },
  "units": {
   "type": "string",
   "title": "Units shown",
   "description": "Display only: mm or inches (1 in = 25.4 mm). Stored values, the API and exports are always mm.",
   "x-group": "view",
   "x-role": "core.displayUnits",
   "x-unit": "none",
   "x-agentSafe": true,
   "enum": [
    "mm",
    "in"
   ],
   "x-enumTitles": {
    "mm": "Millimetres",
    "in": "Inches"
   },
   "default": "mm"
  }
 },
 "type": "object",
 "properties": {
  "bladeWidth": {
   "type": "number",
   "minimum": 50,
   "maximum": 150,
   "multipleOf": 1,
   "title": "Blade width",
   "description": "How wide the scraping edge is. 100 mm clears a windscreen in few strokes; 50 mm is for mirrors and camera covers.",
   "x-group": "shape",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Asmeņa platums",
   "default": 100,
   "x-resetOnPreset": true
  },
  "length": {
   "type": "number",
   "minimum": 50,
   "maximum": 180,
   "multipleOf": 1,
   "title": "Length",
   "description": "From the edge to the end of the handle. 85 × 54 mm is a credit card, for a wallet.",
   "x-group": "shape",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Garums",
   "default": 140,
   "x-resetOnPreset": true
  },
  "thickness": {
   "type": "number",
   "minimum": 3,
   "maximum": 10,
   "x-step": 0.5,
   "title": "Thickness",
   "description": "The plate under the grip. 8 mm does not bend when you lean on it; 3 mm is a card for the glovebox.",
   "x-group": "shape",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Biezums",
   "default": 8,
   "x-resetOnPreset": true
  },
  "handleWidth": {
   "type": "number",
   "minimum": 28,
   "maximum": 90,
   "multipleOf": 1,
   "title": "Handle width",
   "description": "The part you hold. The blade widens to its width in front of it.",
   "x-group": "shape",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Roktura platums",
   "default": 40,
   "x-resetOnPreset": true
  },
  "corner": {
   "type": "number",
   "minimum": 0,
   "maximum": 10,
   "x-step": 0.5,
   "title": "Corner radius",
   "description": "Of the blade ends in plan. 0 for square corners.",
   "x-group": "shape",
   "x-unit": "mm",
   "x-role": "core.fillet",
   "x-agentSafe": true,
   "x-label-lv": "Stūra rādiuss",
   "default": 4,
   "x-resetOnPreset": true
  },
  "edgeAngle": {
   "type": "number",
   "minimum": 15,
   "maximum": 40,
   "multipleOf": 1,
   "title": "Edge angle",
   "description": "The bevel on the face side of the blade. 25 degrees scrapes well and keeps its edge; shallower cuts ice better but wears sooner.",
   "x-group": "edge",
   "x-unit": "deg",
   "x-agentSafe": true,
   "x-label-lv": "Asmeņa leņķis",
   "default": 25,
   "x-resetOnPreset": true
  },
  "edgeTip": {
   "type": "number",
   "minimum": 0.6,
   "maximum": 1.6,
   "x-step": 0.1,
   "title": "Edge thickness",
   "description": "How thick the blade is at its very edge. Under 0.8 mm it wears down quickly in frost.",
   "x-group": "edge",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Asmeņa biezums",
   "default": 1,
   "x-resetOnPreset": true
  },
  "grip": {
   "type": "string",
   "enum": [
    "finger",
    "glove"
   ],
   "x-enumTitles": {
    "finger": "Finger slot",
    "glove": "Glove slot (wider)"
   },
   "title": "Grip",
   "description": "A slot through the handle for the fingers. The glove slot is 8 mm wider, for winter gloves.",
   "x-group": "grip",
   "x-agentSafe": true,
   "x-label-lv": "Rokturis",
   "default": "finger",
   "x-resetOnPreset": true
  },
  "teeth": {
   "type": "integer",
   "enum": [
    0,
    1
   ],
   "title": "Frost teeth",
   "description": "A row of teeth on the back edge, to break thick frost before scraping.",
   "x-group": "grip",
   "x-agentSafe": true,
   "x-label-lv": "Sāls zobi",
   "default": 0,
   "x-resetOnPreset": true
  },
  "hangHole": {
   "type": "integer",
   "enum": [
    0,
    1
   ],
   "title": "Hang hole",
   "description": "A round hole at the end of the handle, to hang the scraper on a hook.",
   "x-group": "grip",
   "x-agentSafe": true,
   "x-label-lv": "Piekarināšanas caurums",
   "default": 0,
   "x-resetOnPreset": true
  },
  "holeDiameter": {
   "type": "number",
   "minimum": 4,
   "maximum": 8,
   "x-step": 0.5,
   "title": "Hang hole diameter",
   "description": "5 mm takes most small hooks.",
   "x-group": "grip",
   "x-unit": "mm",
   "x-visibleIf": {
    "hangHole": true
   },
   "x-agentSafe": true,
   "x-label-lv": "Piekarināšanas cauruma diametrs",
   "default": 5,
   "x-resetOnPreset": true
  },
  "text": {
   "type": "string",
   "maxLength": 12,
   "title": "Name or brand",
   "description": "The large line on the scraper. Empty: no text. Up to 12 characters.",
   "x-group": "text",
   "x-agentSafe": true,
   "x-label-lv": "Vārds vai zīmols",
   "default": "ICE",
   "x-resetOnPreset": true
  },
  "text2": {
   "type": "string",
   "maxLength": 16,
   "title": "Second line",
   "description": "A smaller line: a phone number, a town, a greeting. Empty: none.",
   "x-group": "text",
   "x-agentSafe": true,
   "x-label-lv": "Otrā rinda",
   "default": "",
   "x-resetOnPreset": true
  },
  "font": {
   "type": "string",
   "enum": [
    "lilita",
    "pacifico",
    "varela",
    "barlow"
   ],
   "x-enumTitles": {
    "lilita": "Bold rounded (Lilita One)",
    "pacifico": "Script, joined letters (Pacifico)",
    "varela": "Clean rounded (Varela Round)",
    "barlow": "Narrow, for long text (Barlow Condensed)"
   },
   "title": "Letter style",
   "description": "Narrow letters fit the most on a small scraper.",
   "x-group": "text",
   "x-agentSafe": true,
   "x-label-lv": "Burtu stils",
   "default": "lilita",
   "x-resetOnPreset": true
  },
  "letterHeight": {
   "type": "number",
   "minimum": 5,
   "maximum": 30,
   "multipleOf": 1,
   "title": "Letter height",
   "description": "Height of a capital letter. The letters shrink on their own when the text does not fit.",
   "x-group": "text",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Burtu augstums",
   "default": 14,
   "x-resetOnPreset": true
  },
  "letterSpacing": {
   "type": "number",
   "minimum": -0.05,
   "maximum": 0.3,
   "x-step": 0.01,
   "title": "Letter spacing",
   "description": "As a share of the letter height.",
   "x-group": "text",
   "x-unit": "ratio",
   "x-agentSafe": true,
   "x-label-lv": "Atstarpe starp burtiem",
   "default": 0.02,
   "x-resetOnPreset": true
  },
  "letterStyle": {
   "type": "string",
   "enum": [
    "raised",
    "engraved"
   ],
   "x-enumTitles": {
    "raised": "Raised letters",
    "engraved": "Engraved letters"
   },
   "title": "Letters",
   "description": "Raised letters stand on the face and are printed after a filament change or in a second colour. Engraved letters are cut into the face; in two colours the second colour is inlaid flush.",
   "x-group": "text",
   "x-agentSafe": true,
   "x-label-lv": "Burti",
   "default": "raised",
   "x-resetOnPreset": true
  },
  "letterDepth": {
   "type": "number",
   "minimum": 0.6,
   "maximum": 1.6,
   "x-step": 0.2,
   "title": "Letter height / depth",
   "description": "Raised: how far the letters stand up. Engraved: how deep they are cut.",
   "x-group": "text",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Burtu augstums / dziļums",
   "default": 1.2,
   "x-resetOnPreset": true
  },
  "gripTexture": {
   "type": "string",
   "enum": [
    "none",
    "waves",
    "diamond",
    "hex",
    "wood",
    "hammered",
    "basketweave",
    "folk",
    "dots"
   ],
   "x-enumTitles": {
    "none": "Smooth (none)",
    "waves": "Waves",
    "diamond": "Diamond",
    "hex": "Hexagon",
    "wood": "Wood grain",
    "hammered": "Hammered",
    "basketweave": "Basketweave",
    "folk": "Folk diamond",
    "dots": "Dots"
   },
   "title": "Grip surface texture",
   "description": "Carved non-slip relief on the top face behind the blade bevel, with smooth islands around the letters and holes. Prints flat without supports.",
   "x-group": "look",
   "x-agentSafe": true,
   "x-label-lv": "Roktura virsmas tekstūra",
   "default": "none",
   "x-resetOnPreset": true
  },
  "textureDepth": {
   "type": "number",
   "minimum": 0.3,
   "maximum": 0.7,
   "x-step": 0.05,
   "title": "Texture depth",
   "description": "Carved depth into the top face (0.3–0.7 mm).",
   "x-group": "look",
   "x-unit": "mm",
   "x-visibleIf": {
    "gripTexture": {
     "ne": "none"
    }
   },
   "x-advanced": true,
   "x-agentSafe": true,
   "x-label-lv": "Tekstūras dziļums",
   "default": 0.5,
   "x-resetOnPreset": true
  },
  "textureScale": {
   "type": "number",
   "minimum": 5,
   "maximum": 16,
   "multipleOf": 1,
   "title": "Texture scale",
   "description": "Pattern repeat pitch in millimetres.",
   "x-group": "look",
   "x-unit": "mm",
   "x-visibleIf": {
    "gripTexture": {
     "ne": "none"
    }
   },
   "x-advanced": true,
   "x-agentSafe": true,
   "x-label-lv": "Tekstūras mērogs",
   "default": 8,
   "x-resetOnPreset": true
  },
  "colorMode": {
   "type": "string",
   "enum": [
    "single",
    "multi"
   ],
   "x-enumTitles": {
    "single": "One colour",
    "multi": "Two colours: letters and scraper"
   },
   "title": "Colours",
   "description": "Two colours gives two bodies in the 3MF, for a multi-material printer. One colour with raised letters: change the filament at the height the page gives.",
   "x-group": "look",
   "x-agentSafe": true,
   "x-label-lv": "Krāsas",
   "default": "multi",
   "x-resetOnPreset": true
  },
  "bodyColor": {
   "type": "string",
   "pattern": "^#[0-9a-fA-F]{6}$",
   "title": "Scraper colour",
   "description": "The scraper.",
   "x-group": "look",
   "x-role": "core.previewColor",
   "x-agentSafe": true,
   "x-label-lv": "Skrāpja krāsa",
   "default": "#0e7490",
   "x-resetOnPreset": true
  },
  "letterColor": {
   "type": "string",
   "pattern": "^#[0-9a-fA-F]{6}$",
   "title": "Letter colour",
   "description": "The name or brand.",
   "x-group": "look",
   "x-visibleIf": {
    "colorMode": "multi"
   },
   "x-agentSafe": true,
   "x-label-lv": "Burtu krāsa",
   "default": "#f1e9d8",
   "x-resetOnPreset": true
  },
  "material": {
   "type": "string",
   "enum": [
    "asa",
    "petg",
    "abs",
    "pla"
   ],
   "x-enumTitles": {
    "asa": "ASA (tough in frost)",
    "petg": "PETG",
    "abs": "ABS",
    "pla": "PLA (only for light frost)"
   },
   "title": "Filament",
   "description": "ASA or ABS take the cold and the blows; PETG is fine but can crack when it is very cold. PLA goes brittle in frost.",
   "x-group": "print",
   "x-role": "core.printMaterial",
   "x-agentSafe": true,
   "x-label-lv": "Filaments",
   "default": "asa",
   "x-resetOnPreset": true
  },
  "layerHeight": {
   "type": "number",
   "minimum": 0.16,
   "maximum": 0.3,
   "x-step": 0.02,
   "title": "Layer height",
   "description": "Only for the layer number of the filament change.",
   "x-group": "print",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Slāņa augstums",
   "default": 0.2,
   "x-resetOnPreset": true
  },
  "wallCount": {
   "type": "integer",
   "minimum": 3,
   "maximum": 8,
   "multipleOf": 1,
   "title": "Perimeter walls",
   "description": "Five lines: the blade has to be solid to its edge.",
   "x-group": "print",
   "x-unit": "count",
   "x-role": "print.wallCount",
   "x-agentSafe": true,
   "x-label-lv": "Sienu skaits",
   "default": 5,
   "x-resetOnPreset": true
  },
  "infill": {
   "type": "integer",
   "minimum": 20,
   "maximum": 100,
   "multipleOf": 5,
   "title": "Infill",
   "description": "100 %: the blade wears evenly only when it is solid.",
   "x-group": "print",
   "x-unit": "pct",
   "x-role": "print.infill",
   "x-agentSafe": true,
   "x-label-lv": "Aizpildījums",
   "default": 100,
   "x-resetOnPreset": true
  }
 },
 "additionalProperties": false,
 "recommended_materials": [
  {
   "id": "petg-filament-1kg",
   "title": "PETG Filament 1.75 mm (1 kg) — heat-resistant & durable",
   "why": "Stronger and more heat-resistant than PLA for molds, jigs and outdoor parts.",
   "url": "https://paramlet.com/go/petg-filament-1kg?src=agent",
   "relation": "material",
   "disclosure": "Affiliate link (Amazon Associates, tag paramlet-21)"
  },
  {
   "id": "pla-matte-filament",
   "title": "Matte PLA Filament 1.75 mm (1 kg) — smooth surface finish",
   "why": "Clean matte finish for decorative vases, ornaments and candle holders.",
   "url": "https://paramlet.com/go/pla-matte-filament?src=agent",
   "relation": "material",
   "disclosure": "Affiliate link (Amazon Associates, tag paramlet-21)"
  }
 ]
}