find_nearest_point
Find the nearest point on a Houdini geometry node from a specified position and maximum distance. Returns point index, point position, and distance, or null if no point is found.
Instructions
最近点查询:Point | None 双路径
(add-geometry-export-and-measure,NO_UNDO)。
- ``position`` 必须是 ``[x, y, z]``。
- ``max_distance`` 默认 1.0,作为 ``geo.nearestPoint`` 的
``max_radius``。
- Point 返回 ``{point_index, point_position, distance}``;None
返回三字段均 null。响应过 server 端 ``apply_response_cap``。
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": {
"ctx": "<ctx>",
"node_path": "<node_path>",
"position": "<position>"
},
"name": "find_nearest_point"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | Yes | ||
| position | Yes | ||
| node_path | Yes | ||
| max_distance | No |