元編程參考文件

CAD 文字

3 個節點

本頁內容 3

輪廓線

函數

Builds independently owned closed glyph contours, including counters. Use Regions when the outer/hole relationship is needed.

簽名
輪廓線 -> Curve 陣列
    文字: 文字
    字型: Cad Font
    大小: 數字
    座標系: 可選 Plane
    容差: 數字
Curve[] Outlines(
    string text,
    CadFont font,
    double size,
    Plane? frame,
    double tolerance = 1E-06)

參數

名稱型別預設值說明
文字文字—
字型Cad Font—
大小數字—
座標系可選 Plane—
容差數字1E-06

返回

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

區域

函數

Builds filled regions with counters preserved. Supports multiline text, kerning and the font package's OpenType shaping; unsupported glyphs fail rather than silently becoming boxes.

簽名
區域 -> Curve Region 陣列
    文字: 文字
    字型: Cad Font
    大小: 數字
    座標系: 可選 Plane
    容差: 數字
CurveRegion[] Regions(
    string text,
    CadFont font,
    double size,
    Plane? frame,
    double tolerance = 1E-06)

參數

名稱型別預設值說明
文字文字—
字型Cad Font—
大小數字—
座標系可選 Plane—
容差數字1E-06

返回

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

實體文字

函數

Extrudes filled glyph regions along the frame normal. Negative depth engraves towards the back of the plane; union or subtract the result from a workpiece. Its groups are an extrusion's: the whole, "start", "end" and "sides".

簽名
實體文字 -> Cad Model
    文字: 文字
    字型: Cad Font
    大小: 數字
    深度: 數字
    座標系: 可選 Plane
    容差: 數字
    名稱: 文字
CadModel Solid(
    string text,
    CadFont font,
    double size,
    double depth,
    Plane? frame,
    double tolerance = 1E-06,
    string name = "")

參數

名稱型別預設值說明
文字文字—The text.
字型Cad Font—The font.
大小數字—The text's size, in the model's units.
深度數字—How deep; negative engraves backwards.
座標系可選 Plane—The plane the text stands on; the world's XY plane when none.
容差數字1E-06The model's tolerance, in its units.
名稱文字—它的組叫什麼;留空則用操作的種類,例如 "Box"。組名為這個名稱加上部分,例如 "Boss top"。

返回

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