generate_qr_decoration
Create a QR code heightmap for embossing onto 3D models, and check whether the code will still scan at your intended print size.
Instructions
Generate a QR code heightmap for embossing onto 3D models (Business). Opens Kiln's interactive inline 3D stage on the result (orbit/zoom panel in MCP Apps hosts; hosted sessions add a browser stage link).
INLINE 3D STAGE: on success this tool opens Kiln's interactive 3D stage — an inline viewer panel the user can orbit, zoom, and turn over — in hosts that render MCP Apps panels (Kiln's hosted connection attaches a browser stage link for hosts that don't). Oversized meshes are decimated automatically for the stage; the PNG preview is the floor, not the whole experience.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"content": "<content>",
"output_dir": "<output_dir>"
},
"name": "generate_qr_decoration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | What the code encodes -- a URL or any text. | |
| nozzle_mm | No | Nozzle diameter the scan check is judged for. Leave it out to use the nozzle on record for your printer (else 0.4); the answer's ``nozzle`` block says which size it used. | |
| output_dir | Yes | Folder the heightmap (``qr_heightmap.dat``) is written to. | |
| target_size_mm | No | How wide the code will be printed, in mm. Give it and the answer says whether the code will still scan at that size; leave it at 0 to get the heightmap alone. Default: 0.0. |