元編程參考文件

CAD 曲面

17 個節點

本頁內容 17

面積

函數

Area of the entire untrimmed surface.

簽名
面積(曲面: Surface) -> 數字
double Area(Surface surface)

參數

名稱型別預設值說明
曲面Surface—

返回

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

邊界曲面

函數

Coons patch bounded by four connected curves in perimeter order.

簽名
邊界曲面(周邊: Curve 陣列, 容差: 數字) -> Surface
Surface Boundary(Curve[] perimeter, double tolerance = 1E-06)

參數

名稱型別預設值說明
周邊Curve 陣列—
容差數字1E-06

返回

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

最近點

函數

Closest point on an untrimmed surface.

簽名
最近點(曲面: Surface, 點: Point3d) -> Point3d
Point3d ClosestPoint(Surface surface, Point3d point)

參數

名稱型別預設值說明
曲面Surface—
點Point3d—

返回

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

曲率

函數

Principal, Gaussian and mean curvature at normalized U and V.

簽名
曲率(曲面: Surface, U: 數字, V: 數字) -> Surface Curvature
SurfaceCurvature CurvatureAt(
    Surface surface,
    double u,
    double v)

參數

名稱型別預設值說明
曲面Surface—
U數字—
V數字—

返回

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

標架

函數

Local surface frame at normalized U and V.

簽名
標架(曲面: Surface, U: 數字, V: 數字) -> Plane
Plane FrameAt(Surface surface, double u, double v)

參數

名稱型別預設值說明
曲面Surface—
U數字—
V數字—

返回

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

插值網格曲面

函數

Interpolates a rectangular grid in U-major order: points[u * countV + v].

簽名
插值網格曲面 -> Surface
    點: Point3d 陣列
    U 向數量: 整數
    V 向數量: 整數
    U 向階數: 整數
    V 向階數: 整數
Surface InterpolateGrid(
    Point3d[] points,
    int countU,
    int countV,
    int degreeU = 3,
    int degreeV = 3)

參數

名稱型別預設值說明
點Point3d 陣列—
U 向數量整數—
V 向數量整數—
U 向階數整數3
V 向階數整數3

返回

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

等參曲線

函數

Isoparametric curve varying in U (direction 0) or V (direction 1), at a normalized parameter in the other direction.

簽名
等參曲線(曲面: Surface, 方向: 整數, 參數: 數字) -> Curve
Curve IsoCurve(Surface surface, int direction, double parameter)

參數

名稱型別預設值說明
曲面Surface—
方向整數—
參數數字—

返回

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

放樣

函數

Uncapped loft surface with explicit interpolation degree and closing behavior.

簽名
放樣 -> Surface
    截面: Curve 陣列
    階數: 整數
    型別: Loft Type
    閉合: 真否
Surface Loft(
    Curve[] sections,
    int degree = 3,
    LoftType type = LoftType.Normal,
    bool closed = false)

參數

名稱型別預設值說明
截面Curve 陣列—
階數整數3
型別Loft Type正常
閉合真否False

返回

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

網路曲面

函數

Gordon surface through intersecting U and V curve families; the network must be compatible.

簽名
網路曲面 -> Surface
    U 向曲線: Curve 陣列
    V 向曲線: Curve 陣列
    容差: 數字
Surface Network(
    Curve[] uCurves,
    Curve[] vCurves,
    double tolerance = 1E-06)

參數

名稱型別預設值說明
U 向曲線Curve 陣列—
V 向曲線Curve 陣列—
容差數字1E-06

返回

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

法線

函數

Surface unit normal at normalized U and V.

簽名
法線(曲面: Surface, U: 數字, V: 數字) -> Vector3d
Vector3d NormalAt(Surface surface, double u, double v)

參數

名稱型別預設值說明
曲面Surface—
U數字—
V數字—

返回

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

偏移

函數

Signed offset surface, fitted to tolerance when an exact construction is unavailable.

簽名
偏移(曲面: Surface, 距離: 數字, 容差: 數字) -> Surface
Surface Offset(
    Surface surface,
    double distance,
    double tolerance = 1E-06)

參數

名稱型別預設值說明
曲面Surface—
距離數字—
容差數字1E-06

返回

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

面板

函數

Subdivides a surface into U-major rectangular panels.

簽名
面板 -> Surface 陣列
    曲面: Surface
    U 向數量: 整數
    V 向數量: 整數
Surface[] Panels(Surface surface, int countU, int countV)

參數

名稱型別預設值說明
曲面Surface—
U 向數量整數—
V 向數量整數—

返回

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

曲面上的點

函數

Surface point at normalized U and V.

簽名
曲面上的點(曲面: Surface, U: 數字, V: 數字) -> Point3d
Point3d PointAt(Surface surface, double u, double v)

參數

名稱型別預設值說明
曲面Surface—
U數字—
V數字—

返回

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

反轉

函數

Reverses one parametric direction without changing the surface locus.

簽名
反轉(曲面: Surface, 方向: 整數) -> Surface
Surface Reverse(Surface surface, int direction)

參數

名稱型別預設值說明
曲面Surface—
方向整數—

返回

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

直紋曲面

函數

Ruled surface between two curves.

簽名
直紋曲面(第一個: Curve, 第二個: Curve) -> Surface
Surface Ruled(Curve first, Curve second)

參數

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

返回

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

變換後

函數

Transforms an independently owned surface.

簽名
變換後(曲面: Surface, 變換: Transform) -> Surface
Surface Transformed(Surface surface, Transform transform)

參數

名稱型別預設值說明
曲面Surface—
變換Transform—

返回

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

修剪

函數

Rectangular sub-surface using normalized bounds.

簽名
修剪 -> Surface
    曲面: Surface
    U 起始值: 數字
    U 結束值: 數字
    V 起始值: 數字
    V 結束值: 數字
Surface Trim(
    Surface surface,
    double uStart,
    double uEnd,
    double vStart,
    double vEnd)

參數

名稱型別預設值說明
曲面Surface—
U 起始值數字—
U 結束值數字—
V 起始值數字—
V 結束值數字—

返回

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