CAD 曲线
34 个节点
本页内容 34
圆弧
函数Circular arc, in radians, with end angle greater than start angle and a sweep no greater than one turn.
圆弧 -> Curve
平面: Plane
半径: 数字
起始角度: 数字
结束角度: 数字Curve Arc(
Plane plane,
double radius,
double startAngle,
double endAngle)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 平面 | Plane | — | |
| 半径 | 数字 | — | |
| 起始角度 | 数字 | — | |
| 结束角度 | 数字 | — |
返回
| 结果 | Curve |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
面积
函数Area of a closed planar boundary, before subtracting holes.
面积(曲线: Curve, 平面: Plane, 容差: 数字) -> 数字
double Area(Curve curve, Plane plane, double tolerance = 1E-06)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 曲线 | Curve | — | |
| 平面 | Plane | — | |
| 容差 | 数字 | 1E-06 |
返回
| 结果 | 数字 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
混接
函数Creates a tangent or curvature continuous connector between the end of the first and start of the second curve.
混接 -> Curve
第一个: Curve
第二个: Curve
连续性: Blend Continuity
第一处凸度: 数字
第二处凸度: 数字Curve Blend(
Curve first,
Curve second,
BlendContinuity continuity = BlendContinuity.Tangency,
double bulgeFirst = 1,
double bulgeSecond = 1)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 第一个 | Curve | — | |
| 第二个 | Curve | — | |
| 连续性 | Blend Continuity | 相切连续 | |
| 第一处凸度 | 数字 | 1 | |
| 第二处凸度 | 数字 | 1 |
返回
| 结果 | Curve |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
布尔区域
函数Planar region boolean retaining outer/hole relationships. Open or noncoplanar inputs are rejected instead of being mistaken for an empty result.
布尔区域 -> Curve Region 数组
第一个: Curve 数组
第二个: Curve 数组
平面: Plane
运算: Curve Boolean Operation
容差: 数字CurveRegion[] BooleanRegions(
Curve[] first,
Curve[] second,
Plane plane,
CurveBooleanOperation operation,
double tolerance = 1E-06)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 第一个 | Curve 数组 | — | |
| 第二个 | Curve 数组 | — | |
| 平面 | Plane | — | |
| 运算 | Curve Boolean Operation | — | |
| 容差 | 数字 | 1E-06 |
返回
| 结果 | Curve Region 数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
圆
函数Circle in a local frame. Radius must be finite and positive.
圆(平面: Plane, 半径: 数字) -> Curve
Curve Circle(Plane plane, double radius)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 平面 | Plane | — | |
| 半径 | 数字 | — |
返回
| 结果 | Curve |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
最近点
函数Closest point on the curve.
最近点(曲线: Curve, 点: Point3d) -> Point3d
Point3d ClosestPoint(Curve curve, Point3d point)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 曲线 | Curve | — | |
| 点 | Point3d | — |
返回
| 结果 | Point3d |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
控制点曲线
函数NURBS from control points with optional rational weights.
控制点曲线 -> Curve
点: Point3d 数组
阶数: 整数
权重: 数字数组Curve ControlPointCurve(
Point3d[] points,
int degree = 3,
double[] weights)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 点 | Point3d 数组 | — | |
| 阶数 | 整数 | 3 | |
| 权重 | 数字数组 | — |
返回
| 结果 | Curve |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
曲率
函数Curvature vector at a normalized parameter.
曲率(曲线: Curve, 参数: 数字) -> Vector3d
Vector3d CurvatureAt(Curve curve, double parameter)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 曲线 | Curve | — | |
| 参数 | 数字 | — |
返回
| 结果 | Vector3d |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
按长度等分
函数Returns count+1 points dividing the curve into equal arc-length segments, including both endpoints.
按长度等分(曲线: Curve, 数量: 整数) -> Point3d 数组
Point3d[] DivideLength(Curve curve, int count)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 曲线 | Curve | — | |
| 数量 | 整数 | — |
返回
| 结果 | Point3d 数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
按参数等分
函数Returns count+1 samples equally spaced in parameter space, including both endpoints; this is not equal arc-length division.
按参数等分(曲线: Curve, 数量: 整数) -> Point3d 数组
Point3d[] DivideParameter(Curve curve, int count)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 曲线 | Curve | — | |
| 数量 | 整数 | — |
返回
| 结果 | Point3d 数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
椭圆
函数Elliptical curve in a local frame.
椭圆(平面: Plane, X 半径: 数字, Y 半径: 数字) -> Curve
Curve Ellipse(Plane plane, double radiusX, double radiusY)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 平面 | Plane | — | |
| X 半径 | 数字 | — | |
| Y 半径 | 数字 | — |
返回
| 结果 | Curve |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
延伸
函数Extends one or both ends by model length using the selected continuation style.
延伸 -> Curve
曲线: Curve
终点: Curve End
长度: 数字
样式: Extend StyleCurve Extend(
Curve curve,
CurveEnd end,
double length,
ExtendStyle style = ExtendStyle.Smooth)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 曲线 | Curve | — | |
| 终点 | Curve End | — | |
| 长度 | 数字 | — | |
| 样式 | Extend Style | 平滑 |
返回
| 结果 | Curve |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
标架
函数Creates a local frame from an origin and nonzero normal.
标架(原点: Point3d, 法向: Vector3d) -> Plane
Plane Frame(Point3d origin, Vector3d normal)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 原点 | Point3d | — | |
| 法向 | Vector3d | — |
返回
| 结果 | Plane |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
多个标架
函数Rotation minimizing frames at equal arc-length stations, suitable for orienting repeated components.
多个标架(曲线: Curve, 分段数: 整数) -> Plane 数组
Plane[] Frames(Curve curve, int segments)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 曲线 | Curve | — | |
| 分段数 | 整数 | — |
返回
| 结果 | Plane 数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
插值曲线
函数NURBS interpolant through the supplied points. Degree is at least one and less than the point count.
插值曲线(点: Point3d 数组, 阶数: 整数) -> Curve
Curve Interpolate(Point3d[] points, int degree = 3)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 点 | Point3d 数组 | — | |
| 阶数 | 整数 | 3 |
返回
| 结果 | Curve |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
交点
函数Curve intersections including overlap intervals; event parameters use each curve's native domain.
交点 -> Curve Intersection Event 数组
第一个: Curve
第二个: Curve
容差: 数字CurveIntersectionEvent[] Intersections(
Curve first,
Curve second,
double tolerance = 1E-06)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 第一个 | Curve | — | |
| 第二个 | Curve | — | |
| 容差 | 数字 | 1E-06 |
返回
| 结果 | Curve Intersection Event 数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
连接
函数Joins curves whose endpoints meet within tolerance; disconnected chains remain separate.
连接(曲线: Curve 数组, 容差: 数字) -> Curve 数组
Curve[] Join(Curve[] curves, double tolerance = 1E-06)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 曲线 | Curve 数组 | — | |
| 容差 | 数字 | 1E-06 |
返回
| 结果 | Curve 数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
长度
函数Curve length in model units.
长度(曲线: Curve) -> 数字
double Length(Curve curve)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 曲线 | Curve | — |
返回
| 结果 | 数字 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
直线
函数Line between distinct points.
直线(起点: Point3d, 终点: Point3d) -> Curve
Curve Line(Point3d start, Point3d end)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 起点 | Point3d | — | |
| 终点 | Point3d | — |
返回
| 结果 | Curve |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
偏移
函数Offsets a planar curve by signed distance; reports failure when the kernel cannot construct the offset.
偏移(曲线: Curve, 平面: Plane, 距离: 数字, 容差: 数字) -> Curve
Curve Offset(
Curve curve,
Plane plane,
double distance,
double tolerance = 1E-06)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 曲线 | Curve | — | |
| 平面 | Plane | — | |
| 距离 | 数字 | — | |
| 容差 | 数字 | 1E-06 |
返回
| 结果 | Curve |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
尖角偏移
函数Offsets 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.
尖角偏移 -> Curve
曲线: Curve
平面: Plane
距离: 数字
容差: 数字Curve OffsetSharp(
Curve curve,
Plane plane,
double distance,
double tolerance = 1E-06)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 曲线 | Curve | — | |
| 平面 | Plane | — | |
| 距离 | 数字 | — | |
| 容差 | 数字 | 1E-06 |
返回
| 结果 | Curve |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
曲线对
函数Collects two independently copied curves in order, for loft sections or region inputs in visual graphs.
曲线对(第一个: Curve, 第二个: Curve) -> Curve 数组
Curve[] Pair(Curve first, Curve second)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 第一个 | Curve | — | |
| 第二个 | Curve | — |
返回
| 结果 | Curve 数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
点
函数Creates a finite point.
点(X: 数字, Y: 数字, Z: 数字) -> Point3d
Point3d Point(double x, double y, double z = 0)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| X | 数字 | — | |
| Y | 数字 | — | |
| Z | 数字 | 0 |
返回
| 结果 | Point3d |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
曲线上的点
函数Evaluates a curve at a normalized parameter from zero through one.
曲线上的点(曲线: Curve, 参数: 数字) -> Point3d
Point3d PointAt(Curve curve, double parameter)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 曲线 | Curve | — | |
| 参数 | 数字 | — |
返回
| 结果 | Point3d |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
多段线
函数Polyline through copied points, optionally closing the last-to-first segment.
多段线(点: Point3d 数组, 闭合: 真否) -> Curve
Curve Polyline(Point3d[] points, bool closed = false)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 点 | Point3d 数组 | — | |
| 闭合 | 真否 | False |
返回
| 结果 | Curve |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
投影到平面
函数Orthogonally projects onto a plane; a collapsed projection reports failure.
投影到平面(曲线: Curve, 平面: Plane, 容差: 数字) -> Curve
Curve ProjectToPlane(
Curve curve,
Plane plane,
double tolerance = 1E-06)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 曲线 | Curve | — | |
| 平面 | Plane | — | |
| 容差 | 数字 | 1E-06 |
返回
| 结果 | Curve |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
重建
函数Rebuilds a curve to a specified control point count and degree; this is an approximation.
重建(曲线: Curve, 控制点数: 整数, 阶数: 整数) -> Curve
Curve Rebuild(
Curve curve,
int controlPointCount,
int degree = 3)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 曲线 | Curve | — | |
| 控制点数 | 整数 | — | |
| 阶数 | 整数 | 3 |
返回
| 结果 | Curve |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
矩形
函数Rectangle in a local frame, beginning at its origin and extending in positive local X and Y.
矩形(平面: Plane, 宽度: 数字, 高度: 数字) -> Curve
Curve Rectangle(Plane plane, double width, double height)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 平面 | Plane | — | |
| 宽度 | 数字 | — | |
| 高度 | 数字 | — |
返回
| 结果 | Curve |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
反转
函数Reverses the curve without modifying its input.
反转(曲线: Curve) -> Curve
Curve Reverse(Curve curve)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 曲线 | Curve | — |
返回
| 结果 | Curve |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
分割
函数Splits at normalized parameters strictly between zero and one, retaining all pieces.
分割(曲线: Curve, 参数: 数字数组) -> Curve 数组
Curve[] Split(Curve curve, double[] parameters)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 曲线 | Curve | — | |
| 参数 | 数字数组 | — |
返回
| 结果 | Curve 数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
切线
函数Unit tangent at a normalized parameter.
切线(曲线: Curve, 参数: 数字) -> Vector3d
Vector3d TangentAt(Curve curve, double parameter)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 曲线 | Curve | — | |
| 参数 | 数字 | — |
返回
| 结果 | Vector3d |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
变换后
函数Returns a transformed copy of a curve.
变换后(曲线: Curve, 变换: Transform) -> Curve
Curve Transformed(Curve curve, Transform transform)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 曲线 | Curve | — | |
| 变换 | Transform | — |
返回
| 结果 | Curve |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
修剪
函数Extracts the normalized interval [start,end] from a curve.
修剪(曲线: Curve, 起点: 数字, 终点: 数字) -> Curve
Curve Trim(Curve curve, double start, double end)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 曲线 | Curve | — | |
| 起点 | 数字 | — | |
| 终点 | 数字 | — |
返回
| 结果 | Curve |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计
向量
函数Creates a finite vector.
向量(X: 数字, Y: 数字, Z: 数字) -> Vector3d
Vector3d Vector(double x, double y, double z)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| X | 数字 | — | |
| Y | 数字 | — | |
| Z | 数字 | — |
返回
| 结果 | Vector3d |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- CAD 曲线
- 所属包
- 计算机辅助设计