daz_get_spatial_relationship
Get the spatial relationship between two nodes in DAZ Studio, including direction, distance, angles, and bounding box overlap, described in natural language.
Instructions
Get the spatial relationship between two nodes in natural language.
Returns direction (front, back, left, right, above, below), angles, distance, and whether their bounding boxes overlap.
Horizontal angle uses DAZ coordinate system: 0°=front(+Z for Genesis figures), 90°=right(+X), 180°=back(-Z), -90°=left(-X).
Args: node1_label: The reference node (e.g. "Genesis 9") node2_label: The target node to describe relative to node1 (e.g. "Camera 1")
Returns: { "node1": "Genesis 9", "node2": "Camera 1", "distance": 250.5, "direction": "front", "angle_horizontal": 5.0, "angle_vertical": 12.0, "relative_position": "Camera 1 is front above of Genesis 9 (250 cm away)", "overlapping": false }
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": {
"node1_label": "<node1_label>",
"node2_label": "<node2_label>"
},
"name": "daz_get_spatial_relationship"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node1_label | Yes | ||
| node2_label | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||