Weed 几何
27 个节点
本页内容 27
幅值
函数Sets vector length; negative amplitude reverses its direction. Zero vectors cannot be assigned a direction.
幅值(向量: Vector3d, 长度: 数字) -> Vector3d
Vector3d Amplitude(Vector3d vector, double length)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 向量 | Vector3d | — | |
| 长度 | 数字 | — |
返回
| 结果 | Vector3d |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 几何
- 所属包
- 计算机辅助设计
圆
函数Circle on a plane.
圆(平面: Plane, 半径: 数字) -> Curve
Curve Circle(Plane plane, double radius)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 平面 | Plane | — | |
| 半径 | 数字 | — |
返回
| 结果 | Curve |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 几何
- 所属包
- 计算机辅助设计
构造平面
函数Frame from an origin and two independent direction vectors.
构造平面(原点: Point3d, X 轴: Vector3d, Y 轴: Vector3d) -> Plane
Plane ConstructPlane(
Point3d origin,
Vector3d xAxis,
Vector3d yAxis)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 原点 | Point3d | — | |
| X 轴 | Vector3d | — | |
| Y 轴 | Vector3d | — |
返回
| 结果 | Plane |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 几何
- 所属包
- 计算机辅助设计
距离
函数Euclidean point distance.
距离(第一个: Point3d, 第二个: Point3d) -> 数字
double Distance(Point3d first, Point3d second)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 第一个 | Point3d | — | |
| 第二个 | Point3d | — |
返回
| 结果 | 数字 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 几何
- 所属包
- 计算机辅助设计
等分曲线
函数Returns count + 1 equal arc-length samples; closed curves include the repeated seam endpoint.
等分曲线(曲线: Curve, 数量: 整数) -> Point3d 数组
Point3d[] DivideCurve(Curve curve, int count = 10)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 曲线 | Curve | — | |
| 数量 | 整数 | 10 |
返回
| 结果 | Point3d 数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 几何
- 所属包
- 计算机辅助设计
划分曲面
函数Divides an untrimmed surface into (uCount + 1) branches of (vCount + 1) points. UV sampling spans native domains.
划分曲面 -> Point3d 的 Cad Tree
曲面: Surface
U 向数量: 整数
V 向数量: 整数CadTree<Point3d> DivideSurface(
Surface surface,
int uCount = 10,
int vCount = 10)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 曲面 | Surface | — | |
| U 向数量 | 整数 | 10 | |
| V 向数量 | 整数 | 10 |
返回
| 结果 | Point3d 的 Cad Tree |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 几何
- 所属包
- 计算机辅助设计
点积
函数Vector dot product.
点积(第一个: Vector3d, 第二个: Vector3d) -> 数字
double Dot(Vector3d first, Vector3d second)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 第一个 | Vector3d | — | |
| 第二个 | Vector3d | — |
返回
| 结果 | 数字 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 几何
- 所属包
- 计算机辅助设计
求曲线上的点
函数Evaluates the native curve parameter, without silently normalizing its domain.
求曲线上的点(曲线: Curve, 参数: 数字) -> Point3d
Point3d EvaluateCurve(Curve curve, double parameter)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 曲线 | Curve | — | |
| 参数 | 数字 | — |
返回
| 结果 | Point3d |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 几何
- 所属包
- 计算机辅助设计
求长度处的点
函数Evaluates arc length from the start. Normalized length is a fraction of total curve length, not a NURBS parameter.
求长度处的点(曲线: Curve, 长度: 数字, 归一化: 真否) -> Point3d
Point3d EvaluateLength(
Curve curve,
double length,
bool normalized = true)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 曲线 | Curve | — | |
| 长度 | 数字 | — | |
| 归一化 | 真否 | True |
返回
| 结果 | Point3d |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 几何
- 所属包
- 计算机辅助设计
拉伸
函数Creates an uncapped extrusion: a surface, open at both ends.
拉伸(曲线: Curve, 方向: Vector3d) -> Cad Model
CadModel Extrude(Curve curve, Vector3d direction)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 曲线 | Curve | — | |
| 方向 | Vector3d | — |
返回
| 结果 | Cad Model |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 几何
- 所属包
- 计算机辅助设计
SDL 直线
函数Line from start, direction and length.
SDL 直线(起点: Point3d, 方向: Vector3d, 长度: 数字) -> Curve
Curve LineSDL(Point3d start, Vector3d direction, double length)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 起点 | Point3d | — | |
| 方向 | Vector3d | — | |
| 长度 | 数字 | — |
返回
| 结果 | Curve |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 几何
- 所属包
- 计算机辅助设计
放样
函数Creates an uncapped normal loft through ordered sections.
放样(截面: Curve 数组) -> Cad Model
CadModel Loft(Curve[] sections)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 截面 | Curve 数组 | — |
返回
| 结果 | Cad Model |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 几何
- 所属包
- 计算机辅助设计
移动曲线
函数Moves an independently owned curve.
移动曲线(曲线: Curve, 位移: Vector3d) -> Curve
Curve MoveCurve(Curve curve, Vector3d motion)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 曲线 | Curve | — | |
| 位移 | Vector3d | — |
返回
| 结果 | Curve |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 几何
- 所属包
- 计算机辅助设计
移动点
函数Moves points using longest-list point/vector matching.
移动点(点: Point3d 数组, 向量: Vector3d 数组) -> Point3d 数组
Point3d[] MovePoints(Point3d[] points, Vector3d[] vectors)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 点 | Point3d 数组 | — | |
| 向量 | Vector3d 数组 | — |
返回
| 结果 | Point3d 数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 几何
- 所属包
- 计算机辅助设计
点
函数Constructs a point from finite coordinates.
点(X: 数字, Y: 数字, Z: 数字) -> Point3d
Point3d Point(double x, double y, double z = 0)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| X | 数字 | — | |
| Y | 数字 | — | |
| Z | 数字 | 0 |
返回
| 结果 | Point3d |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 几何
- 所属包
- 计算机辅助设计
点集
函数Constructs points using longest-list matching independently in x, y and z.
点集(X: 数字数组, Y: 数字数组, Z: 数字数组) -> Point3d 数组
Point3d[] Points(double[] x, double[] y, double[] z)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| X | 数字数组 | — | |
| Y | 数字数组 | — | |
| Z | 数字数组 | — |
返回
| 结果 | Point3d 数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 几何
- 所属包
- 计算机辅助设计
极坐标点
函数Creates a polar point sequence, optionally repeating the first point to close it.
极坐标点 -> Point3d 数组
角度: 数字数组
半径: 数字数组
高度: 数字
闭合: 真否Point3d[] PolarPoints(
double[] angles,
double[] radii,
double height = 0,
bool close = false)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 角度 | 数字数组 | — | |
| 半径 | 数字数组 | — | |
| 高度 | 数字 | 0 | |
| 闭合 | 真否 | False |
返回
| 结果 | Point3d 数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 几何
- 所属包
- 计算机辅助设计
矩形
函数Polyline rectangle from directed local X and Y domains, without corner fillets.
矩形(平面: Plane, X: Interval, Y: Interval) -> Curve
Curve Rectangle(Plane plane, Interval x, Interval y)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 平面 | Plane | — | |
| X | Interval | — | |
| Y | Interval | — |
返回
| 结果 | Curve |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 几何
- 所属包
- 计算机辅助设计
旋转曲线
函数Rotates a curve in a plane by a radian angle.
旋转曲线(曲线: Curve, 角度: 数字, 平面: Plane) -> Curve
Curve RotateCurve(Curve curve, double angle, Plane plane)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 曲线 | Curve | — | |
| 角度 | 数字 | — | |
| 平面 | Plane | — |
返回
| 结果 | Curve |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 几何
- 所属包
- 计算机辅助设计
旋转向量
函数Rotates a vector around a nonzero axis by a radian angle.
旋转向量(向量: Vector3d, 轴: Vector3d, 角度: 数字) -> Vector3d
Vector3d RotateVector(
Vector3d vector,
Vector3d axis,
double angle)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 向量 | Vector3d | — | |
| 轴 | Vector3d | — | |
| 角度 | 数字 | — |
返回
| 结果 | Vector3d |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 几何
- 所属包
- 计算机辅助设计
缩放曲线
函数Nonuniformly scales a curve relative to a local plane.
缩放曲线 -> Curve
曲线: Curve
平面: Plane
X: 数字
Y: 数字
Z: 数字Curve ScaleCurve(
Curve curve,
Plane plane,
double x,
double y,
double z)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 曲线 | Curve | — | |
| 平面 | Plane | — | |
| X | 数字 | — | |
| Y | 数字 | — | |
| Z | 数字 | — |
返回
| 结果 | Curve |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 几何
- 所属包
- 计算机辅助设计
打散
函数Splits a curve at native parameters strictly inside its domain.
打散(曲线: Curve, 参数: 数字数组) -> Curve 数组
Curve[] Shatter(Curve curve, double[] parameters)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 曲线 | Curve | — | |
| 参数 | 数字数组 | — |
返回
| 结果 | Curve 数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 几何
- 所属包
- 计算机辅助设计
X 单位向量
函数X-axis vector multiplied by factor.
X 单位向量(系数: 数字) -> Vector3d
Vector3d UnitX(double factor = 1)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 系数 | 数字 | 1 |
返回
| 结果 | Vector3d |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 几何
- 所属包
- 计算机辅助设计
Y 单位向量
函数Y-axis vector multiplied by factor.
Y 单位向量(系数: 数字) -> Vector3d
Vector3d UnitY(double factor = 1)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 系数 | 数字 | 1 |
返回
| 结果 | Vector3d |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 几何
- 所属包
- 计算机辅助设计
Z 单位向量
函数Z-axis vector multiplied by factor.
Z 单位向量(系数: 数字) -> Vector3d
Vector3d UnitZ(double factor = 1)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 系数 | 数字 | 1 |
返回
| 结果 | Vector3d |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 几何
- 所属包
- 计算机辅助设计
两点向量
函数Vector from first to second point, optionally unitized.
两点向量 -> Vector3d
第一个: Point3d
第二个: Point3d
单位化: 真否Vector3d VectorTwoPoints(
Point3d first,
Point3d second,
bool unitize = false)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 第一个 | Point3d | — | |
| 第二个 | Point3d | — | |
| 单位化 | 真否 | False |
返回
| 结果 | Vector3d |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 几何
- 所属包
- 计算机辅助设计
XY 平面
函数XY plane with the supplied origin.
XY 平面(原点: Point3d) -> Plane
Plane XYPlane(Point3d origin)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 原点 | Point3d | — |
返回
| 结果 | Plane |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 几何
- 所属包
- 计算机辅助设计