CAD Curves
34 nodes
On this page 34
Arc
FunctionCircular arc, in radians, with end angle greater than start angle and a sweep no greater than one turn.
Arc -> Curve
plane: Plane
radius: Number
startAngle: Number
endAngle: NumberCurve Arc(
Plane plane,
double radius,
double startAngle,
double endAngle)Parameters
| name | type | default | description |
|---|---|---|---|
| plane | Plane | — | |
| radius | Number | — | |
| startAngle | Number | — | |
| endAngle | Number | — |
Returns
| result | Curve |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Area
FunctionArea of a closed planar boundary, before subtracting holes.
Area(curve: Curve, plane: Plane, tolerance: Number) -> Number
double Area(Curve curve, Plane plane, double tolerance = 1E-06)
Parameters
| name | type | default | description |
|---|---|---|---|
| curve | Curve | — | |
| plane | Plane | — | |
| tolerance | Number | 1E-06 |
Returns
| result | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Blend
FunctionCreates a tangent or curvature continuous connector between the end of the first and start of the second curve.
Blend -> Curve
first: Curve
second: Curve
continuity: Blend Continuity
bulgeFirst: Number
bulgeSecond: NumberCurve Blend(
Curve first,
Curve second,
BlendContinuity continuity = BlendContinuity.Tangency,
double bulgeFirst = 1,
double bulgeSecond = 1)Parameters
| name | type | default | description |
|---|---|---|---|
| first | Curve | — | |
| second | Curve | — | |
| continuity | Blend Continuity | Tangency | |
| bulgeFirst | Number | 1 | |
| bulgeSecond | Number | 1 |
Returns
| result | Curve |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Boolean Regions
FunctionPlanar region boolean retaining outer/hole relationships. Open or noncoplanar inputs are rejected instead of being mistaken for an empty result.
BooleanRegions -> Curve Region Array
first: Curve Array
second: Curve Array
plane: Plane
operation: Curve Boolean Operation
tolerance: NumberCurveRegion[] BooleanRegions(
Curve[] first,
Curve[] second,
Plane plane,
CurveBooleanOperation operation,
double tolerance = 1E-06)Parameters
| name | type | default | description |
|---|---|---|---|
| first | Curve Array | — | |
| second | Curve Array | — | |
| plane | Plane | — | |
| operation | Curve Boolean Operation | — | |
| tolerance | Number | 1E-06 |
Returns
| result | Curve Region Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Circle
FunctionCircle in a local frame. Radius must be finite and positive.
Circle(plane: Plane, radius: Number) -> Curve
Curve Circle(Plane plane, double radius)
Parameters
| name | type | default | description |
|---|---|---|---|
| plane | Plane | — | |
| radius | Number | — |
Returns
| result | Curve |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Closest Point
FunctionClosest point on the curve.
ClosestPoint(curve: Curve, point: Point3d) -> Point3d
Point3d ClosestPoint(Curve curve, Point3d point)
Parameters
| name | type | default | description |
|---|---|---|---|
| curve | Curve | — | |
| point | Point3d | — |
Returns
| result | Point3d |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Control Point Curve
FunctionNURBS from control points with optional rational weights.
ControlPointCurve -> Curve
points: Point3d Array
degree: Integer
weights: Number ArrayCurve ControlPointCurve(
Point3d[] points,
int degree = 3,
double[] weights)Parameters
| name | type | default | description |
|---|---|---|---|
| points | Point3d Array | — | |
| degree | Integer | 3 | |
| weights | Number Array | — |
Returns
| result | Curve |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Curvature At
FunctionCurvature vector at a normalized parameter.
CurvatureAt(curve: Curve, parameter: Number) -> Vector3d
Vector3d CurvatureAt(Curve curve, double parameter)
Parameters
| name | type | default | description |
|---|---|---|---|
| curve | Curve | — | |
| parameter | Number | — |
Returns
| result | Vector3d |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Divide Length
FunctionReturns count+1 points dividing the curve into equal arc-length segments, including both endpoints.
DivideLength(curve: Curve, count: Integer) -> Point3d Array
Point3d[] DivideLength(Curve curve, int count)
Parameters
| name | type | default | description |
|---|---|---|---|
| curve | Curve | — | |
| count | Integer | — |
Returns
| result | Point3d Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Divide Parameter
FunctionReturns count+1 samples equally spaced in parameter space, including both endpoints; this is not equal arc-length division.
DivideParameter(curve: Curve, count: Integer) -> Point3d Array
Point3d[] DivideParameter(Curve curve, int count)
Parameters
| name | type | default | description |
|---|---|---|---|
| curve | Curve | — | |
| count | Integer | — |
Returns
| result | Point3d Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Ellipse
FunctionElliptical curve in a local frame.
Ellipse(plane: Plane, radiusX: Number, radiusY: Number) -> Curve
Curve Ellipse(Plane plane, double radiusX, double radiusY)
Parameters
| name | type | default | description |
|---|---|---|---|
| plane | Plane | — | |
| radiusX | Number | — | |
| radiusY | Number | — |
Returns
| result | Curve |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Extend
FunctionExtends one or both ends by model length using the selected continuation style.
Extend -> Curve
curve: Curve
end: Curve End
length: Number
style: Extend StyleCurve Extend(
Curve curve,
CurveEnd end,
double length,
ExtendStyle style = ExtendStyle.Smooth)Parameters
| name | type | default | description |
|---|---|---|---|
| curve | Curve | — | |
| end | Curve End | — | |
| length | Number | — | |
| style | Extend Style | Smooth |
Returns
| result | Curve |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Frame
FunctionCreates a local frame from an origin and nonzero normal.
Frame(origin: Point3d, normal: Vector3d) -> Plane
Plane Frame(Point3d origin, Vector3d normal)
Parameters
| name | type | default | description |
|---|---|---|---|
| origin | Point3d | — | |
| normal | Vector3d | — |
Returns
| result | Plane |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Frames
FunctionRotation minimizing frames at equal arc-length stations, suitable for orienting repeated components.
Frames(curve: Curve, segments: Integer) -> Plane Array
Plane[] Frames(Curve curve, int segments)
Parameters
| name | type | default | description |
|---|---|---|---|
| curve | Curve | — | |
| segments | Integer | — |
Returns
| result | Plane Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Interpolate
FunctionNURBS interpolant through the supplied points. Degree is at least one and less than the point count.
Interpolate(points: Point3d Array, degree: Integer) -> Curve
Curve Interpolate(Point3d[] points, int degree = 3)
Parameters
| name | type | default | description |
|---|---|---|---|
| points | Point3d Array | — | |
| degree | Integer | 3 |
Returns
| result | Curve |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Intersections
FunctionCurve intersections including overlap intervals; event parameters use each curve's native domain.
Intersections -> Curve Intersection Event Array
first: Curve
second: Curve
tolerance: NumberCurveIntersectionEvent[] Intersections(
Curve first,
Curve second,
double tolerance = 1E-06)Parameters
| name | type | default | description |
|---|---|---|---|
| first | Curve | — | |
| second | Curve | — | |
| tolerance | Number | 1E-06 |
Returns
| result | Curve Intersection Event Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Join
FunctionJoins curves whose endpoints meet within tolerance; disconnected chains remain separate.
Join(curves: Curve Array, tolerance: Number) -> Curve Array
Curve[] Join(Curve[] curves, double tolerance = 1E-06)
Parameters
| name | type | default | description |
|---|---|---|---|
| curves | Curve Array | — | |
| tolerance | Number | 1E-06 |
Returns
| result | Curve Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Length
FunctionCurve length in model units.
Length(curve: Curve) -> Number
double Length(Curve curve)
Parameters
| name | type | default | description |
|---|---|---|---|
| curve | Curve | — |
Returns
| result | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Line
FunctionLine between distinct points.
Line(start: Point3d, end: Point3d) -> Curve
Curve Line(Point3d start, Point3d end)
Parameters
| name | type | default | description |
|---|---|---|---|
| start | Point3d | — | |
| end | Point3d | — |
Returns
| result | Curve |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Offset
FunctionOffsets a planar curve by signed distance; reports failure when the kernel cannot construct the offset.
Offset -> Curve
curve: Curve
plane: Plane
distance: Number
tolerance: NumberCurve Offset(
Curve curve,
Plane plane,
double distance,
double tolerance = 1E-06)Parameters
| name | type | default | description |
|---|---|---|---|
| curve | Curve | — | |
| plane | Plane | — | |
| distance | Number | — | |
| tolerance | Number | 1E-06 |
Returns
| result | Curve |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Offset Sharp
FunctionOffsets a planar line/arc chain with sharp corners by intersecting the exact extended offset primitives. Positive distance lies to the left of travel. Collapsed or disconnected offsets report failure.
OffsetSharp -> Curve
curve: Curve
plane: Plane
distance: Number
tolerance: NumberCurve OffsetSharp(
Curve curve,
Plane plane,
double distance,
double tolerance = 1E-06)Parameters
| name | type | default | description |
|---|---|---|---|
| curve | Curve | — | |
| plane | Plane | — | |
| distance | Number | — | |
| tolerance | Number | 1E-06 |
Returns
| result | Curve |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Pair
FunctionCollects two independently copied curves in order, for loft sections or region inputs in visual graphs.
Pair(first: Curve, second: Curve) -> Curve Array
Curve[] Pair(Curve first, Curve second)
Parameters
| name | type | default | description |
|---|---|---|---|
| first | Curve | — | |
| second | Curve | — |
Returns
| result | Curve Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Point
FunctionCreates a finite point.
Point(x: Number, y: Number, z: Number) -> Point3d
Point3d Point(double x, double y, double z = 0)
Parameters
| name | type | default | description |
|---|---|---|---|
| x | Number | — | |
| y | Number | — | |
| z | Number | 0 |
Returns
| result | Point3d |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Point At
FunctionEvaluates a curve at a normalized parameter from zero through one.
PointAt(curve: Curve, parameter: Number) -> Point3d
Point3d PointAt(Curve curve, double parameter)
Parameters
| name | type | default | description |
|---|---|---|---|
| curve | Curve | — | |
| parameter | Number | — |
Returns
| result | Point3d |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Polyline
FunctionPolyline through copied points, optionally closing the last-to-first segment.
Polyline(points: Point3d Array, closed: Truth) -> Curve
Curve Polyline(Point3d[] points, bool closed = false)
Parameters
| name | type | default | description |
|---|---|---|---|
| points | Point3d Array | — | |
| closed | Truth | False |
Returns
| result | Curve |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Project To Plane
FunctionOrthogonally projects onto a plane; a collapsed projection reports failure.
ProjectToPlane -> Curve
curve: Curve
plane: Plane
tolerance: NumberCurve ProjectToPlane(
Curve curve,
Plane plane,
double tolerance = 1E-06)Parameters
| name | type | default | description |
|---|---|---|---|
| curve | Curve | — | |
| plane | Plane | — | |
| tolerance | Number | 1E-06 |
Returns
| result | Curve |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Rebuild
FunctionRebuilds a curve to a specified control point count and degree; this is an approximation.
Rebuild -> Curve
curve: Curve
controlPointCount: Integer
degree: IntegerCurve Rebuild(
Curve curve,
int controlPointCount,
int degree = 3)Parameters
| name | type | default | description |
|---|---|---|---|
| curve | Curve | — | |
| controlPointCount | Integer | — | |
| degree | Integer | 3 |
Returns
| result | Curve |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Rectangle
FunctionRectangle in a local frame, beginning at its origin and extending in positive local X and Y.
Rectangle(plane: Plane, width: Number, height: Number) -> Curve
Curve Rectangle(Plane plane, double width, double height)
Parameters
| name | type | default | description |
|---|---|---|---|
| plane | Plane | — | |
| width | Number | — | |
| height | Number | — |
Returns
| result | Curve |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Reverse
FunctionReverses the curve without modifying its input.
Reverse(curve: Curve) -> Curve
Curve Reverse(Curve curve)
Parameters
| name | type | default | description |
|---|---|---|---|
| curve | Curve | — |
Returns
| result | Curve |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Split
FunctionSplits at normalized parameters strictly between zero and one, retaining all pieces.
Split(curve: Curve, parameters: Number Array) -> Curve Array
Curve[] Split(Curve curve, double[] parameters)
Parameters
| name | type | default | description |
|---|---|---|---|
| curve | Curve | — | |
| parameters | Number Array | — |
Returns
| result | Curve Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Tangent At
FunctionUnit tangent at a normalized parameter.
TangentAt(curve: Curve, parameter: Number) -> Vector3d
Vector3d TangentAt(Curve curve, double parameter)
Parameters
| name | type | default | description |
|---|---|---|---|
| curve | Curve | — | |
| parameter | Number | — |
Returns
| result | Vector3d |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Transformed
FunctionReturns a transformed copy of a curve.
Transformed(curve: Curve, transform: Transform) -> Curve
Curve Transformed(Curve curve, Transform transform)
Parameters
| name | type | default | description |
|---|---|---|---|
| curve | Curve | — | |
| transform | Transform | — |
Returns
| result | Curve |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Trim
FunctionExtracts the normalized interval [start,end] from a curve.
Trim(curve: Curve, start: Number, end: Number) -> Curve
Curve Trim(Curve curve, double start, double end)
Parameters
| name | type | default | description |
|---|---|---|---|
| curve | Curve | — | |
| start | Number | — | |
| end | Number | — |
Returns
| result | Curve |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD
Vector
FunctionCreates a finite vector.
Vector(x: Number, y: Number, z: Number) -> Vector3d
Vector3d Vector(double x, double y, double z)
Parameters
| name | type | default | description |
|---|---|---|---|
| x | Number | — | |
| y | Number | — | |
| z | Number | — |
Returns
| result | Vector3d |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Curves
- Package
- CAD