{
  "manifest": {
    "spekkr": 1,
    "id": "onyx/moon-lamp",
    "name": "Moon lamp",
    "summary": "A lunar lamp: sphere diameter, wall thickness, bulb-cavity clearance, a manifold mesh, and lit and unlit renders with simulated light.",
    "keywords": [
      "lamp",
      "sphere",
      "cavity",
      "wall thickness",
      "renders"
    ],
    "kind": "CAD",
    "version": "0.2.0",
    "author": {
      "id": "onyx",
      "name": "Onyx"
    },
    "targets": {
      "stack": [
        "CadQuery",
        "OpenSCAD"
      ]
    },
    "customize": {
      "settings": [
        {
          "key": "diameter",
          "label": "Sphere diameter, mm",
          "default": "180",
          "help": "From 80 to 280, the outside of the moon."
        },
        {
          "key": "wall",
          "label": "Wall thickness, mm",
          "default": "2.2",
          "help": "From 1.4 to 4."
        },
        {
          "key": "socket",
          "label": "Socket diameter, mm",
          "default": "28",
          "help": "The bulb cavity, from 20 to 40."
        }
      ],
      "options": [
        {
          "key": "relief",
          "label": "A shallow relief",
          "default": true,
          "help": "A documented crater-like relief, not a copyrighted texture."
        },
        {
          "key": "stand",
          "label": "A ring stand",
          "default": true,
          "help": "A separate ring the sphere sits in."
        }
      ],
      "swaps": [
        {
          "key": "tool",
          "label": "Modelling tool",
          "choices": [
            "cadquery",
            "openscad"
          ],
          "default": "cadquery",
          "help": "CadQuery writes STEP and STL. OpenSCAD writes STL."
        }
      ]
    },
    "files": [
      {
        "path": "spec.md",
        "about": "Requirements and acceptance checks."
      },
      {
        "path": "design.md",
        "about": "Diameter, wall, socket clearance, and simulated lit renders."
      },
      {
        "path": "tasks.md",
        "about": "Build tasks in order, each with a check."
      },
      {
        "path": "reference/model.scad",
        "about": "A parametric OpenSCAD reference of the default model, used to make the listing pictures. A build may use CadQuery or OpenSCAD and does not have to start from this file."
      },
      {
        "path": "shots/hero.png",
        "about": "Studio hero of the default model."
      },
      {
        "path": "shots/detail.png",
        "about": "Closer studio still of a joint, pocket, or surface."
      }
    ],
    "needs": {
      "permissions": [
        "shell"
      ]
    },
    "demo": {
      "screenshots": [
        "shots/hero.png",
        "shots/detail.png"
      ]
    },
    "safety": {
      "commands": [
        "install CadQuery or OpenSCAD, whichever the tool input names",
        "install a mesh library, such as trimesh"
      ]
    },
    "lineage": {},
    "changelog": [
      {
        "version": "0.2.0",
        "date": "2026-11-14",
        "note": "Studio product shots from a shared Cycles rig (cyclorama, PLA materials), including a short loop when present."
      },
      {
        "version": "0.1.0",
        "date": "2026-11-14",
        "note": "First version."
      }
    ]
  },
  "links": {
    "page": "./",
    "bundle": "bundle.tar.gz",
    "files": {
      "design.md": "files/design.md",
      "reference/model.scad": "files/reference/model.scad",
      "shots/detail.png": "files/shots/detail.png",
      "shots/hero.png": "files/shots/hero.png",
      "spec.md": "files/spec.md",
      "tasks.md": "files/tasks.md"
    }
  },
  "publishedBy": "onyx",
  "uploaded": {
    "shots/detail.png": {
      "bytes": 4429795,
      "type": "image/png"
    },
    "shots/hero.png": {
      "bytes": 4440738,
      "type": "image/png"
    }
  }
}
