Curve from Data
Make a curve from formulas of t or a table of x,y,z points typed, pasted or read from a file.

0.4 development branch
See the illustrated 0.4 guide for workflows and current limits. The settings below were refreshed from the development branch.
In the app
Describe the curve with formulas of t. Cartesian, cylindrical and spherical coordinates are supported; t runs from the first value to the last, so a full turn of a helix is x=rcos(t360), y=rsin(t360) for t from 0 to 1.
How to use
- Choose Curve from Data. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
- Adjust the settings and check the preview in the viewport.
- Use the panel buttons as needed: Open the Data panel, New table for this curve.
- Confirm in the panel to apply, or cancel to leave the model unchanged. Applied changes are one undo step.
Settings
| Setting | Default | Values |
|---|---|---|
| Points from | Equation | Equation, Table or file, Helix |
| Coordinates | Cartesian x, y, z | Cartesian x, y, z, Cylindrical r, θ, z, Spherical ρ, θ (from Z), φ |
| x | r | ρ | 20cos(t720) | Text |
| y | θ | θ | 20sin(t720) | Text |
| z | z | φ | 40*t | Text |
| t from | 0 | |
| t to | 1 | |
| Points | 120 | Whole number, 4 to 5000 |
| Angles in | Degrees | Degrees, Radians |
| Points | 0,0,0; 20,10,5; 40,0,10; 60,-10,15 | Text |
| …or read a file or sheet | Text | |
| Use a table from the Data panel | None: type or paste the points below | None: type or paste the points below |
| Scale | 1 × | 0.000001 to 1000000 × |
| Curve | Smooth through the points | Smooth through the points, NURBS control points, Straight segments |
| Closed | Off | |
| Move X | 0 mm | |
| Move Y | 0 mm | |
| Move Z | 0 mm | |
| Helix radius | 10 mm | |
| End radius (0 = same) | 0 mm | |
| Pitch (rise per turn) | 5 mm | |
| Turns | 5 | 0.05 to 1000 |
| Handedness | Right-handed | Right-handed, Left-handed |
| Axis | Z | X, Y, Z |
Script it
Command name curve_equation. See Python scripting and the command reference.
python
import cadkit as cad
cad.run("curve_equation", points_from="Equation", coordinates="Cartesian x, y, z")