元編程參考文件

Weed 幾何列表

19 個節點

本頁內容 19

幅值

函數

Sets each vector's signed amplitude.

簽名
幅值(向量: Vector3d 陣列, 長度: 數字) -> Vector3d 陣列
Vector3d[] Amplitudes(Vector3d[] vectors, double length)

參數

名稱型別預設值說明
向量Vector3d 陣列—
長度數字—

返回

結果Vector3d 陣列
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 幾何列表
所屬包
電腦輔助設計

裝配

函數

Collects independently modeled bodies as an assembly.

簽名
裝配(模型: Cad Model 陣列) -> Cad Model
CadModel Assembly(CadModel[] models)

參數

名稱型別預設值說明
模型Cad Model 陣列—

返回

結果Cad Model
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 幾何列表
所屬包
電腦輔助設計

邊界區域

函數

Classifies nested planar loops independently in each branch, preserving holes and disconnected regions.

簽名
邊界區域 -> Curve Region 的 Cad Tree
    曲線: Curve 的 Cad Tree
    平面: Plane
    容差: 數字
CadTree<CurveRegion> BoundaryRegions(
    CadTree<Curve> curves,
    Plane plane,
    double tolerance = 0.001)

參數

名稱型別預設值說明
曲線Curve 的 Cad Tree—
平面Plane—
容差數字0.001

返回

結果Curve Region 的 Cad Tree
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 幾何列表
所屬包
電腦輔助設計

差集

函數

Subtracts every cutter from each subject independently; all disconnected result bodies are retained in the subject's output model.

簽名
差集 -> Cad Model 陣列
    主體: Cad Model 陣列
    切割體: Cad Model 陣列
    容差: 數字
CadModel[] Difference(
    CadModel[] subjects,
    CadModel[] cutters,
    double tolerance = 0.001)

參數

名稱型別預設值說明
主體Cad Model 陣列—
切割體Cad Model 陣列—
容差數字0.001

返回

結果Cad Model 陣列
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 幾何列表
所屬包
電腦輔助設計

複製

函數

Duplicates a curve the requested number of times.

簽名
複製(曲線: Curve, 數量: 整數) -> Curve 陣列
Curve[] Duplicate(Curve curve, int count)

參數

名稱型別預設值說明
曲線Curve—
數量整數—

返回

結果Curve 陣列
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 幾何列表
所屬包
電腦輔助設計

求長度處的點

函數

Evaluates normalized arc length on each curve.

簽名
求長度處的點(曲線: Curve 陣列, 長度: 數字) -> Point3d 陣列
Point3d[] EvaluateLengths(Curve[] curves, double length = 0.5)

參數

名稱型別預設值說明
曲線Curve 陣列—
長度數字0.5

返回

結果Point3d 陣列
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 幾何列表
所屬包
電腦輔助設計

拉伸曲線

函數

Extrudes each profile independently with a common direction.

簽名
拉伸曲線 -> Cad Model 陣列
    曲線: Curve 陣列
    方向: Vector3d
    封閉端面: 真否
CadModel[] ExtrudeCurves(
    Curve[] curves,
    Vector3d direction,
    bool capped = true)

參數

名稱型別預設值說明
曲線Curve 陣列—
方向Vector3d—
封閉端面真否True

返回

結果Cad Model 陣列
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 幾何列表
所屬包
電腦輔助設計

拉伸區域

函數

Extrudes every region, keeping each input branch's independent bodies together.

簽名
拉伸區域 -> Cad Model 陣列
    區域: Curve Region 的 Cad Tree
    方向: Vector3d
CadModel[] ExtrudeRegions(
    CadTree<CurveRegion> regions,
    Vector3d direction)

參數

名稱型別預設值說明
區域Curve Region 的 Cad Tree—
方向Vector3d—

返回

結果Cad Model 陣列
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 幾何列表
所屬包
電腦輔助設計

直線

函數

Constructs lines from matched starts and directions.

簽名
直線 -> Curve 陣列
    起點: Point3d 陣列
    方向: Vector3d 陣列
    長度: 數字
Curve[] Lines(
    Point3d[] starts,
    Vector3d[] directions,
    double length)

參數

名稱型別預設值說明
起點Point3d 陣列—
方向Vector3d 陣列—
長度數字—

返回

結果Curve 陣列
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 幾何列表
所屬包
電腦輔助設計

移動曲線

函數

Moves matched curves by corresponding vectors.

簽名
移動曲線(曲線: Curve 陣列, 向量: Vector3d 陣列) -> Curve 陣列
Curve[] MoveCurves(Curve[] curves, Vector3d[] vectors)

參數

名稱型別預設值說明
曲線Curve 陣列—
向量Vector3d 陣列—

返回

結果Curve 陣列
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 幾何列表
所屬包
電腦輔助設計

移動模型

函數

Moves models by longest-matched vectors without combining their identities.

簽名
移動模型 -> Cad Model 陣列
    模型: Cad Model 陣列
    向量: Vector3d 陣列
CadModel[] MoveModels(CadModel[] models, Vector3d[] vectors)

參數

名稱型別預設值說明
模型Cad Model 陣列—
向量Vector3d 陣列—

返回

結果Cad Model 陣列
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 幾何列表
所屬包
電腦輔助設計

配對分支

函數

Merges corresponding curve items into two-item branches with longest-list matching.

簽名
配對分支 -> Curve 的 Cad Tree
    第一個: Curve 陣列
    第二個: Curve 陣列
CadTree<Curve> PairBranches(Curve[] first, Curve[] second)

參數

名稱型別預設值說明
第一個Curve 陣列—
第二個Curve 陣列—

返回

結果Curve 的 Cad Tree
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 幾何列表
所屬包
電腦輔助設計

多邊形

函數

Constructs a regular polygon whose first vertex lies on the plane's positive X axis.

簽名
多邊形(平面: Plane, 半徑: 數字, 邊數: 整數) -> Curve
Curve Polygon(Plane plane, double radius, int sides = 5)

參數

名稱型別預設值說明
平面Plane—
半徑數字—
邊數整數5

返回

結果Curve
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 幾何列表
所屬包
電腦輔助設計

多段線分段

函數

Returns straight segments of a degree-one polyline in its original order.

簽名
多段線分段(曲線: Curve) -> Curve 陣列
Curve[] PolylineSegments(Curve curve)

參數

名稱型別預設值說明
曲線Curve—

返回

結果Curve 陣列
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 幾何列表
所屬包
電腦輔助設計

旋轉複製

函數

Rotates independently owned copies through a list of angles.

簽名
旋轉複製(曲線: Curve, 平面: Plane, 角度: 數字陣列) -> Curve 陣列
Curve[] RotateCopies(Curve curve, Plane plane, double[] angles)

參數

名稱型別預設值說明
曲線Curve—
平面Plane—
角度數字陣列—

返回

結果Curve 陣列
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 幾何列表
所屬包
電腦輔助設計

旋轉向量

函數

Rotates vectors around a common axis.

簽名
旋轉向量 -> Vector3d 陣列
    向量: Vector3d 陣列
    軸: Vector3d
    角度: 數字
Vector3d[] RotateVectors(
    Vector3d[] vectors,
    Vector3d axis,
    double angle)

參數

名稱型別預設值說明
向量Vector3d 陣列—
軸Vector3d—
角度數字—

返回

結果Vector3d 陣列
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 幾何列表
所屬包
電腦輔助設計

掃掠線邊界

函數

Constructs the closed boundary of each line swept by its matched vector.

簽名
掃掠線邊界(行: Curve 陣列, 方向: Vector3d 陣列) -> Curve 陣列
Curve[] SweepLineBoundaries(
    Curve[] lines,
    Vector3d[] directions)

參數

名稱型別預設值說明
行Curve 陣列—
方向Vector3d 陣列—

返回

結果Curve 陣列
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 幾何列表
所屬包
電腦輔助設計

切線

函數

Evaluates unit tangents at normalized arc lengths.

簽名
切線(曲線: Curve 陣列, 長度: 數字) -> Vector3d 陣列
Vector3d[] Tangents(Curve[] curves, double length = 0.5)

參數

名稱型別預設值說明
曲線Curve 陣列—
長度數字0.5

返回

結果Vector3d 陣列
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 幾何列表
所屬包
電腦輔助設計

Z 向量

函數

Constructs world Z vectors from a list of heights.

簽名
Z 向量(值: 數字陣列) -> Vector3d 陣列
Vector3d[] ZVectors(double[] values)

參數

名稱型別預設值說明
值數字陣列—

返回

結果Vector3d 陣列
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 幾何列表
所屬包
電腦輔助設計