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 幾何
- 所屬包
- 電腦輔助設計