Weed 曲線列表
15 個節點
本頁內容 15
交替分支
函數Selects alternating branches, retaining their paths and copying curve geometry.
交替分支 -> Curve 的 Cad Tree
曲線: Curve 的 Cad Tree
第一個: 真否CadTree<Curve> AlternatingBranches(
CadTree<Curve> curves,
bool first = true)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 曲線 | Curve 的 Cad Tree | — | |
| 第一個 | 真否 | True |
返回
| 結果 | Curve 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 曲線列表
- 所屬包
- 電腦輔助設計
交替點
函數Selects alternating point items in each branch, starting with even indices when first is true.
交替點 -> Point3d 的 Cad Tree
點: Point3d 的 Cad Tree
第一個: 真否CadTree<Point3d> AlternatingPoints(
CadTree<Point3d> points,
bool first = true)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 點 | Point3d 的 Cad Tree | — | |
| 第一個 | 真否 | True |
返回
| 結果 | Point3d 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 曲線列表
- 所屬包
- 電腦輔助設計
包圍盒中心
函數Returns the center of the accurate union bounding box of a nonempty curve list.
包圍盒中心(曲線: Curve 陣列) -> Point3d
Point3d BoundsCenter(Curve[] curves)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 曲線 | Curve 陣列 | — |
返回
| 結果 | Point3d |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 曲線列表
- 所屬包
- 電腦輔助設計
控制點
函數Returns the control vertices of each curve in its own child branch.
控制點(曲線: Curve 的 Cad Tree) -> Point3d 的 Cad Tree
CadTree<Point3d> ControlPoints(CadTree<Curve> curves)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 曲線 | Curve 的 Cad Tree | — |
返回
| 結果 | Point3d 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 曲線列表
- 所屬包
- 電腦輔助設計
剔除點索引
函數Removes one point index from each branch, appending the single index-operation output path.
剔除點索引 -> Point3d 的 Cad Tree
點: Point3d 的 Cad Tree
索引: 整數CadTree<Point3d> CullPointIndex(
CadTree<Point3d> points,
int index = 0)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 點 | Point3d 的 Cad Tree | — | |
| 索引 | 整數 | 0 |
返回
| 結果 | Point3d 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 曲線列表
- 所屬包
- 電腦輔助設計
分組拉伸
函數Extrudes each curve-group branch along Z by its corresponding height, keeping open profiles uncapped.
分組拉伸 -> Cad Model
曲線: Curve 的 Cad Tree
高度: 數字陣列
封閉端面: 真否CadModel ExtrudeGroups(
CadTree<Curve> curves,
double[] heights,
bool capped = false)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 曲線 | Curve 的 Cad Tree | — | |
| 高度 | 數字陣列 | — | |
| 封閉端面 | 真否 | False |
返回
| 結果 | Cad Model |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 曲線列表
- 所屬包
- 電腦輔助設計
交錯
函數Interleaves two equally sized lists, equivalent to merging paired singleton branches and then flattening.
交錯(第一個: Curve 陣列, 第二個: Curve 陣列) -> Curve 陣列
Curve[] Interleave(Curve[] first, Curve[] second)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 第一個 | Curve 陣列 | — | |
| 第二個 | Curve 陣列 | — |
返回
| 結果 | Curve 陣列 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 曲線列表
- 所屬包
- 電腦輔助設計
項
函數Returns a curve from a list using cyclic or strict indexing.
項(曲線: Curve 陣列, 索引: 整數, 環繞: 真否) -> Curve
Curve Item(Curve[] curves, int index = 0, bool wrap = true)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 曲線 | Curve 陣列 | — | |
| 索引 | 整數 | 0 | |
| 環繞 | 真否 | True |
返回
| 結果 | Curve |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 曲線列表
- 所屬包
- 電腦輔助設計
合併
函數Concatenates two curve lists in source order.
合併(第一個: Curve 陣列, 第二個: Curve 陣列) -> Curve 陣列
Curve[] Merge(Curve[] first, Curve[] second)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 第一個 | Curve 陣列 | — | |
| 第二個 | Curve 陣列 | — |
返回
| 結果 | Curve 陣列 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 曲線列表
- 所屬包
- 電腦輔助設計
沿 X 鏡像
函數Mirrors a curve across the world YZ plane.
沿 X 鏡像(曲線: Curve) -> Curve
Curve MirrorX(Curve curve)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 曲線 | Curve | — |
返回
| 結果 | Curve |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 曲線列表
- 所屬包
- 電腦輔助設計
分組沿 X 移動
函數Moves each curve-group branch along X by its corresponding distance. Counts must agree.
分組沿 X 移動 -> Curve 的 Cad Tree
曲線: Curve 的 Cad Tree
距離: 數字陣列CadTree<Curve> MoveGroupsX(
CadTree<Curve> curves,
double[] distances)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 曲線 | Curve 的 Cad Tree | — | |
| 距離 | 數字陣列 | — |
返回
| 結果 | Curve 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 曲線列表
- 所屬包
- 電腦輔助設計
矩形單元
函數Constructs rectangular cells in the XY plane, one branch per X column and Y varying inside each branch.
矩形單元 -> Curve 的 Cad Tree
X 尺寸: 數字
Y 尺寸: 數字
X 向數量: 整數
Y 向數量: 整數CadTree<Curve> RectangularCells(
double sizeX = 1,
double sizeY = 1,
int countX = 1,
int countY = 10)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| X 尺寸 | 數字 | 1 | |
| Y 尺寸 | 數字 | 1 | |
| X 向數量 | 整數 | 1 | |
| Y 向數量 | 整數 | 10 |
返回
| 結果 | Curve 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 曲線列表
- 所屬包
- 電腦輔助設計
分組沿 X 縮放
函數Copies a curve group for each X scale factor around a supplied center; each transformed group occupies one branch.
分組沿 X 縮放 -> Curve 的 Cad Tree
曲線: Curve 陣列
係數: 數字陣列
中心: Point3dCadTree<Curve> ScaleGroupsX(
Curve[] curves,
double[] factors,
Point3d center)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 曲線 | Curve 陣列 | — | |
| 係數 | 數字陣列 | — | |
| 中心 | Point3d | — |
返回
| 結果 | Curve 的 Cad Tree |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 曲線列表
- 所屬包
- 電腦輔助設計
頂點
函數Returns a curve's control vertices, optionally reversing their order explicitly.
頂點(曲線: Curve, 反向: 真否) -> Point3d 陣列
Point3d[] Vertices(Curve curve, bool reverse = false)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 曲線 | Curve | — | |
| 反向 | 真否 | False |
返回
| 結果 | Point3d 陣列 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 曲線列表
- 所屬包
- 電腦輔助設計
寬度
函數Returns the accurate X extent of each curve-group branch.
寬度(曲線: Curve 的 Cad Tree) -> 數字陣列
double[] Widths(CadTree<Curve> curves)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 曲線 | Curve 的 Cad Tree | — |
返回
| 結果 | 數字陣列 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Weed 曲線列表
- 所屬包
- 電腦輔助設計