vw2d_offset
Offset polygon or polyline outlines by a specified distance to create wall thickness or plaster layers; optionally replace the original geometry with the offset result.
Instructions
Offset a polygon/polyline outline by distance (positive = outwards for counter-clockwise outlines), e.g. wall thickness or a plaster layer. replace=True swaps the original for the result.
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": {
"uuid": "<uuid>",
"distance": "<distance>"
},
"name": "vw2d_offset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | document | |
| uuid | Yes | ||
| replace | No | ||
| distance | Yes | ||
| smooth_corners | No |