daz_calculate_distance
Calculate the distance between two nodes in your DAZ Studio scene. Get total distance, horizontal and vertical separation, and direction vector.
Instructions
Calculate the distance between two nodes.
Returns total distance, horizontal distance, vertical distance, and the direction vector. All distances in centimeters.
Args: node1_label: Display label of the first node node2_label: Display label of the second node
Returns: { "node1": "Genesis 9", "node2": "Camera 1", "distance": 250.5, "vector": {"dx": 0.0, "dy": 50.0, "dz": 245.0}, "horizontal_distance": 245.0, "vertical_distance": 50.0 }
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_calculate_distance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node1_label | Yes | ||
| node2_label | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||