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-06 | The model's tolerance, in its units. |
| 名稱 | 文字 | — | 它的組叫什麼;留空則用操作的種類,例如 "Box"。組名為這個名稱加上部分,例如 "Boss top"。 |
返回
| 結果 | Cad Model |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- CAD 文字
- 所屬包
- 電腦輔助設計