feature_datum_curve_equation
Creates a datum curve from Cartesian or cylindrical equations in Creo, letting you define custom sweep trajectories such as helices, threads, and springs.
Instructions
Datum curve from equation (Creo's Curve from Equation): relations in t from t_min to t_max, one per line, in
csys. Cartesian: x = ..., y = ..., z = ...; cylindrical: r = ..., theta = ... (degrees), z = ... (z along the
csys Z axis). Angles need their unit (Creo's relations are unit-sensitive; without it a trig function or theta
silently gives no curve): sin(t90[deg]), theta = t720[deg]. A helix of radius R, pitch P and N turns:
cylindrical "r = R
theta = tN360[deg]
z = tNP".
Use it as a sweep trajectory, with feature_sweep(pivot=) for a helical sweep (threads, springs).
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": {
"equation": "<equation>"
},
"name": "feature_datum_curve_equation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csys | No | PRT_CSYS_DEF | |
| file | No | ||
| name | No | ||
| t_max | No | ||
| t_min | No | ||
| equation | Yes | ||
| csys_type | No | cartesian |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||