TextObject 指令以 TrueType 字型建立文字曲线、曲面或多重曲面。
在 Rhino 指令行中输入的包含空格的文本必须用双引号引起来。另外,有些富文本字符不能直接在 Rhino 指令行输入;它们需要用双引号括起来或使用单个反斜杠转义才能正确解释。例如:
符号 |
输入 |
输出为 |
' (单引号) |
"'xyz'" |
XYZ |
" (双引号) |
""xyz"" |
"xyz" |
! (开头的感叹号) |
"!xyz" |
!xyz |
\ (反斜线) |
"\\xyz\\" |
\xyz\ |
\n (另起一行) |
x\ny\nz |
x y z |
{ and } (大括号) |
\{xyz\} |
{xyz} |
文本物件选项
The text string, font, height, italic, and bold settings will be added to the output objects' attribute user text.
设定文字的高度 (模型单位)。
设定字体样式为粗体。
设定字体样式为斜体。
设置文本的旋转角度。
在这个编辑栏位输入文字。
在编辑栏位中按鼠标右键可以剪切、复制、粘贴文字。
指定输出物件的类型。
以文字的外框线建立曲线。
以文字的外框线建立曲面。
建立实体文字。
指定厚度。
The output geometry of the entire text string is treated as a single group.
The GroupGlyphOutput command-line option in the scriptable command, -TextObject, controls whether the output of a character consisting of multiple parts will be grouped.
The Group output options control how text elements are grouped when they are converted into geometry (curves, surfaces, or solids).
The output geometry has no grouping applied.
The entire text string is treated as a single group.
Characters consisting of multiple parts (e.g., i, j, %, etc.) is treated as a group.
The entire text string is treated as a single group, with character groups nested within it.
RH-48090
Rhino 包含一个雕刻字体列表。如果您打算选择其中一种雕刻字体(例如 MecSoft_Font-1),则启用相应的选项即可。
此选项仅对 Rhino 未知的单线雕刻字体有用。除非使用的单线字体具有如下所示的错误外观,否则不需要启用此选项。
雕刻字体有三种:
![]() |
![]() |
![]() |
单线字体
|
双线字体
|
Two-line 字体
|
如果 Rhino 已知的雕刻字体被选中,Rhino 将执行以下操作:
以小型大写的方式显示英文小写字母,以相对于正常字母高度的百分比来设置小型大写字母。
字与字之间的间距。
放置文本时,光标会出现在文本的中心。
Rhino 安装的 Single-line 字体:
MecSoft_Font-1
SLF-RHN Architect.