{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://paramlet.com/tools/cheese-mould/schema.json",
 "title": "Cheese mould & press generator — parameters",
 "description": "Design 3D-printable cheese moulds and followers: hard-cheese press cylinders, soft-rind hoops, slotted ricotta baskets, pyramids, hearts and square feta presses. 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": "cheese-mould",
 "x-toolVersion": "1.0.0",
 "x-specVersion": "1.0",
 "x-apiVersion": "1",
 "x-groups": [
  {
   "id": "type",
   "title": "Cheese mould style"
  },
  {
   "id": "size",
   "title": "Dimensions & wall"
  },
  {
   "id": "drainage",
   "title": "Whey drainage & feet"
  },
  {
   "id": "follower",
   "title": "Pressing follower lid"
  },
  {
   "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": "tomme-press-135mm",
    "title": "Hard-cheese press wheel (135 mm)",
    "description": "Classic 135 mm thick-walled pressing cylinder (~1 kg wheel) with sparse drain holes, stand-off feet and bossed press follower.",
    "values": {
     "mouldType": "tomme-press",
     "diameter": 135,
     "height": 75,
     "wallThickness": 3.8,
     "topRim": true,
     "drainStyle": "holes",
     "holeDiameter": 3,
     "drainRows": 3,
     "drainCols": 12,
     "feetHeight": 4,
     "includeFollower": true,
     "followerStyle": "bossed",
     "followerClearance": 1
    }
   },
   {
    "id": "tomme-press-185mm",
    "title": "Large farmstead press (185 mm)",
    "description": "Heavy-duty 185 mm pressing barrel (~2.5 kg wheel) with 4.4 mm walls and central ram-boss follower.",
    "values": {
     "mouldType": "tomme-press",
     "diameter": 185,
     "height": 105,
     "wallThickness": 4.4,
     "topRim": true,
     "drainStyle": "holes",
     "holeDiameter": 3,
     "drainRows": 3,
     "drainCols": 14,
     "feetHeight": 5,
     "includeFollower": true,
     "followerStyle": "bossed",
     "followerClearance": 1.2
    }
   },
   {
    "id": "camembert-hoop-100mm",
    "title": "Bloomy-rind hoop (100 mm)",
    "description": "Bottomless 100 mm cylindrical hoop with 4 rows of circular drain holes for soft bloomy-rind cheeses.",
    "values": {
     "mouldType": "camembert-hoop",
     "diameter": 100,
     "height": 100,
     "wallThickness": 2.4,
     "topRim": false,
     "drainStyle": "holes",
     "holeDiameter": 3,
     "drainRows": 4,
     "drainCols": 12,
     "includeFollower": false
    }
   },
   {
    "id": "brie-hoop-180mm",
    "title": "Wide soft-rind hoop + disc (180 mm)",
    "description": "Wide 180 mm bottomless hoop paired with a flat perforated flipping & light-weighting disc.",
    "values": {
     "mouldType": "camembert-hoop",
     "diameter": 180,
     "height": 110,
     "wallThickness": 2.8,
     "topRim": true,
     "drainStyle": "holes",
     "holeDiameter": 3,
     "drainRows": 4,
     "drainCols": 16,
     "includeFollower": true,
     "followerStyle": "perforated",
     "followerClearance": 1.2
    }
   },
   {
    "id": "ricotta-basket-100mm",
    "title": "Slotted ricotta basket (100 mm)",
    "description": "Tapered 100 mm self-draining basket with horizontal whey slots, perforated base and 4 stand-off feet.",
    "values": {
     "mouldType": "ricotta-basket",
     "diameter": 100,
     "height": 95,
     "taperPct": 20,
     "wallThickness": 2.4,
     "topRim": true,
     "drainStyle": "slots",
     "holeDiameter": 3,
     "drainRows": 6,
     "drainCols": 12,
     "feetHeight": 4,
     "includeFollower": false
    }
   },
   {
    "id": "ricotta-basket-150mm",
    "title": "Large draining basket + disc (150 mm)",
    "description": "Generous 150 mm slotted draining basket paired with a flat perforated follower disc.",
    "values": {
     "mouldType": "ricotta-basket",
     "diameter": 150,
     "height": 130,
     "taperPct": 15,
     "wallThickness": 2.8,
     "topRim": true,
     "drainStyle": "slots",
     "holeDiameter": 3,
     "drainRows": 7,
     "drainCols": 14,
     "feetHeight": 5,
     "includeFollower": true,
     "followerStyle": "perforated",
     "followerClearance": 1.2
    }
   },
   {
    "id": "chevre-pyramid-85mm",
    "title": "Goat-cheese pyramid (85 mm)",
    "description": "Classic truncated 4-sided pyramid mould (85 mm top → 45% taper) with staggered drain holes and corner feet.",
    "values": {
     "mouldType": "pyramid-goat",
     "diameter": 85,
     "height": 110,
     "taperPct": 45,
     "wallThickness": 2.4,
     "topRim": true,
     "drainStyle": "holes",
     "holeDiameter": 2.5,
     "drainRows": 5,
     "drainCols": 12,
     "feetHeight": 4,
     "includeFollower": false
    }
   },
   {
    "id": "heart-soft-100mm",
    "title": "Heart soft-cheese mould (100 mm)",
    "description": "Flanged 100 mm heart-shaped draining mould for fresh cream cheese, neufchâtel and soft goat cheese.",
    "values": {
     "mouldType": "heart-mould",
     "diameter": 100,
     "height": 50,
     "wallThickness": 2.4,
     "topRim": true,
     "drainStyle": "holes",
     "holeDiameter": 2.5,
     "drainRows": 3,
     "drainCols": 14,
     "feetHeight": 4,
     "includeFollower": false
    }
   },
   {
    "id": "feta-tofu-box-110mm",
    "title": "Square feta / tofu press (110 mm)",
    "description": "Square 110 mm slotted draining box with matching bossed square follower for feta blocks, paneer and tofu.",
    "values": {
     "mouldType": "square-feta",
     "diameter": 110,
     "height": 85,
     "taperPct": 10,
     "wallThickness": 3,
     "topRim": true,
     "drainStyle": "slots",
     "holeDiameter": 3,
     "drainRows": 5,
     "drainCols": 12,
     "feetHeight": 4,
     "includeFollower": true,
     "followerStyle": "bossed",
     "followerClearance": 1
    }
   },
   {
    "id": "mini-aperitif-50mm",
    "title": "Mini tasting basket (50 mm)",
    "description": "Single-serve 50 mm tapered slotted basket for individual chèvre rounds and appetizer cheeses.",
    "values": {
     "mouldType": "ricotta-basket",
     "diameter": 50,
     "height": 75,
     "taperPct": 25,
     "wallThickness": 2,
     "topRim": true,
     "drainStyle": "slots",
     "holeDiameter": 2.5,
     "drainRows": 5,
     "drainCols": 8,
     "feetHeight": 3,
     "includeFollower": false
    }
   }
  ]
 },
 "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": {
  "mouldType": {
   "type": "string",
   "enum": [
    "tomme-press",
    "camembert-hoop",
    "ricotta-basket",
    "pyramid-goat",
    "heart-mould",
    "square-feta"
   ],
   "x-enumTitles": {
    "tomme-press": "Hard-cheese press cylinder",
    "camembert-hoop": "Bottomless soft-rind hoop",
    "ricotta-basket": "Tapered slotted basket",
    "pyramid-goat": "Truncated square pyramid",
    "heart-mould": "Heart soft-cheese mould",
    "square-feta": "Square feta / tofu box"
   },
   "title": "Mould architecture",
   "description": "Choose the cheese mould shape; open hoops drain on a mat while baskets and presses include perforated floors.",
   "x-group": "type",
   "x-agentSafe": true,
   "x-label-lv": "Formas tips",
   "default": "tomme-press",
   "x-resetOnPreset": true
  },
  "diameter": {
   "type": "number",
   "minimum": 45,
   "maximum": 210,
   "multipleOf": 5,
   "title": "Inner diameter / width",
   "description": "Top inner diameter (or width for square/pyramid/heart moulds).",
   "x-group": "size",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Iekšējais diametrs / platums",
   "default": 135,
   "x-resetOnPreset": true
  },
  "height": {
   "type": "number",
   "minimum": 35,
   "maximum": 180,
   "multipleOf": 5,
   "title": "Inner height",
   "description": "Height of the curd chamber inside the mould.",
   "x-group": "size",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Iekšējais augstums",
   "default": 75,
   "x-resetOnPreset": true
  },
  "taperPct": {
   "type": "integer",
   "minimum": 0,
   "maximum": 50,
   "multipleOf": 5,
   "title": "Bottom taper",
   "description": "How much narrower the bottom is than the top (0% = straight walls, 45% = steep pyramid).",
   "x-group": "size",
   "x-unit": "pct",
   "x-visibleIf": {
    "mouldType": [
     "ricotta-basket",
     "pyramid-goat",
     "square-feta"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Apakšas sašaurinājums",
   "default": 0,
   "x-resetOnPreset": true
  },
  "wallThickness": {
   "type": "number",
   "minimum": 1.8,
   "maximum": 6,
   "x-step": 0.2,
   "title": "Wall thickness",
   "description": "Use 2.2–2.6 mm for soft-draining baskets and 3.4–4.8 mm for heavy pressed wheels.",
   "x-group": "size",
   "x-unit": "mm",
   "x-role": "core.wallThickness",
   "x-agentSafe": true,
   "x-label-lv": "Sienas biezums",
   "default": 3.6,
   "x-resetOnPreset": true
  },
  "topRim": {
   "type": "integer",
   "enum": [
    0,
    1
   ],
   "title": "Reinforced top lip",
   "description": "Adds a flared outer lip around the top opening for stiffness and easy handling.",
   "x-group": "size",
   "x-agentSafe": true,
   "x-label-lv": "Pastiprināta augšējā apmale",
   "default": 1,
   "x-resetOnPreset": true
  },
  "drainStyle": {
   "type": "string",
   "enum": [
    "holes",
    "slots"
   ],
   "x-enumTitles": {
    "holes": "Circular whey holes",
    "slots": "Horizontal basket slots"
   },
   "title": "Wall drainage style",
   "description": "Sparse circular holes prevent curd extrusion under heavy press; horizontal slots drain soft ricotta fast.",
   "x-group": "drainage",
   "x-agentSafe": true,
   "x-label-lv": "Sienas drenāžas veids",
   "default": "holes",
   "x-resetOnPreset": true
  },
  "holeDiameter": {
   "type": "number",
   "minimum": 2,
   "maximum": 5,
   "x-step": 0.5,
   "title": "Drain hole / slot size",
   "description": "2.5–3.0 mm keeps fine curds inside while draining whey freely.",
   "x-group": "drainage",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Drenāžas cauruma izmērs",
   "default": 3,
   "x-resetOnPreset": true
  },
  "drainRows": {
   "type": "integer",
   "minimum": 2,
   "maximum": 8,
   "multipleOf": 1,
   "title": "Vertical drain rows",
   "description": "2–3 rows for hard-cheese presses; 5–7 rows for rapid-draining ricotta and soft baskets.",
   "x-group": "drainage",
   "x-unit": "count",
   "x-agentSafe": true,
   "x-label-lv": "Drenāžas rindu skaits",
   "default": 3,
   "x-resetOnPreset": true
  },
  "drainCols": {
   "type": "integer",
   "minimum": 6,
   "maximum": 20,
   "multipleOf": 2,
   "title": "Columns around perimeter",
   "description": "Number of drainage columns distributed around the mould wall.",
   "x-group": "drainage",
   "x-unit": "count",
   "x-agentSafe": true,
   "x-label-lv": "Drenāžas kolonnas apkārt",
   "default": 12,
   "x-resetOnPreset": true
  },
  "feetHeight": {
   "type": "number",
   "minimum": 0,
   "maximum": 8,
   "multipleOf": 1,
   "title": "Bottom stand-off feet",
   "description": "Lifts the perforated base off the counter so whey runs out freely without pooling.",
   "x-group": "drainage",
   "x-unit": "mm",
   "x-visibleIf": {
    "mouldType": {
     "ne": "camembert-hoop"
    }
   },
   "x-agentSafe": true,
   "x-label-lv": "Apakšējās drenāžas kājiņas",
   "default": 4,
   "x-resetOnPreset": true
  },
  "includeFollower": {
   "type": "integer",
   "enum": [
    0,
    1
   ],
   "title": "Generate pressing follower lid",
   "description": "Exports a matching follower disc that slides inside the mould to press curds evenly.",
   "x-group": "follower",
   "x-visibleIf": {
    "mouldType": [
     "tomme-press",
     "camembert-hoop",
     "ricotta-basket",
     "square-feta"
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Ģenerēt preses spiedvāku",
   "default": 1,
   "x-resetOnPreset": true
  },
  "followerStyle": {
   "type": "string",
   "enum": [
    "bossed",
    "perforated"
   ],
   "x-enumTitles": {
    "bossed": "Heavy bossed press lid",
    "perforated": "Flat perforated draining disc"
   },
   "title": "Follower style",
   "description": "Bossed lid centers heavy press weights; flat perforated disc is ideal for light weighting and flipping.",
   "x-group": "follower",
   "x-visibleIf": {
    "all": [
     {
      "includeFollower": true
     },
     {
      "mouldType": [
       "tomme-press",
       "camembert-hoop",
       "ricotta-basket",
       "square-feta"
      ]
     }
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Spiedvāka veids",
   "default": "bossed",
   "x-resetOnPreset": true
  },
  "followerClearance": {
   "type": "number",
   "minimum": 0.4,
   "maximum": 2.5,
   "x-step": 0.1,
   "title": "Follower radial clearance",
   "description": "Radial gap between follower and inner wall (1.0 mm leaves room for cheesecloth and whey escape).",
   "x-group": "follower",
   "x-unit": "mm",
   "x-role": "core.clearance",
   "x-visibleIf": {
    "all": [
     {
      "includeFollower": true
     },
     {
      "mouldType": [
       "tomme-press",
       "camembert-hoop",
       "ricotta-basket",
       "square-feta"
      ]
     }
    ]
   },
   "x-agentSafe": true,
   "x-label-lv": "Spiedvāka atstarpe",
   "default": 1
  },
  "printMaterial": {
   "type": "string",
   "enum": [
    "petg",
    "asa",
    "pla"
   ],
   "x-enumTitles": {
    "petg": "Food-grade PETG (recommended)",
    "asa": "ASA",
    "pla": "PLA (fit-check only)"
   },
   "title": "Print material",
   "description": "Affects estimated print mass only; use undyed food-contact PETG or PP for cheesemaking.",
   "x-group": "print",
   "x-role": "core.printMaterial",
   "x-agentSafe": true,
   "x-label-lv": "Drukas materiāls",
   "default": "petg"
  },
  "resolution": {
   "type": "integer",
   "minimum": 24,
   "maximum": 72,
   "multipleOf": 8,
   "title": "Resolution",
   "description": "Segments around curved walls.",
   "x-group": "print",
   "x-unit": "count",
   "x-role": "core.resolution",
   "x-advanced": true,
   "x-agentSafe": true,
   "x-label-lv": "Izšķirtspēja",
   "default": 48
  },
  "color": {
   "type": "string",
   "pattern": "^#[0-9a-fA-F]{6}$",
   "title": "Preview colour",
   "description": "Only changes the 3D preview.",
   "x-group": "print",
   "x-role": "core.previewColor",
   "x-agentSafe": true,
   "x-label-lv": "Priekšskata krāsa",
   "default": "#f4efe6"
  }
 },
 "additionalProperties": false,
 "recommended_materials": [
  {
   "id": "butter-muslin-cheesecloth",
   "title": "Unbleached Cotton Cheesecloth / Butter Muslin (Grade 90, 2 pack)",
   "why": "Essential liner between curds and 3D-printed cheese moulds for hygiene and easy release.",
   "url": "https://paramlet.com/go/butter-muslin-cheesecloth?src=agent",
   "disclosure": "Affiliate link (Amazon Associates, tag paramlet-21)"
  }
 ]
}