{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://paramlet.com/tools/funnel/schema.json",
 "title": "Funnel — parameters",
 "description": "Funnels whose spout fits the bottle you have: set the neck, get a fit ring to try, an air vent groove so it does not glug, a screen and a hanging tab. 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": "funnel",
 "x-toolVersion": "1.0.0",
 "x-specVersion": "1.0",
 "x-apiVersion": "1",
 "x-groups": [
  {
   "id": "funnel",
   "title": "Funnel"
  },
  {
   "id": "details",
   "title": "Details"
  },
  {
   "id": "look",
   "title": "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": "pet-bottle-funnel",
    "title": "Bottle funnel with air vent (20.5 mm)",
    "description": "A 90 mm funnel whose 20.5 mm spout fits a 28 mm PET bottle, soda or water, with a groove that lets air in so that it does not glug. A tab to hang it.",
    "values": {
     "topD": 90,
     "spoutD": 20.5,
     "spoutLength": 40,
     "coneAngle": 60,
     "spoutAngle": 0,
     "vent": true,
     "wall": 1.6,
     "vase": false,
     "tab": true,
     "screen": 0,
     "coupon": false,
     "baseColor": "#0e7490",
     "material": "petg",
     "layerHeight": 0.2,
     "wallCount": 3,
     "infill": 20
    }
   },
   {
    "id": "pet-fit-ring",
    "title": "Fit ring for the 28 mm PET neck",
    "description": "A short piece of the 20.5 mm spout to try in the bottle, and the funnel with it. Too tight? Take 0.5 mm off the spout.",
    "values": {
     "topD": 90,
     "spoutD": 20.5,
     "spoutLength": 40,
     "coneAngle": 60,
     "spoutAngle": 0,
     "vent": true,
     "wall": 1.6,
     "vase": false,
     "tab": true,
     "screen": 0,
     "coupon": true,
     "baseColor": "#1d4ed8",
     "material": "petg",
     "layerHeight": 0.2,
     "wallCount": 3,
     "infill": 20
    }
   },
   {
    "id": "car-oil-funnel",
    "title": "Car oil funnel, angled spout",
    "description": "A 100 mm funnel in PETG with a long 14 mm spout bent by 30 degrees, to reach under a filler cap. Keep it for oil, not for food.",
    "values": {
     "topD": 100,
     "spoutD": 14,
     "spoutLength": 70,
     "coneAngle": 55,
     "spoutAngle": 30,
     "vent": true,
     "wall": 1.6,
     "vase": false,
     "tab": true,
     "screen": 0,
     "coupon": false,
     "baseColor": "#b45309",
     "material": "petg",
     "layerHeight": 0.2,
     "wallCount": 3,
     "infill": 20
    }
   },
   {
    "id": "canning-funnel",
    "title": "Canning funnel for wide jars (58 mm)",
    "description": "A 200 mm funnel with a 58 mm spout that drops into a wide-mouth jar or a regular Mason jar, steep enough to leave little behind.",
    "values": {
     "topD": 200,
     "spoutD": 58,
     "spoutLength": 40,
     "coneAngle": 70,
     "spoutAngle": 0,
     "vent": false,
     "wall": 1.6,
     "vase": false,
     "tab": true,
     "screen": 0,
     "coupon": false,
     "baseColor": "#15803d",
     "material": "petg",
     "layerHeight": 0.2,
     "wallCount": 3,
     "infill": 20
    }
   },
   {
    "id": "spice-funnel",
    "title": "Spice and powder funnel",
    "description": "A small 50 mm funnel with an 8 mm spout for spice jars, salt shakers and powder into narrow bottles. Thin walls, no groove.",
    "values": {
     "topD": 50,
     "spoutD": 8,
     "spoutLength": 30,
     "coneAngle": 50,
     "spoutAngle": 0,
     "vent": false,
     "wall": 1.2,
     "vase": false,
     "tab": true,
     "screen": 0,
     "coupon": false,
     "baseColor": "#a21caf",
     "material": "petg",
     "layerHeight": 0.2,
     "wallCount": 3,
     "infill": 20
    }
   },
   {
    "id": "homebrew-funnel",
    "title": "Home-brew funnel with a screen",
    "description": "A 120 mm funnel with a 14.5 mm spout for crown-cap bottles, a vent groove and a 1.2 mm screen that catches the hops.",
    "values": {
     "topD": 120,
     "spoutD": 14.5,
     "spoutLength": 45,
     "coneAngle": 65,
     "spoutAngle": 0,
     "vent": true,
     "wall": 1.6,
     "vase": false,
     "tab": true,
     "screen": 1.2,
     "coupon": false,
     "baseColor": "#b91c1c",
     "material": "petg",
     "layerHeight": 0.2,
     "wallCount": 3,
     "infill": 20
    }
   },
   {
    "id": "fine-screen-funnel",
    "title": "Funnel with a fine screen (0.8 mm)",
    "description": "The bottle funnel with a separate screen of 0.8 mm holes that drops into the cone, for tea, seeds and bits.",
    "values": {
     "topD": 90,
     "spoutD": 20.5,
     "spoutLength": 40,
     "coneAngle": 60,
     "spoutAngle": 0,
     "vent": true,
     "wall": 1.6,
     "vase": false,
     "tab": true,
     "screen": 0.8,
     "coupon": false,
     "baseColor": "#0f766e",
     "material": "petg",
     "layerHeight": 0.16,
     "wallCount": 3,
     "infill": 20
    }
   },
   {
    "id": "vase-funnel",
    "title": "Vase-mode funnel, single wall",
    "description": "A 140 mm funnel drawn for the slicer's spiral vase mode: one wall, fast and watertight, with no groove and a tab to hang it.",
    "values": {
     "topD": 140,
     "spoutD": 20.5,
     "spoutLength": 40,
     "coneAngle": 60,
     "spoutAngle": 0,
     "vent": false,
     "wall": 1.6,
     "vase": true,
     "tab": true,
     "screen": 0,
     "coupon": false,
     "baseColor": "#f4efe6",
     "material": "petg",
     "layerHeight": 0.2,
     "wallCount": 3,
     "infill": 20
    }
   }
  ]
 },
 "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": {
  "topD": {
   "type": "number",
   "minimum": 40,
   "maximum": 200,
   "multipleOf": 1,
   "title": "Top diameter",
   "description": "Across the rim of the cone.",
   "x-group": "funnel",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Augšējais diametrs",
   "default": 90,
   "x-resetOnPreset": true
  },
  "spoutD": {
   "type": "number",
   "minimum": 5,
   "maximum": 60,
   "x-step": 0.5,
   "title": "Spout diameter",
   "description": "Outside the spout. Measure the neck of the bottle across its opening and take half a millimetre less each side; print the fit ring first. A 28 mm PET bottle takes 20.5.",
   "x-group": "funnel",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Uzgaļa diametrs",
   "default": 20.5,
   "x-resetOnPreset": true
  },
  "spoutLength": {
   "type": "number",
   "minimum": 10,
   "maximum": 100,
   "multipleOf": 1,
   "title": "Spout length",
   "description": "From the cone down to the tip. Long enough to reach through the neck: 30 to 40 mm for a bottle, 60 or more for a filler neck.",
   "x-group": "funnel",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Uzgaļa garums",
   "default": 40,
   "x-resetOnPreset": true
  },
  "coneAngle": {
   "type": "number",
   "minimum": 45,
   "maximum": 80,
   "multipleOf": 1,
   "title": "Cone angle",
   "description": "Of the cone's wall from the level. Steep drains fast and leaves little behind; shallow holds more in a low funnel.",
   "x-group": "funnel",
   "x-unit": "deg",
   "x-agentSafe": true,
   "x-label-lv": "Konusa leņķis",
   "default": 60,
   "x-resetOnPreset": true
  },
  "spoutAngle": {
   "type": "number",
   "minimum": 0,
   "maximum": 45,
   "multipleOf": 5,
   "title": "Angled spout",
   "description": "How far the spout bends away from the funnel's axis, to reach under a filler cap. 0: straight.",
   "x-group": "funnel",
   "x-unit": "deg",
   "x-agentSafe": true,
   "x-label-lv": "Slīpais uzgals",
   "default": 0,
   "x-resetOnPreset": true
  },
  "vent": {
   "type": "integer",
   "enum": [
    0,
    1
   ],
   "title": "Air vent groove",
   "description": "A groove down the spout lets air into the bottle while the liquid runs out, so that it does not glug and splash. Needs a spout 12 mm wide or more and a walled funnel.",
   "x-group": "details",
   "x-visibleIf": {
    "vase": false
   },
   "x-agentSafe": true,
   "x-label-lv": "Gaisa padeves rieva",
   "default": 1,
   "x-resetOnPreset": true
  },
  "wall": {
   "type": "number",
   "minimum": 0.6,
   "maximum": 2.4,
   "x-step": 0.2,
   "title": "Wall thickness",
   "description": "Of the funnel. 1.6 mm holds its shape; 1.2 mm is light.",
   "x-group": "details",
   "x-unit": "mm",
   "x-role": "core.wallThickness",
   "x-visibleIf": {
    "vase": false
   },
   "x-agentSafe": true,
   "x-label-lv": "Sienas biezums",
   "default": 1.6,
   "x-resetOnPreset": true
  },
  "vase": {
   "type": "integer",
   "enum": [
    0,
    1
   ],
   "title": "Vase mode",
   "description": "A single wall of one line width, for the slicer's spiral vase mode: fast, watertight and light, with no vent groove.",
   "x-group": "details",
   "x-agentSafe": true,
   "x-label-lv": "Vāzes režīms",
   "default": 0,
   "x-resetOnPreset": true
  },
  "tab": {
   "type": "integer",
   "enum": [
    0,
    1
   ],
   "title": "Hanging tab",
   "description": "A flat tab with a hole at the rim, to hang the funnel on a hook.",
   "x-group": "details",
   "x-agentSafe": true,
   "x-label-lv": "Pakarināšanas valodzīns",
   "default": 1,
   "x-resetOnPreset": true
  },
  "screen": {
   "type": "number",
   "minimum": 0,
   "maximum": 5,
   "x-step": 0.2,
   "title": "Filter screen",
   "description": "A separate screen that drops into the cone, with square holes this wide. 0: no screen. Under 1.2 mm is for hops and tea leaves; 2 mm and more for coarse bits.",
   "x-group": "details",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Filtrs",
   "default": 0,
   "x-resetOnPreset": true
  },
  "coupon": {
   "type": "integer",
   "enum": [
    0,
    1
   ],
   "title": "Fit ring",
   "description": "A short piece of the spout to try in the bottle's neck before printing the funnel. If it is too tight, take 0.5 mm off the spout.",
   "x-group": "details",
   "x-agentSafe": true,
   "x-label-lv": "Pielaides gredzens",
   "default": 0,
   "x-resetOnPreset": true
  },
  "baseColor": {
   "type": "string",
   "pattern": "^#[0-9a-fA-F]{6}$",
   "title": "Funnel colour",
   "description": "The funnel, its screen and its fit ring.",
   "x-group": "look",
   "x-role": "core.previewColor",
   "x-agentSafe": true,
   "x-label-lv": "Piltuves krāsa",
   "default": "#0e7490",
   "x-resetOnPreset": true
  },
  "material": {
   "type": "string",
   "enum": [
    "petg",
    "pla"
   ],
   "x-enumTitles": {
    "petg": "PETG",
    "pla": "PLA"
   },
   "title": "Filament",
   "description": "PETG takes warmer liquids and oil, and bends before it cracks. PLA softens at 60 °C: cold liquids only. For food, a filament certified for food contact.",
   "x-group": "print",
   "x-role": "core.printMaterial",
   "x-agentSafe": true,
   "x-label-lv": "Filaments",
   "default": "petg",
   "x-resetOnPreset": true
  },
  "layerHeight": {
   "type": "number",
   "minimum": 0.12,
   "maximum": 0.3,
   "x-step": 0.02,
   "title": "Layer height",
   "description": "0.2 mm is smooth enough for a funnel; 0.16 mm for a screen with holes under 1 mm.",
   "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": 2,
   "maximum": 8,
   "multipleOf": 1,
   "title": "Perimeter walls",
   "description": "Three lines make a 1.6 mm wall solid.",
   "x-group": "print",
   "x-unit": "count",
   "x-role": "print.wallCount",
   "x-agentSafe": true,
   "x-label-lv": "Sienu skaits",
   "default": 3,
   "x-resetOnPreset": true
  },
  "infill": {
   "type": "integer",
   "minimum": 0,
   "maximum": 100,
   "multipleOf": 5,
   "title": "Infill",
   "description": "A funnel is all walls; the infill only fills the hanging tab and the screen's rim.",
   "x-group": "print",
   "x-unit": "pct",
   "x-role": "print.infill",
   "x-agentSafe": true,
   "x-label-lv": "Aizpildījums",
   "default": 20,
   "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)"
  }
 ]
}