{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://paramlet.com/tools/tablet-stand/schema.json",
 "title": "Tablet stand & wall dock — parameters",
 "description": "Generate a tip-proof 3D-printable desk stand or kitchen wall dock sized to iPad 11-inch (A16), Galaxy Tab A11+, or your own tablet with case allowance. 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": "tablet-stand",
 "x-toolVersion": "1.4.0",
 "x-specVersion": "1.0",
 "x-apiVersion": "1",
 "x-groups": [
  {
   "id": "tablet",
   "title": "Tablet & case"
  },
  {
   "id": "stand",
   "title": "Stand geometry & cable"
  },
  {
   "id": "look",
   "title": "Texture & colour"
  },
  {
   "id": "view",
   "title": "View"
  }
 ],
 "x-presets": {
  "note": "Choosing a preset resets every key marked x-resetOnPreset to its default and then applies the preset values.",
  "items": [
   {
    "id": "measure-your-own",
    "title": "Measure your own tablet",
    "description": "Generic tablet stand: enter your tablet width, height, thickness, and case allowance.",
    "values": {
     "tabletWidth": 245,
     "tabletHeight": 165,
     "tabletThickness": 7.5,
     "tabletMassG": 470,
     "caseAllowance": 2,
     "mountMode": "desk",
     "orientation": "landscape",
     "viewAngle": 65,
     "standWidth": 130,
     "baseDepth": 115,
     "color": "#23252b"
    }
   },
   {
    "id": "fits-ipad-11-a16",
    "title": "Fits Apple iPad 11-inch (A16)",
    "description": "Official Apple specs: 248.6×179.5×7.0 mm, 477 g. Includes 2 mm case allowance and stability-checked base. Not affiliated with or endorsed by Apple.",
    "values": {
     "tabletWidth": 248.6,
     "tabletHeight": 179.5,
     "tabletThickness": 7,
     "tabletMassG": 477,
     "caseAllowance": 2,
     "mountMode": "desk",
     "orientation": "landscape",
     "viewAngle": 65,
     "standWidth": 136,
     "baseDepth": 120,
     "color": "#c5cbd3"
    }
   },
   {
    "id": "fits-galaxy-tab-a11-plus",
    "title": "Fits Samsung Galaxy Tab A11+",
    "description": "Official Samsung specs: 257.1×168.7×6.9 mm, 477 g. Includes 2 mm case allowance and USB-C cable slot. Not affiliated with or endorsed by Samsung.",
    "values": {
     "tabletWidth": 257.1,
     "tabletHeight": 168.7,
     "tabletThickness": 6.9,
     "tabletMassG": 477,
     "caseAllowance": 2,
     "mountMode": "desk",
     "orientation": "landscape",
     "viewAngle": 65,
     "standWidth": 140,
     "baseDepth": 120,
     "color": "#3d5a80"
    }
   },
   {
    "id": "fits-lenovo-tab-10-1",
    "title": "Fits Lenovo Tab 10.1\"",
    "description": "Listing dimensions 236×155×8.0 mm — measure to confirm before printing. Not affiliated with or endorsed by Lenovo.",
    "values": {
     "tabletWidth": 236,
     "tabletHeight": 155,
     "tabletThickness": 8,
     "tabletMassG": 460,
     "caseAllowance": 2,
     "mountMode": "desk",
     "orientation": "landscape",
     "viewAngle": 65,
     "standWidth": 126,
     "baseDepth": 112,
     "color": "#e2725b"
    }
   }
  ]
 },
 "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"
  },
  "massUnits": {
   "type": "string",
   "title": "Weight shown in",
   "description": "Display only: grams or ounces (1 oz = 28.3495 g). Stored values, the API and exports are always grams.",
   "x-group": "view",
   "x-role": "core.displayMassUnits",
   "x-unit": "none",
   "x-agentSafe": true,
   "enum": [
    "g",
    "oz"
   ],
   "x-enumTitles": {
    "g": "Grams",
    "oz": "Ounces"
   },
   "default": "g"
  }
 },
 "type": "object",
 "properties": {
  "tabletWidth": {
   "type": "number",
   "minimum": 120,
   "maximum": 320,
   "x-step": 0.1,
   "title": "Tablet long edge",
   "description": "Long edge of the tablet, without the case.",
   "x-group": "tablet",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Planšetes garākā mala",
   "default": 248.6
  },
  "tabletHeight": {
   "type": "number",
   "minimum": 90,
   "maximum": 250,
   "x-step": 0.1,
   "title": "Tablet short edge",
   "description": "Short edge of the tablet, without the case.",
   "x-group": "tablet",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Planšetes īsākā mala",
   "default": 179.5
  },
  "tabletThickness": {
   "type": "number",
   "minimum": 4.5,
   "maximum": 16,
   "x-step": 0.1,
   "title": "Tablet thickness",
   "description": "Thickness of the bare tablet. The slot is made this deep plus the case allowance and 0.8 mm.",
   "x-group": "tablet",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Planšetes biezums",
   "default": 7
  },
  "tabletMassG": {
   "type": "number",
   "minimum": 200,
   "maximum": 1000,
   "multipleOf": 1,
   "title": "Tablet mass (for tip-over check)",
   "description": "Goes into the tip-over warning on a desk stand. The check itself works from the height of the tablet and the angle.",
   "x-group": "tablet",
   "x-unit": "g",
   "x-visibleIf": {
    "mountMode": "desk"
   },
   "x-agentSafe": true,
   "x-label-lv": "Planšetes masa (stabilitātei)",
   "default": 477
  },
  "caseAllowance": {
   "type": "number",
   "minimum": 0,
   "maximum": 8,
   "x-step": 0.5,
   "title": "Case thickness allowance",
   "description": "How much the case adds to the thickness. Measure the tablet in its case and subtract the thickness of the bare tablet.",
   "x-group": "tablet",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Vāciņa biezuma rezerve",
   "default": 2
  },
  "mountMode": {
   "type": "string",
   "enum": [
    "desk",
    "wall"
   ],
   "x-enumTitles": {
    "desk": "Desk stand",
    "wall": "Kitchen wall dock"
   },
   "title": "Mode",
   "description": "Desk stand: a footed stand with an angled backrest. Wall dock: a channel on the wall that the tablet slides into from above.",
   "x-group": "stand",
   "x-agentSafe": true,
   "x-label-lv": "Režīms",
   "default": "desk"
  },
  "orientation": {
   "type": "string",
   "enum": [
    "landscape",
    "portrait"
   ],
   "x-enumTitles": {
    "landscape": "Landscape",
    "portrait": "Portrait"
   },
   "title": "Orientation",
   "description": "Which edge of the tablet rests on the stand. Portrait makes the stand taller and asks for a deeper foot.",
   "x-group": "stand",
   "x-visibleIf": {
    "mountMode": "desk"
   },
   "x-agentSafe": true,
   "x-label-lv": "Orientācija",
   "default": "landscape"
  },
  "viewAngle": {
   "type": "number",
   "minimum": 45,
   "maximum": 78,
   "multipleOf": 1,
   "title": "Viewing angle",
   "description": "Angle of the tablet from the desk. 65° leans back 25° from upright; 45° is for reading, 78° is almost upright.",
   "x-group": "stand",
   "x-unit": "deg",
   "x-visibleIf": {
    "mountMode": "desk"
   },
   "x-agentSafe": true,
   "x-label-lv": "Skata leņķis",
   "default": 65
  },
  "standWidth": {
   "type": "number",
   "minimum": 90,
   "maximum": 200,
   "multipleOf": 2,
   "title": "Stand width",
   "description": "Width of the stand across the tablet. On a wall dock it is at most 160 mm.",
   "x-group": "stand",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Statīva platums",
   "default": 130
  },
  "baseDepth": {
   "type": "number",
   "minimum": 70,
   "maximum": 180,
   "multipleOf": 1,
   "title": "Base depth",
   "description": "Depth of the foot from front to back. If it is too short for the height of the tablet at this angle, it is made longer and the page says so.",
   "x-group": "stand",
   "x-unit": "mm",
   "x-visibleIf": {
    "mountMode": "desk"
   },
   "x-agentSafe": true,
   "x-label-lv": "Pamatnes dziļums",
   "default": 115
  },
  "lipHeight": {
   "type": "number",
   "minimum": 6,
   "maximum": 14,
   "x-step": 0.5,
   "title": "Front lip height (<=3 mm screen overlap)",
   "description": "How far the front lip stands up in front of the tablet. With a thin bezel keep it low; above 12 mm the page warns you.",
   "x-group": "stand",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Priekšējās maliņas augstums",
   "default": 9.5
  },
  "cableSlotWidth": {
   "type": "number",
   "minimum": 10,
   "maximum": 40,
   "multipleOf": 1,
   "title": "Charging cable channel width",
   "description": "Width of the channel through the foot and the lip, for a charging cable and its plug. 22 mm takes a USB-C plug with room around it.",
   "x-group": "stand",
   "x-unit": "mm",
   "x-agentSafe": true,
   "x-label-lv": "Uzlādes kabeļa kanāla platums",
   "default": 22
  },
  "material": {
   "type": "string",
   "enum": [
    "petg",
    "pla"
   ],
   "x-enumTitles": {
    "petg": "PETG (recommended for kitchen)",
    "pla": "PLA (indoor desk)"
   },
   "title": "Filament material",
   "description": "PLA on a desk. PETG on a kitchen wall or in the sun: PLA softens at about 55 °C.",
   "x-group": "stand",
   "x-role": "core.printMaterial",
   "x-agentSafe": true,
   "x-label-lv": "Filamenta materiāls",
   "default": "petg"
  },
  "wallCount": {
   "type": "integer",
   "minimum": 2,
   "maximum": 6,
   "multipleOf": 1,
   "title": "Perimeter walls",
   "description": "Perimeter lines. Four or more make the lip and the ribs solid: they take the push of the tablet.",
   "x-group": "stand",
   "x-unit": "count",
   "x-role": "print.wallCount",
   "x-agentSafe": true,
   "x-label-lv": "Sienu skaits",
   "default": 3
  },
  "infill": {
   "type": "integer",
   "minimum": 5,
   "maximum": 100,
   "multipleOf": 5,
   "title": "Infill",
   "description": "20 % is enough. The foot has a cut-out in the middle to save filament.",
   "x-group": "stand",
   "x-unit": "pct",
   "x-role": "print.infill",
   "x-agentSafe": true,
   "x-label-lv": "Aizpildījums",
   "default": 20
  },
  "backTexture": {
   "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": "Backplate texture",
   "description": "Carved decorative relief on the backrest (desk stand) or inner backplate (wall dock), keeping struts and screw holes smooth.",
   "x-group": "look",
   "x-agentSafe": true,
   "x-label-lv": "Muguras plāksnes tekstūra",
   "default": "none"
  },
  "textureDepth": {
   "type": "number",
   "minimum": 0.3,
   "maximum": 0.7,
   "x-step": 0.05,
   "title": "Texture depth",
   "description": "Carved depth into the backplate (0.3–0.7 mm).",
   "x-group": "look",
   "x-unit": "mm",
   "x-visibleIf": {
    "backTexture": {
     "ne": "none"
    }
   },
   "x-advanced": true,
   "x-agentSafe": true,
   "x-label-lv": "Tekstūras dziļums",
   "default": 0.5
  },
  "textureScale": {
   "type": "number",
   "minimum": 6,
   "maximum": 20,
   "multipleOf": 1,
   "title": "Texture scale",
   "description": "Pattern repeat pitch in millimetres.",
   "x-group": "look",
   "x-unit": "mm",
   "x-visibleIf": {
    "backTexture": {
     "ne": "none"
    }
   },
   "x-advanced": true,
   "x-agentSafe": true,
   "x-label-lv": "Tekstūras mērogs",
   "default": 10
  },
  "color": {
   "type": "string",
   "pattern": "^#[0-9a-fA-F]{6}$",
   "title": "Colour",
   "description": "Colour of the stand. On a kitchen wall, take the colour of the tiles or the cupboard.",
   "x-group": "look",
   "x-role": "core.previewColor",
   "x-agentSafe": true,
   "x-label-lv": "Krāsa",
   "default": "#23252b"
  },
  "showStability": {
   "type": "integer",
   "enum": [
    0,
    1
   ],
   "title": "Stability",
   "description": "Shows the tablet centre of gravity (CG), gravity plumb-line and rear tip-over margin in the 3D preview. Preview only.",
   "x-group": "view",
   "x-agentSafe": false,
   "x-label-lv": "Stabilitāte",
   "default": 1
  }
 },
 "additionalProperties": false,
 "recommended_materials": [
  {
   "id": "ipad-a16-11",
   "title": "Apple iPad 11-inch (A16, 128 GB)",
   "why": "Exact match for the Fits iPad 11-inch (A16) preset (248.6×179.5×7.0 mm, 477 g, Apple specs).",
   "url": "https://paramlet.com/go/ipad-a16-11?src=agent",
   "relation": "material",
   "disclosure": "Affiliate link (Amazon Associates, tag paramlet-21)"
  },
  {
   "id": "galaxy-tab-a11plus",
   "title": "Samsung Galaxy Tab A11+ (11\", 128 GB)",
   "why": "Exact match for the Fits Galaxy Tab A11+ preset (257.1×168.7×6.9 mm, 477 g, Samsung specs).",
   "url": "https://paramlet.com/go/galaxy-tab-a11plus?src=agent",
   "relation": "material",
   "disclosure": "Affiliate link (Amazon Associates, tag paramlet-21)"
  },
  {
   "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)"
  }
 ]
}