{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://paramlet.com/tools/soft-plastic-lure/schema.json",
 "title": "Soft plastic lure mold generator — parameters",
 "description": "Design a printable two-part mold for soft plastic lures: paddle tail shad, stick, twister, craw and grub / worm. Change any size, then download 3MF or STL ready to print in PETG or ASA and pour with plastisol. 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": "soft-plastic-lure",
 "x-toolVersion": "1.1.0",
 "x-apiVersion": "1",
 "x-presets": {
  "key": "lureFamily",
  "note": "Setting lureFamily in the UI resets every shape key to its default and then applies these values; mold, download and view settings are kept. Through the API, send the preset values together with lureFamily.",
  "families": {
   "paddle_shad": {
    "title": "Paddle tail (shad)",
    "values": {
     "L": 100,
     "Dh": 14,
     "Db": 18,
     "Dt": 8,
     "Dtip": 2,
     "flat": 1.25,
     "belly": 0.15,
     "headType": "fish",
     "headCap": 6,
     "neck": 12,
     "neckEnd": 38,
     "neckPinch": 1,
     "bodyEnd": 48,
     "tailStart": 82,
     "tipStart": 96,
     "eyeD": 3,
     "eyePos": 8,
     "eyeAngle": 15,
     "eyeDepth": 0.6,
     "tailType": "paddle",
     "paddleW": 22,
     "paddleH": 18,
     "paddleAngle": 80,
     "tailT": 1.2,
     "ribs": 0
    }
   },
   "stick": {
    "title": "Stick",
    "values": {
     "L": 125,
     "Dh": 12,
     "Db": 12,
     "Dt": 11.5,
     "Dtip": 10,
     "flat": 1,
     "headType": "bullet",
     "headCap": 6,
     "neck": 4,
     "neckEnd": 10,
     "neckPinch": 1,
     "bodyEnd": 60,
     "tailStart": 90,
     "tipStart": 97,
     "tailType": "pin",
     "tailT": 1.2,
     "ribs": 0
    }
   },
   "twister": {
    "title": "Twister (curly tail)",
    "values": {
     "L": 70,
     "Dh": 8,
     "Db": 12,
     "Dt": 5,
     "Dtip": 2,
     "flat": 1,
     "headType": "bullet",
     "headCap": 4,
     "neck": 5,
     "neckEnd": 25,
     "neckPinch": 0.94,
     "bodyEnd": 55,
     "tailStart": 85,
     "tipStart": 96,
     "tailType": "twister",
     "twLen": 35,
     "twW": 8,
     "twCurl": 220,
     "tailT": 1,
     "ribs": 40,
     "ribDepth": 0.28,
     "ribStart": 10,
     "ribEnd": 75
    }
   },
   "craw": {
    "title": "Craw",
    "values": {
     "L": 90,
     "Dh": 10,
     "Db": 16,
     "Dt": 8,
     "Dtip": 4,
     "flat": 0.9,
     "headType": "fish",
     "headCap": 5,
     "neck": 8,
     "neckEnd": 22,
     "neckPinch": 0.95,
     "bodyEnd": 60,
     "tailStart": 85,
     "tipStart": 96,
     "tailType": "pin",
     "tailT": 1.2,
     "ribs": 8,
     "ribDepth": 0.4,
     "ribStart": 8,
     "ribEnd": 50,
     "ribSharp": 2,
     "legsN": 3,
     "legLen": 14,
     "legD": 1.4,
     "legAngle": 45,
     "legStart": 20,
     "legEnd": 70,
     "claws": 1,
     "clawLen": 22,
     "clawW": 8,
     "clawSpread": 35,
     "clawPos": 88
    }
   },
   "grub_worm": {
    "title": "Grub / worm",
    "values": {
     "L": 75,
     "Dh": 8,
     "Db": 14,
     "Dt": 5,
     "Dtip": 1.5,
     "flat": 1,
     "headType": "bullet",
     "headCap": 4,
     "neck": 5,
     "neckEnd": 30,
     "neckPinch": 0.95,
     "bodyEnd": 55,
     "tailStart": 85,
     "tipStart": 96,
     "tailType": "twister",
     "twLen": 20,
     "twW": 7,
     "twCurl": 180,
     "tailT": 1,
     "ribs": 50,
     "ribDepth": 0.3,
     "ribStart": 8,
     "ribEnd": 85
    }
   }
  }
 },
 "type": "object",
 "properties": {
  "lureFamily": {
   "type": "string",
   "title": "Lure type",
   "description": "Lure type",
   "x-group": "Lure type",
   "enum": [
    "paddle_shad",
    "stick",
    "twister",
    "craw",
    "grub_worm"
   ],
   "x-enumTitles": {
    "paddle_shad": "Paddle tail (shad)",
    "stick": "Stick",
    "twister": "Twister (curly tail)",
    "craw": "Craw",
    "grub_worm": "Grub / worm"
   },
   "default": "paddle_shad"
  },
  "L": {
   "type": "integer",
   "title": "Body length",
   "description": "Body length (mm)",
   "x-group": "Dimensions",
   "minimum": 30,
   "maximum": 200,
   "multipleOf": 1,
   "x-unit": "mm",
   "default": 100
  },
  "Dh": {
   "type": "number",
   "title": "Head diameter",
   "description": "Head diameter (mm)",
   "x-group": "Dimensions",
   "minimum": 2,
   "maximum": 25,
   "x-step": 0.1,
   "x-unit": "mm",
   "default": 14
  },
  "Db": {
   "type": "number",
   "title": "Body diameter",
   "description": "Body diameter (mm)",
   "x-group": "Dimensions",
   "minimum": 2,
   "maximum": 30,
   "x-step": 0.1,
   "x-unit": "mm",
   "default": 18
  },
  "Dt": {
   "type": "number",
   "title": "Tail diameter",
   "description": "Tail diameter (mm)",
   "x-group": "Dimensions",
   "minimum": 0.5,
   "maximum": 16,
   "x-step": 0.1,
   "x-unit": "mm",
   "default": 8
  },
  "Dtip": {
   "type": "number",
   "title": "Tail tip diameter",
   "description": "Tail tip diameter (mm)",
   "x-group": "Dimensions",
   "minimum": 0.3,
   "maximum": 18,
   "x-step": 0.1,
   "x-unit": "mm",
   "default": 2
  },
  "flat": {
   "type": "number",
   "title": "Height / width",
   "description": "Height / width (×)",
   "x-group": "Dimensions",
   "minimum": 0.4,
   "maximum": 1.6,
   "x-step": 0.01,
   "x-unit": "×",
   "default": 1.25
  },
  "section": {
   "type": "string",
   "title": "Shape",
   "description": "Shape",
   "x-group": "Cross-section",
   "enum": [
    "round",
    "rect",
    "tri",
    "rhomb"
   ],
   "x-enumTitles": {
    "round": "Round / oval",
    "rect": "Rectangle",
    "tri": "Triangle",
    "rhomb": "Diamond"
   },
   "default": "round"
  },
  "cornerR": {
   "type": "number",
   "title": "Rectangle corner radius",
   "description": "Rectangle corner radius (mm)",
   "x-group": "Cross-section",
   "minimum": 0,
   "maximum": 5,
   "x-step": 0.05,
   "x-unit": "mm",
   "default": 1
  },
  "secRound": {
   "type": "number",
   "title": "Triangle / diamond rounding",
   "description": "Triangle / diamond rounding",
   "x-group": "Cross-section",
   "minimum": 0,
   "maximum": 1,
   "x-step": 0.01,
   "default": 0.35
  },
  "belly": {
   "type": "number",
   "title": "Flat belly",
   "description": "Flat belly",
   "x-group": "Cross-section",
   "minimum": 0,
   "maximum": 0.6,
   "x-step": 0.01,
   "default": 0.15
  },
  "keelH": {
   "type": "number",
   "title": "Keel height",
   "description": "Keel height (mm)",
   "x-group": "Cross-section",
   "minimum": 0,
   "maximum": 3,
   "x-step": 0.05,
   "x-unit": "mm",
   "default": 0
  },
  "keelW": {
   "type": "integer",
   "title": "Keel width",
   "description": "Keel width (°)",
   "x-group": "Cross-section",
   "minimum": 8,
   "maximum": 60,
   "multipleOf": 1,
   "x-unit": "°",
   "default": 25
  },
  "keelStart": {
   "type": "integer",
   "title": "Keel start",
   "description": "Keel start (%)",
   "x-group": "Cross-section",
   "minimum": 0,
   "maximum": 90,
   "multipleOf": 1,
   "x-unit": "%",
   "default": 15
  },
  "keelEnd": {
   "type": "integer",
   "title": "Keel end",
   "description": "Keel end (%)",
   "x-group": "Cross-section",
   "minimum": 10,
   "maximum": 100,
   "multipleOf": 1,
   "x-unit": "%",
   "default": 70
  },
  "headType": {
   "type": "string",
   "title": "Head type",
   "description": "Head type",
   "x-group": "Shape and head",
   "enum": [
    "bullet",
    "cone",
    "flat",
    "fish"
   ],
   "x-enumTitles": {
    "bullet": "Bullet",
    "cone": "Cone",
    "flat": "Flat (jig)",
    "fish": "Fish head"
   },
   "default": "fish"
  },
  "headCap": {
   "type": "number",
   "title": "Head rounding",
   "description": "Head rounding (%)",
   "x-group": "Shape and head",
   "minimum": 0.5,
   "maximum": 12,
   "x-step": 0.1,
   "x-unit": "%",
   "default": 6
  },
  "neck": {
   "type": "number",
   "title": "Neck position (end of head)",
   "description": "Neck position (end of head) (%)",
   "x-group": "Shape and head",
   "minimum": 2,
   "maximum": 20,
   "x-step": 0.1,
   "x-unit": "%",
   "default": 12
  },
  "neckPinch": {
   "type": "number",
   "title": "Neck pinch",
   "description": "Neck pinch (×)",
   "x-group": "Shape and head",
   "minimum": 0.6,
   "maximum": 1.15,
   "x-step": 0.01,
   "x-unit": "×",
   "default": 1
  },
  "neckEnd": {
   "type": "number",
   "title": "Neck end (full diameter)",
   "description": "Neck end (full diameter) (%)",
   "x-group": "Shape and head",
   "minimum": 5,
   "maximum": 60,
   "x-step": 0.5,
   "x-unit": "%",
   "default": 38
  },
  "bodyEnd": {
   "type": "integer",
   "title": "Taper start",
   "description": "Taper start (%)",
   "x-group": "Shape and head",
   "minimum": 20,
   "maximum": 80,
   "multipleOf": 1,
   "x-unit": "%",
   "default": 48
  },
  "tailStart": {
   "type": "integer",
   "title": "Tail start",
   "description": "Tail start (%)",
   "x-group": "Shape and head",
   "minimum": 40,
   "maximum": 95,
   "multipleOf": 1,
   "x-unit": "%",
   "default": 82
  },
  "tipStart": {
   "type": "number",
   "title": "Tail tip start",
   "description": "Tail tip start (%)",
   "x-group": "Shape and head",
   "minimum": 60,
   "maximum": 99,
   "x-step": 0.5,
   "x-unit": "%",
   "default": 96
  },
  "bend": {
   "type": "number",
   "title": "S-curve",
   "description": "S-curve (mm)",
   "x-group": "Shape and head",
   "minimum": 0,
   "maximum": 15,
   "x-step": 0.5,
   "x-unit": "mm",
   "default": 0
  },
  "gill": {
   "type": "number",
   "title": "Gill notch",
   "description": "Gill notch (mm)",
   "x-group": "Shape and head",
   "minimum": 0,
   "maximum": 1.5,
   "x-step": 0.05,
   "x-unit": "mm",
   "default": 0
  },
  "eyeD": {
   "type": "number",
   "title": "Eye diameter (0 = none)",
   "description": "Eye diameter (0 = none) (mm)",
   "x-group": "Shape and head",
   "minimum": 0,
   "maximum": 8,
   "x-step": 0.1,
   "x-unit": "mm",
   "default": 3
  },
  "eyePos": {
   "type": "number",
   "title": "Eye position",
   "description": "Eye position (%)",
   "x-group": "Shape and head",
   "minimum": 1,
   "maximum": 20,
   "x-step": 0.1,
   "x-unit": "%",
   "default": 8
  },
  "eyeAngle": {
   "type": "integer",
   "title": "Eye height (angle)",
   "description": "Eye height (angle) (°)",
   "x-group": "Shape and head",
   "minimum": -30,
   "maximum": 70,
   "multipleOf": 1,
   "x-unit": "°",
   "default": 15
  },
  "eyeDepth": {
   "type": "number",
   "title": "Socket depth",
   "description": "Socket depth (mm)",
   "x-group": "Shape and head",
   "minimum": 0.1,
   "maximum": 3,
   "x-step": 0.05,
   "x-unit": "mm",
   "default": 0.6
  },
  "concave": {
   "type": "number",
   "title": "Concave sides (depth)",
   "description": "Concave sides (depth) (mm)",
   "x-group": "Indentations",
   "minimum": 0,
   "maximum": 2,
   "x-step": 0.05,
   "x-unit": "mm",
   "default": 0
  },
  "concaveW": {
   "type": "integer",
   "title": "Concave width",
   "description": "Concave width (°)",
   "x-group": "Indentations",
   "minimum": 20,
   "maximum": 80,
   "multipleOf": 1,
   "x-unit": "°",
   "default": 55
  },
  "grooveN": {
   "type": "integer",
   "title": "Number of grooves (0 = none)",
   "description": "Number of grooves (0 = none)",
   "x-group": "Indentations",
   "minimum": 0,
   "maximum": 8,
   "multipleOf": 1,
   "default": 0
  },
  "grooveW": {
   "type": "integer",
   "title": "Groove width",
   "description": "Groove width (°)",
   "x-group": "Indentations",
   "minimum": 3,
   "maximum": 40,
   "multipleOf": 1,
   "x-unit": "°",
   "default": 10
  },
  "grooveDepth": {
   "type": "number",
   "title": "Groove depth",
   "description": "Groove depth (mm)",
   "x-group": "Indentations",
   "minimum": 0.05,
   "maximum": 1.5,
   "x-step": 0.05,
   "x-unit": "mm",
   "default": 0.3
  },
  "grooveStart": {
   "type": "integer",
   "title": "From",
   "description": "From (%)",
   "x-group": "Indentations",
   "minimum": 0,
   "maximum": 90,
   "multipleOf": 1,
   "x-unit": "%",
   "default": 8
  },
  "grooveEnd": {
   "type": "integer",
   "title": "To",
   "description": "To (%)",
   "x-group": "Indentations",
   "minimum": 10,
   "maximum": 100,
   "multipleOf": 1,
   "x-unit": "%",
   "default": 80
  },
  "dimN": {
   "type": "integer",
   "title": "Rows along the length (0 = none)",
   "description": "Rows along the length (0 = none)",
   "x-group": "Indentations",
   "minimum": 0,
   "maximum": 40,
   "multipleOf": 1,
   "default": 0
  },
  "dimAround": {
   "type": "integer",
   "title": "Dimples around",
   "description": "Dimples around",
   "x-group": "Indentations",
   "minimum": 1,
   "maximum": 12,
   "multipleOf": 1,
   "default": 6
  },
  "dimD": {
   "type": "number",
   "title": "Dimple diameter",
   "description": "Dimple diameter (mm)",
   "x-group": "Indentations",
   "minimum": 0.5,
   "maximum": 5,
   "x-step": 0.1,
   "x-unit": "mm",
   "default": 1.6
  },
  "dimDepth": {
   "type": "number",
   "title": "Socket depth",
   "description": "Socket depth (mm)",
   "x-group": "Indentations",
   "minimum": 0.05,
   "maximum": 1.5,
   "x-step": 0.05,
   "x-unit": "mm",
   "default": 0.3
  },
  "dimStart": {
   "type": "integer",
   "title": "From",
   "description": "From (%)",
   "x-group": "Indentations",
   "minimum": 0,
   "maximum": 90,
   "multipleOf": 1,
   "x-unit": "%",
   "default": 10
  },
  "dimEnd": {
   "type": "integer",
   "title": "To",
   "description": "To (%)",
   "x-group": "Indentations",
   "minimum": 10,
   "maximum": 100,
   "multipleOf": 1,
   "x-unit": "%",
   "default": 60
  },
  "ribs": {
   "type": "integer",
   "title": "Number of ribs",
   "description": "Number of ribs",
   "x-group": "Ribs",
   "minimum": 0,
   "maximum": 150,
   "multipleOf": 1,
   "default": 0
  },
  "ribDepth": {
   "type": "number",
   "title": "Depth",
   "description": "Depth (mm)",
   "x-group": "Ribs",
   "minimum": 0,
   "maximum": 1.5,
   "x-step": 0.01,
   "x-unit": "mm",
   "default": 0.3
  },
  "ribProfile": {
   "type": "string",
   "title": "Profile",
   "description": "Profile",
   "x-group": "Ribs",
   "enum": [
    "round",
    "sharp",
    "saw"
   ],
   "x-enumTitles": {
    "round": "Rounded",
    "sharp": "Sharp",
    "saw": "Sawtooth"
   },
   "default": "round"
  },
  "ribSharp": {
   "type": "number",
   "title": "Sharpness",
   "description": "Sharpness",
   "x-group": "Ribs",
   "minimum": 1,
   "maximum": 8,
   "x-step": 0.5,
   "default": 3
  },
  "ribCover": {
   "type": "string",
   "title": "Where",
   "description": "Where",
   "x-group": "Ribs",
   "enum": [
    "full",
    "belly",
    "sides",
    "back"
   ],
   "x-enumTitles": {
    "full": "All around",
    "belly": "Belly only",
    "sides": "Sides only",
    "back": "Back only"
   },
   "default": "full"
  },
  "spiral": {
   "type": "integer",
   "title": "Spiral (turns)",
   "description": "Spiral (turns)",
   "x-group": "Ribs",
   "minimum": 0,
   "maximum": 4,
   "multipleOf": 1,
   "default": 0
  },
  "pitchVar": {
   "type": "number",
   "title": "Pitch change (− denser at head / + at tail)",
   "description": "Pitch change (− denser at head / + at tail)",
   "x-group": "Ribs",
   "minimum": -0.8,
   "maximum": 0.8,
   "x-step": 0.05,
   "default": 0
  },
  "ribStart": {
   "type": "number",
   "title": "Start",
   "description": "Start (%)",
   "x-group": "Ribs",
   "minimum": 0,
   "maximum": 50,
   "x-step": 0.5,
   "x-unit": "%",
   "default": 7
  },
  "ribEnd": {
   "type": "number",
   "title": "End",
   "description": "End (%)",
   "x-group": "Ribs",
   "minimum": 50,
   "maximum": 100,
   "x-step": 0.5,
   "x-unit": "%",
   "default": 93
  },
  "headRings": {
   "type": "integer",
   "title": "Rings on the head",
   "description": "Rings on the head",
   "x-group": "Ribs",
   "minimum": 0,
   "maximum": 4,
   "multipleOf": 1,
   "default": 2
  },
  "tailType": {
   "type": "string",
   "title": "Tail type",
   "description": "Tail type",
   "x-group": "Tail",
   "enum": [
    "pin",
    "paddle",
    "twister",
    "vtail",
    "spoke"
   ],
   "x-enumTitles": {
    "pin": "Pin tail",
    "paddle": "Paddle tail",
    "twister": "Twister",
    "vtail": "Split (V-tail)",
    "spoke": "Multiple pins"
   },
   "default": "paddle"
  },
  "tailT": {
   "type": "number",
   "title": "Tail thickness",
   "description": "Tail thickness (mm)",
   "x-group": "Tail",
   "minimum": 0.3,
   "maximum": 3,
   "x-step": 0.05,
   "x-unit": "mm",
   "default": 1.2
  },
  "paddleW": {
   "type": "number",
   "title": "Width",
   "description": "Width (mm)",
   "x-group": "Tail",
   "minimum": 2,
   "maximum": 40,
   "x-step": 0.5,
   "x-unit": "mm",
   "default": 22
  },
  "paddleH": {
   "type": "number",
   "title": "Height",
   "description": "Height (mm)",
   "x-group": "Tail",
   "minimum": 2,
   "maximum": 40,
   "x-step": 0.5,
   "x-unit": "mm",
   "default": 18
  },
  "paddleAngle": {
   "type": "integer",
   "title": "Angle to body",
   "description": "Angle to body (°)",
   "x-group": "Tail",
   "minimum": 30,
   "maximum": 90,
   "multipleOf": 1,
   "x-unit": "°",
   "default": 80
  },
  "twLen": {
   "type": "integer",
   "title": "Length",
   "description": "Length (mm)",
   "x-group": "Tail",
   "minimum": 8,
   "maximum": 80,
   "multipleOf": 1,
   "x-unit": "mm",
   "default": 30
  },
  "twW": {
   "type": "number",
   "title": "Width",
   "description": "Width (mm)",
   "x-group": "Tail",
   "minimum": 2,
   "maximum": 20,
   "x-step": 0.5,
   "x-unit": "mm",
   "default": 7
  },
  "twCurl": {
   "type": "integer",
   "title": "Curl",
   "description": "Curl (°)",
   "x-group": "Tail",
   "minimum": 30,
   "maximum": 320,
   "multipleOf": 5,
   "x-unit": "°",
   "default": 200
  },
  "vLen": {
   "type": "number",
   "title": "Branch length",
   "description": "Branch length (mm)",
   "x-group": "Tail",
   "minimum": 3,
   "maximum": 40,
   "x-step": 0.5,
   "x-unit": "mm",
   "default": 12
  },
  "vSpread": {
   "type": "integer",
   "title": "Spread",
   "description": "Spread (°)",
   "x-group": "Tail",
   "minimum": 5,
   "maximum": 60,
   "multipleOf": 1,
   "x-unit": "°",
   "default": 25
  },
  "vW": {
   "type": "number",
   "title": "Branch width",
   "description": "Branch width (mm)",
   "x-group": "Tail",
   "minimum": 0.5,
   "maximum": 8,
   "x-step": 0.1,
   "x-unit": "mm",
   "default": 2.5
  },
  "spokeN": {
   "type": "integer",
   "title": "Count",
   "description": "Count",
   "x-group": "Tail",
   "minimum": 2,
   "maximum": 4,
   "multipleOf": 1,
   "default": 3
  },
  "spokeLen": {
   "type": "number",
   "title": "Length",
   "description": "Length (mm)",
   "x-group": "Tail",
   "minimum": 3,
   "maximum": 30,
   "x-step": 0.5,
   "x-unit": "mm",
   "default": 10
  },
  "spokeD": {
   "type": "number",
   "title": "Tip diameter",
   "description": "Tip diameter (mm)",
   "x-group": "Tail",
   "minimum": 0.2,
   "maximum": 2,
   "x-step": 0.05,
   "x-unit": "mm",
   "default": 0.6
  },
  "spokeSpread": {
   "type": "integer",
   "title": "Spread",
   "description": "Spread (°)",
   "x-group": "Tail",
   "minimum": 5,
   "maximum": 60,
   "multipleOf": 1,
   "x-unit": "°",
   "default": 25
  },
  "legsN": {
   "type": "integer",
   "title": "Leg pairs (0 = none)",
   "description": "Leg pairs (0 = none)",
   "x-group": "Legs and claws",
   "minimum": 0,
   "maximum": 8,
   "multipleOf": 1,
   "default": 0
  },
  "legLen": {
   "type": "number",
   "title": "Leg length",
   "description": "Leg length (mm)",
   "x-group": "Legs and claws",
   "minimum": 2,
   "maximum": 30,
   "x-step": 0.5,
   "x-unit": "mm",
   "default": 8
  },
  "legD": {
   "type": "number",
   "title": "Leg diameter",
   "description": "Leg diameter (mm)",
   "x-group": "Legs and claws",
   "minimum": 0.4,
   "maximum": 4,
   "x-step": 0.05,
   "x-unit": "mm",
   "default": 1
  },
  "legStart": {
   "type": "integer",
   "title": "From",
   "description": "From (%)",
   "x-group": "Legs and claws",
   "minimum": 3,
   "maximum": 90,
   "multipleOf": 1,
   "x-unit": "%",
   "default": 15
  },
  "legEnd": {
   "type": "integer",
   "title": "To",
   "description": "To (%)",
   "x-group": "Legs and claws",
   "minimum": 5,
   "maximum": 95,
   "multipleOf": 1,
   "x-unit": "%",
   "default": 45
  },
  "legAngle": {
   "type": "integer",
   "title": "Rake backwards",
   "description": "Rake backwards (°)",
   "x-group": "Legs and claws",
   "minimum": 0,
   "maximum": 80,
   "multipleOf": 1,
   "x-unit": "°",
   "default": 45
  },
  "claws": {
   "type": "integer",
   "title": "Add claws",
   "description": "Add claws (0 = off, 1 = on)",
   "x-group": "Legs and claws",
   "enum": [
    0,
    1
   ],
   "default": 0
  },
  "clawPos": {
   "type": "integer",
   "title": "Position",
   "description": "Position (%)",
   "x-group": "Legs and claws",
   "minimum": 40,
   "maximum": 100,
   "multipleOf": 1,
   "x-unit": "%",
   "default": 85
  },
  "clawLen": {
   "type": "number",
   "title": "Length",
   "description": "Length (mm)",
   "x-group": "Legs and claws",
   "minimum": 4,
   "maximum": 45,
   "x-step": 0.5,
   "x-unit": "mm",
   "default": 14
  },
  "clawW": {
   "type": "number",
   "title": "Width",
   "description": "Width (mm)",
   "x-group": "Legs and claws",
   "minimum": 1.5,
   "maximum": 18,
   "x-step": 0.1,
   "x-unit": "mm",
   "default": 5
  },
  "clawSpread": {
   "type": "integer",
   "title": "Spread",
   "description": "Spread (°)",
   "x-group": "Legs and claws",
   "minimum": 0,
   "maximum": 60,
   "multipleOf": 1,
   "x-unit": "°",
   "default": 30
  },
  "chan": {
   "type": "integer",
   "title": "Hook channel along the axis",
   "description": "Hook channel along the axis (0 = off, 1 = on)",
   "x-group": "Hook, slot, capsule",
   "enum": [
    0,
    1
   ],
   "default": 0
  },
  "chanD": {
   "type": "number",
   "title": "Channel diameter",
   "description": "Channel diameter (mm)",
   "x-group": "Hook, slot, capsule",
   "minimum": 0.4,
   "maximum": 4,
   "x-step": 0.05,
   "x-unit": "mm",
   "default": 1.2
  },
  "chanLen": {
   "type": "number",
   "title": "Channel length",
   "description": "Channel length (mm)",
   "x-group": "Hook, slot, capsule",
   "minimum": 3,
   "maximum": 120,
   "x-step": 0.5,
   "x-unit": "mm",
   "default": 25
  },
  "slot": {
   "type": "integer",
   "title": "Slot in the back",
   "description": "Slot in the back (0 = off, 1 = on)",
   "x-group": "Hook, slot, capsule",
   "enum": [
    0,
    1
   ],
   "default": 0
  },
  "slotStart": {
   "type": "number",
   "title": "From",
   "description": "From (%)",
   "x-group": "Hook, slot, capsule",
   "minimum": 5,
   "maximum": 90,
   "x-step": 0.5,
   "x-unit": "%",
   "default": 30
  },
  "slotEnd": {
   "type": "number",
   "title": "To",
   "description": "To (%)",
   "x-group": "Hook, slot, capsule",
   "minimum": 10,
   "maximum": 95,
   "x-step": 0.5,
   "x-unit": "%",
   "default": 60
  },
  "slotW": {
   "type": "number",
   "title": "Width",
   "description": "Width (mm)",
   "x-group": "Hook, slot, capsule",
   "minimum": 0.2,
   "maximum": 3,
   "x-step": 0.05,
   "x-unit": "mm",
   "default": 0.8
  },
  "slotDepth": {
   "type": "number",
   "title": "Depth (fraction of thickness)",
   "description": "Depth (fraction of thickness)",
   "x-group": "Hook, slot, capsule",
   "minimum": 0.1,
   "maximum": 0.95,
   "x-step": 0.01,
   "default": 0.5
  },
  "rattle": {
   "type": "integer",
   "title": "Capsule cavity",
   "description": "Capsule cavity (0 = off, 1 = on)",
   "x-group": "Hook, slot, capsule",
   "enum": [
    0,
    1
   ],
   "default": 0
  },
  "rattleD": {
   "type": "number",
   "title": "Diameter",
   "description": "Diameter (mm)",
   "x-group": "Hook, slot, capsule",
   "minimum": 1,
   "maximum": 10,
   "x-step": 0.1,
   "x-unit": "mm",
   "default": 3
  },
  "rattleLen": {
   "type": "number",
   "title": "Length",
   "description": "Length (mm)",
   "x-group": "Hook, slot, capsule",
   "minimum": 2,
   "maximum": 40,
   "x-step": 0.5,
   "x-unit": "mm",
   "default": 12
  },
  "rattlePos": {
   "type": "number",
   "title": "Position",
   "description": "Position (%)",
   "x-group": "Hook, slot, capsule",
   "minimum": 10,
   "maximum": 80,
   "x-step": 0.5,
   "x-unit": "%",
   "default": 35
  },
  "mold": {
   "type": "integer",
   "title": "Generate a two-part mold",
   "description": "Generate a two-part mold (0 = off, 1 = on)",
   "x-group": "Casting mold",
   "enum": [
    0,
    1
   ],
   "default": 1
  },
  "moldPlane": {
   "type": "string",
   "title": "Parting plane",
   "description": "Parting plane",
   "x-group": "Casting mold",
   "enum": [
    "horiz",
    "vert"
   ],
   "x-enumTitles": {
    "horiz": "Horizontal (back / belly)",
    "vert": "Vertical (left / right side)"
   },
   "default": "horiz"
  },
  "moldWall": {
   "type": "number",
   "title": "Wall under the cavity",
   "description": "Wall under the cavity (mm)",
   "x-group": "Casting mold",
   "minimum": 3,
   "maximum": 20,
   "x-step": 0.5,
   "x-unit": "mm",
   "default": 6
  },
  "moldMargin": {
   "type": "number",
   "title": "Border around cavities",
   "description": "Border around cavities (mm)",
   "x-group": "Casting mold",
   "minimum": 8,
   "maximum": 30,
   "x-step": 0.5,
   "x-unit": "mm",
   "default": 12
  },
  "moldChamfer": {
   "type": "number",
   "title": "Outer edge chamfer",
   "description": "Outer edge chamfer (mm)",
   "x-group": "Casting mold",
   "minimum": 0,
   "maximum": 4,
   "x-step": 0.1,
   "x-unit": "mm",
   "default": 1
  },
  "cavN": {
   "type": "integer",
   "title": "Cavities per mold",
   "description": "Cavities per mold",
   "x-group": "Casting mold",
   "enum": [
    1,
    2,
    4,
    6
   ],
   "x-enumTitles": {
    "1": "1",
    "2": "2 (in a row)",
    "4": "4 (in a row)",
    "6": "6 (in a row)"
   },
   "default": 1
  },
  "cavGap": {
   "type": "number",
   "title": "Gap between cavities",
   "description": "Gap between cavities (mm)",
   "x-group": "Casting mold",
   "minimum": 3,
   "maximum": 20,
   "x-step": 0.5,
   "x-unit": "mm",
   "default": 6
  },
  "fillMode": {
   "type": "string",
   "title": "How you fill it",
   "description": "How you fill it",
   "x-group": "Casting mold",
   "enum": [
    "pour",
    "inject"
   ],
   "x-enumTitles": {
    "pour": "Open pour (funnel)",
    "inject": "Hand injector (port)"
   },
   "default": "pour"
  },
  "spruePos": {
   "type": "string",
   "title": "Fill point",
   "description": "Fill point",
   "x-group": "Casting mold",
   "enum": [
    "head",
    "tail"
   ],
   "x-enumTitles": {
    "head": "From the head",
    "tail": "From the tail"
   },
   "default": "head"
  },
  "sprueD": {
   "type": "number",
   "title": "Sprue diameter at the lure",
   "description": "Sprue diameter at the lure (mm)",
   "x-group": "Casting mold",
   "minimum": 1.5,
   "maximum": 10,
   "x-step": 0.1,
   "x-unit": "mm",
   "default": 4
  },
  "sprueFunnel": {
   "type": "number",
   "title": "Funnel diameter (outside)",
   "description": "Funnel diameter (outside) (mm)",
   "x-group": "Casting mold",
   "minimum": 4,
   "maximum": 20,
   "x-step": 0.1,
   "x-unit": "mm",
   "default": 7
  },
  "injectPortD": {
   "type": "number",
   "title": "Port diameter (injector nozzle)",
   "description": "Port diameter (injector nozzle) (mm)",
   "x-group": "Casting mold",
   "minimum": 10,
   "maximum": 20,
   "x-step": 0.1,
   "x-unit": "mm",
   "default": 16
  },
  "vents": {
   "type": "integer",
   "title": "Air vents from tail, leg and claw tips",
   "description": "Air vents from tail, leg and claw tips (0 = off, 1 = on)",
   "x-group": "Casting mold",
   "enum": [
    0,
    1
   ],
   "default": 1
  },
  "ventW": {
   "type": "number",
   "title": "Vent width",
   "description": "Vent width (mm)",
   "x-group": "Casting mold",
   "minimum": 0.3,
   "maximum": 3,
   "x-step": 0.05,
   "x-unit": "mm",
   "default": 1.2
  },
  "ventDepth": {
   "type": "number",
   "title": "Vent depth (each half)",
   "description": "Vent depth (each half) (mm)",
   "x-group": "Casting mold",
   "minimum": 0.05,
   "maximum": 1,
   "x-step": 0.05,
   "x-unit": "mm",
   "default": 0.3
  },
  "pinN": {
   "type": "integer",
   "title": "Number of pins",
   "description": "Number of pins",
   "x-group": "Casting mold",
   "enum": [
    4,
    2
   ],
   "x-enumTitles": {
    "2": "2 diagonal",
    "4": "4 corners"
   },
   "default": 4
  },
  "pinType": {
   "type": "string",
   "title": "Pin shape",
   "description": "Pin shape",
   "x-group": "Casting mold",
   "enum": [
    "round",
    "cone"
   ],
   "x-enumTitles": {
    "round": "Cylinder",
    "cone": "Cone (easier to open)"
   },
   "default": "round"
  },
  "pinD": {
   "type": "number",
   "title": "Pin diameter",
   "description": "Pin diameter (mm)",
   "x-group": "Casting mold",
   "minimum": 2,
   "maximum": 8,
   "x-step": 0.1,
   "x-unit": "mm",
   "default": 4
  },
  "pinH": {
   "type": "number",
   "title": "Pin height",
   "description": "Pin height (mm)",
   "x-group": "Casting mold",
   "minimum": 1,
   "maximum": 8,
   "x-step": 0.1,
   "x-unit": "mm",
   "default": 3
  },
  "pinClear": {
   "type": "number",
   "title": "Pin clearance (flash control)",
   "description": "Pin clearance (flash control) (mm)",
   "x-group": "Casting mold",
   "minimum": 0.05,
   "maximum": 0.8,
   "x-step": 0.05,
   "x-unit": "mm",
   "default": 0.25
  },
  "boltD": {
   "type": "number",
   "title": "Bolt holes (0 = none)",
   "description": "Bolt holes (0 = none) (mm)",
   "x-group": "Casting mold",
   "minimum": 0,
   "maximum": 8,
   "x-step": 0.1,
   "x-unit": "mm",
   "default": 0
  },
  "coreRod": {
   "type": "integer",
   "title": "Wire hole for the hook channel (through the head)",
   "description": "Wire hole for the hook channel (through the head) (0 = off, 1 = on)",
   "x-group": "Casting mold",
   "enum": [
    0,
    1
   ],
   "default": 0
  },
  "moldSlot": {
   "type": "integer",
   "title": "Slot as a blade in the mold (if slot is on)",
   "description": "Slot as a blade in the mold (if slot is on) (0 = off, 1 = on)",
   "x-group": "Casting mold",
   "enum": [
    0,
    1
   ],
   "default": 1
  },
  "materialHint": {
   "type": "string",
   "title": "Mold material",
   "description": "Mold material",
   "x-group": "Casting mold",
   "enum": [
    "petg",
    "asa",
    "resin",
    "pc"
   ],
   "x-enumTitles": {
    "petg": "PETG (FDM)",
    "asa": "ASA (FDM)",
    "resin": "High-temperature resin",
    "pc": "PC (advanced FDM)"
   },
   "default": "petg"
  },
  "splitN": {
   "type": "integer",
   "title": "Number of parts",
   "description": "Number of parts",
   "x-group": "Split for printing",
   "minimum": 1,
   "maximum": 4,
   "multipleOf": 1,
   "default": 1
  },
  "splitPin": {
   "type": "integer",
   "title": "Hole for a joining pin",
   "description": "Hole for a joining pin (0 = off, 1 = on)",
   "x-group": "Split for printing",
   "enum": [
    0,
    1
   ],
   "default": 1
  },
  "splitPinD": {
   "type": "number",
   "title": "Pin diameter",
   "description": "Pin diameter (mm)",
   "x-group": "Split for printing",
   "minimum": 0.4,
   "maximum": 3,
   "x-step": 0.05,
   "x-unit": "mm",
   "default": 1
  },
  "res": {
   "type": "integer",
   "title": "Resolution (segments around)",
   "description": "Resolution (segments around)",
   "x-group": "Model",
   "minimum": 16,
   "maximum": 96,
   "multipleOf": 4,
   "default": 48
  },
  "useTraceProfile": {
   "type": "integer",
   "title": "Use diameters from the photo",
   "description": "Use diameters from the photo (0 = off, 1 = on)",
   "x-group": "Background photo",
   "enum": [
    0,
    1
   ],
   "default": 0
  },
  "useTraceBend": {
   "type": "integer",
   "title": "Use the curve from the photo",
   "description": "Use the curve from the photo (0 = off, 1 = on)",
   "x-group": "Background photo",
   "enum": [
    0,
    1
   ],
   "default": 0
  },
  "traceDiam": {
   "type": "number",
   "title": "Diameter correction",
   "description": "Diameter correction (×)",
   "x-group": "Background photo",
   "minimum": 0.5,
   "maximum": 1.6,
   "x-step": 0.01,
   "x-unit": "×",
   "default": 1
  },
  "traceBend": {
   "type": "number",
   "title": "Curve strength",
   "description": "Curve strength (×)",
   "x-group": "Background photo",
   "minimum": 0,
   "maximum": 2,
   "x-step": 0.05,
   "x-unit": "×",
   "default": 1
  },
  "traceSens": {
   "type": "number",
   "title": "Sensitivity (− more / + less)",
   "description": "Sensitivity (− more / + less)",
   "x-group": "Background photo",
   "minimum": -0.7,
   "maximum": 0.7,
   "x-step": 0.05,
   "default": 0
  },
  "traceSmooth": {
   "type": "integer",
   "title": "Smoothing",
   "description": "Smoothing",
   "x-group": "Background photo",
   "minimum": 0,
   "maximum": 12,
   "multipleOf": 1,
   "default": 3
  },
  "traceFlip": {
   "type": "integer",
   "title": "Swap head and tail",
   "description": "Swap head and tail (0 = off, 1 = on)",
   "x-group": "Background photo",
   "enum": [
    0,
    1
   ],
   "default": 0
  },
  "traceMirror": {
   "type": "integer",
   "title": "Mirror",
   "description": "Mirror (0 = off, 1 = on)",
   "x-group": "Background photo",
   "enum": [
    0,
    1
   ],
   "default": 0
  },
  "imgShow": {
   "type": "integer",
   "title": "Show photo",
   "description": "Show photo (0 = off, 1 = on)",
   "x-group": "Background photo",
   "enum": [
    0,
    1
   ],
   "default": 1
  },
  "imgOpacity": {
   "type": "number",
   "title": "Opacity",
   "description": "Opacity",
   "x-group": "Background photo",
   "minimum": 0.1,
   "maximum": 1,
   "x-step": 0.05,
   "default": 0.85
  },
  "imgScale": {
   "type": "number",
   "title": "Scale",
   "description": "Scale (×)",
   "x-group": "Background photo",
   "minimum": 0.3,
   "maximum": 3,
   "x-step": 0.01,
   "x-unit": "×",
   "default": 1
  },
  "imgRot": {
   "type": "number",
   "title": "Rotation",
   "description": "Rotation (°)",
   "x-group": "Background photo",
   "minimum": -180,
   "maximum": 180,
   "x-step": 0.5,
   "x-unit": "°",
   "default": 0
  },
  "imgDX": {
   "type": "number",
   "title": "Offset sideways",
   "description": "Offset sideways (mm)",
   "x-group": "Background photo",
   "minimum": -60,
   "maximum": 60,
   "x-step": 0.5,
   "x-unit": "mm",
   "default": 0
  },
  "imgDZ": {
   "type": "number",
   "title": "Offset along the length",
   "description": "Offset along the length (mm)",
   "x-group": "Background photo",
   "minimum": -100,
   "maximum": 100,
   "x-step": 0.5,
   "x-unit": "mm",
   "default": 0
  },
  "color": {
   "type": "string",
   "title": "Colour (preview only)",
   "description": "Preview colour as #rrggbb; does not change the model.",
   "x-group": "Model",
   "pattern": "^#[0-9a-fA-F]{6}$",
   "default": "#ff6a3d"
  },
  "showParts": {
   "type": "integer",
   "title": "Show part boundaries",
   "description": "Preview only (0 = off, 1 = on).",
   "x-group": "View",
   "enum": [
    0,
    1
   ],
   "default": 0
  },
  "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",
   "enum": [
    "mm",
    "in"
   ],
   "x-enumTitles": {
    "mm": "Millimetres",
    "in": "Inches"
   },
   "default": "mm"
  },
  "exportFormat": {
   "type": "string",
   "title": "File format",
   "description": "3mf = one 3MF file; stl = binary STL files in a zip.",
   "x-group": "Download",
   "enum": [
    "3mf",
    "stl"
   ],
   "default": "3mf"
  },
  "exportTol": {
   "type": "number",
   "title": "Mesh precision",
   "description": "Simplification tolerance in mm (0 = original mesh).",
   "x-group": "Download",
   "enum": [
    0,
    0.01,
    0.02
   ],
   "x-unit": "mm",
   "default": 0.02
  },
  "bends": {
   "type": "array",
   "title": "Bends and extra sections",
   "description": "Up to 12 points where the body bends and changes thickness.",
   "x-group": "Bends",
   "maxItems": 12,
   "items": {
    "type": "object",
    "properties": {
     "pos": {
      "type": "number",
      "title": "Position",
      "description": "Position (%)",
      "x-group": "Bends",
      "minimum": 1,
      "maximum": 99,
      "x-step": 0.5,
      "x-unit": "%"
     },
     "side": {
      "type": "integer",
      "title": "Bend sideways",
      "description": "Bend sideways (°)",
      "x-group": "Bends",
      "minimum": -180,
      "maximum": 180,
      "multipleOf": 1,
      "x-unit": "°"
     },
     "up": {
      "type": "integer",
      "title": "Bend up / down",
      "description": "Bend up / down (°)",
      "x-group": "Bends",
      "minimum": -90,
      "maximum": 90,
      "multipleOf": 1,
      "x-unit": "°"
     },
     "len": {
      "type": "number",
      "title": "Bend length (softness)",
      "description": "Bend length (softness) (%)",
      "x-group": "Bends",
      "minimum": 1,
      "maximum": 60,
      "x-step": 0.5,
      "x-unit": "%"
     },
     "thick": {
      "type": "number",
      "title": "Thickness here",
      "description": "Thickness here (×)",
      "x-group": "Bends",
      "minimum": 0.3,
      "maximum": 2.5,
      "x-step": 0.01,
      "x-unit": "×"
     }
    },
    "required": [
     "pos",
     "side",
     "up",
     "len",
     "thick"
    ],
    "additionalProperties": false
   },
   "default": []
  },
  "trace": {
   "type": [
    "object",
    "null"
   ],
   "title": "Traced profile",
   "description": "Shape traced from a photo: r = radius / length, c = centre offset / length, sampled head to tail. Normally set by the photo tool.",
   "x-group": "Background photo",
   "properties": {
    "r": {
     "type": "array",
     "minItems": 5,
     "maxItems": 512,
     "items": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
     }
    },
    "c": {
     "type": "array",
     "minItems": 5,
     "maxItems": 512,
     "items": {
      "type": "number",
      "minimum": -2,
      "maximum": 2
     }
    }
   },
   "required": [
    "r",
    "c"
   ],
   "additionalProperties": false,
   "default": null
  }
 },
 "additionalProperties": false
}