datum_plane
Create a datum plane in Creo by offset from a reference plane or by angle through an axis or edge, then sketch on it by feature name.
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.
Datum plane. mode=offset: parallel to ref at offset mm (negative = other side). mode=angle: through axis/straight edge 'thru', at angle degrees to plane 'ref'. Returns its surface id; sketch on it by feature name.
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>",
"mode": "<mode>",
"ref": "<ref>"
},
"name": "datum_plane"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Datum name (FRONT, TOP, RIGHT, DTM1...) or an id from find_geometry/model_info: surface:N, edge:N, axis:N | |
| mode | Yes | ||
| name | Yes | Part name without .prt | |
| thru | No | Datum name (FRONT, TOP, RIGHT, DTM1...) or an id from find_geometry/model_info: surface:N, edge:N, axis:N | |
| angle | No | ||
| offset | No | ||
| feature_name | No | Optional feature name |