ldraw_render_step
Render an LDraw .ldr or .mpd model up to a chosen step as a 2x-supersampled isometric PNG, optionally save it, stitch a reference image, or isolate submodels.
Instructions
Render an LDraw .ldr or .mpd model up to a specific stepNumber into a 2x-supersampled 3D isometric PNG with bounding-box diagnostics, optional side-by-side reference stitching, and Sub-Build Isolation (0 FILE <submodel>.ldr).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ldraw_render_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| yawDeg | No | Camera azimuth angle in degrees (default -35) | |
| ldrPath | No | Path to .ldr or .mpd file | |
| pitchDeg | No | Camera elevation angle in degrees (default 30) | |
| showAxes | No | Draw +X (Red), -Y Up (Green), +Z (Blue) axes from origin (0,0,0) | |
| ldrContent | No | Inline LDraw content (if ldrPath not provided) | |
| stepNumber | No | 1-based global step number to render up to (omit for final step) | |
| savePngPath | No | Optional file path to save the rendered PNG on disk | |
| isolateSubmodels | No | Auto-hide main build when stepNumber is inside a submodel .ldr (default true) | |
| highlightCurrentStep | No | Fade previous steps slightly so newly added parts in stepNumber stand out | |
| instructionImagePath | No | Optional path to reference instruction PNG to stitch side-by-side | |
| transparentBackground | No | Render with transparent RGBA background instead of white |