pattern
Pattern an existing Creo feature around an axis or along a plane normal, setting instance count, angle, or spacing to build symmetric geometry.
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.
Pattern an existing feature. count = total instances including the original. type=axis: around 'axis', angle degrees between instances (default 360/count). type=direction: along the normal of plane 'ref' (or a straight edge), spacing mm; flip=true goes the other way. Instances outside the part change nothing: compare volume before/after.
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>",
"feature": "<feature>",
"type": "<type>",
"count": "<count>"
},
"name": "pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Datum name (FRONT, TOP, RIGHT, DTM1...) or an id from find_geometry/model_info: surface:N, edge:N, axis:N | |
| axis | No | Datum name (FRONT, TOP, RIGHT, DTM1...) or an id from find_geometry/model_info: surface:N, edge:N, axis:N | |
| flip | No | ||
| name | Yes | Part name without .prt | |
| type | Yes | ||
| angle | No | ||
| count | Yes | ||
| feature | Yes | ||
| spacing | No |