kerfscript_render
Render .kerf source to SVG or DXF files, one per sheet, with part sizes, layers and warnings. Uses millimetres and bundled Atkinson font. No filesystem or network imports. Bounded to 100 parts and 10 sheets. For production generators install @mylasertools/kerfscript locally.
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": {
"source": "<source>"
},
"name": "kerfscript_render"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gap | No | ||
| kerf | No | ||
| sheet | No | ||
| format | No | svg | |
| layout | No | pack | |
| margin | No | ||
| params | No | ||
| source | Yes | KerfScript program. Lengths are millimetres; angles are degrees. | |
| libraries | No | Optional virtual libraries keyed by the exact use/include path. No files or URLs are fetched. |