ldraw_pack_mpd
Bundle an LDraw .ldr/.mpd file with LDConfig.ldr colours and all recursive .dat dependencies into one offline-ready .mpd compatible with Three.js LDrawLoader.
Instructions
Bundle an LDraw .ldr/.mpd file with LDConfig.ldr colours and all recursively referenced .dat parts/subparts/primitives into a single 100% offline-ready .mpd file compatible with Three.js LDrawLoader.
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": {
"inputLdrPath": "<inputLdrPath>",
"outputMpdPath": "<outputMpdPath>"
},
"name": "ldraw_pack_mpd"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputLdrPath | Yes | Path to source .ldr or .mpd file | |
| outputMpdPath | Yes | Destination path for self-contained .mpd file |