find_geometry
Find faces and edges in a Creo part by feature, type, orientation, size, or proximity to a point, returning references for geometry modeling and edits.
Instructions
Creates/edits geometry in the running Creo 5 through the DreamFeatureApp plugin. There is no mirror tool: build symmetric shapes with symmetric extrudes, revolves or patterns. Units are mm and degrees. Parts are addressed by name (lowercase, no .prt). Model axes: FRONT is the XY plane (normal +Z), TOP is XZ (normal +Y), RIGHT is YZ (normal +X). Each feature call either ends with an active feature or is rolled back. Nothing is saved unless model_save is called. Check results with model_info (volume, bound_box) and preview_image.
Find faces or edges to reference. kind=faces: filter by feature, face_type (plane, cylinder, cone, torus, revolved, fillet), normal (outward, planes: +x,-x,+y,-y,+z,-z). kind=edges: filter by feature, of (edges bounding surface:N), edge_type (line, arc, circle). sort by max_x/min_x/max_y/min_y/max_z/min_z/max_size/min_size; limit (default 20). near=[x,y,z] sorts by distance to that model point and returns distance (e.g. the face nearest a point you know). Returns refs with centre, normal or end points, size.
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": {
"name": "<name>",
"kind": "<kind>"
},
"name": "find_geometry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| of | No | ||
| kind | Yes | ||
| name | Yes | Part name without .prt | |
| near | No | Model point [x, y, z] in mm | |
| sort | No | ||
| limit | No | ||
| normal | No | ||
| feature | No | ||
| edge_type | No | ||
| face_type | No |