ap_paint_stroke_world
Paint a stroke in world space using absolute coordinates, making it camera-independent and reliable for scripted painting.
Instructions
Paint a stroke in WORLD space and close it — camera-independent, which makes it the reliable choice for scripted painting. ArmorPaint's world is Z-up; use ap_get_main_object for the object's bounds.
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": {
"points": "<points>"
},
"name": "ap_paint_stroke_world"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points | Yes | Stroke path as [[x, y, z], ...] in world space. |