ROTATE THE POINTS ABOUT A CENTER BY A CERTAIN ANGLE¶
Rotates the points of one or more curves about a specified center coordinate by a given starting angle, optionally distributing the rotation across multiple increments and applying a scale factor. Use this worker when you need to incrementally sweep or fan out curve data around a pivot point along a chosen axis.
When to use¶
Classification: process.
Tagged: angle, curve_transform, increments, pivot, rotate, scale, sweep.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curves | curves | vector | — | One or more input curves whose points will be rotated; accepts the standard d3VIEW curve/vector format — leave empty to pass curves via a preceding workflow node. | |
| X-Value | x-value | scalar | — | X-coordinate of the center of rotation (pivot point); must be in the same units as the curve data — defaults to null (origin) if omitted. | |
| Starting Angle | starting_angle | scalar | — | Total angle of rotation in degrees applied to the curves; required for any rotation to occur — leave null to skip rotation. | |
| Increments | increments | scalar | 1 | Number of equal angular sub-steps into which the starting angle is divided, producing one output curve per increment; defaults to 1 (single full rotation). | |
| Axis | axis | scalar | x | Axis along which rotation is performed: ‘x’ rotates about the X-axis, ‘y’ about the Y-axis, ‘xy’ applies rotation in the XY-plane; defaults to ‘x’. | |
| Scale Factor | scale_factor | scalar | — | Scalar multiplier applied to the curve values after rotation; use values other than 1.0 to simultaneously rescale the rotated output — defaults to 1.0 if omitted. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curves_rotate_increments_output_1 | curves_rotate_increments_output_1 | vector | Collection of rotated (and optionally scaled) curves, one per increment, in the same d3VIEW vector/curve format as the input. |
Disciplines¶
- data.curve.transform
Runnable example¶
A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=curves_rotate_increments
Auto-generated from transformation schema. Worker id: curves_rotate_increments. Schema hash: 89877278604a. Hand-curated docs in workerexamples/ override this page when present.