Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{alias:txt}
h2. Name

*txt* — 3D text

h2. Syntax
{panel:|borderStyle=solid|borderWidth=1|bgColor=#FFFFAA}

*txt* \[_textsize_] \[*cur | ref | min | cen*] \[*coor*] [*x | y | z*] \[*xang*] \[*yang*] \[*zang*] \[*col*] \[*fol*] \[*use*] \[*geo*] \[*lix*] \[*sav*] \[*sticky*] \[*txt*] _text_

{panel}

h2. Description

Display 3D text. The 3D text will have a 3D structure as default. 

h2. Arguments

_textsize_ 
{indent}Will display the text using text size relative to 1.{indent} 
*cur | ref | min | cen txt* _text_ 
{indent}Will display text at cursor position | reference point | lower left of grid window | center of window .{indent} 
*coor* _xcoor ycoor zcoor_ 
{indent}Position in world coordinates _xcoor ycoor zcoor_.{indent} 
*x | y | z* 
{indent}The text will be oriented along the x | y | z direction.{indent} 
\[*xang*] \[*yang*] \[*zang*] _xangle | yangle | zangle_ 
{indent}The text will have an _xangle | yangle | zangle_ towards the respective axis.{indent} 
*col whi | red | gre | ...* 
{indent}Select color for display.{indent} 
*use* 
{indent}Use the current color.{indent} 
*fol* 
{indent}Use the follower for the text to follow the camera.{indent} 
*geo* \[_number_] \[*dec* _dec\_number_] \[*format* _format\_number_] \[*ll* _latlon\_number_] 
{indent}Display the geo numbers as text with geographic notation.{indent} 
*lix* _linear\_extrusion_ 
{indent}The text will have a linear extrusion in the z direction.{indent} 
*sav* 
{indent}The text will saved as polydata.{indent} 
*sticky* 
{indent}The text will be placed on a sticky surface.{indent} 
*txt* _text_ 
{indent}To display a text, put it in braces or double quotes if the text contains spaces.{indent} 

h2. Related command object
h3. Three dimensional text 
The main command object for generating 3D text which also utilizes the txt command. 

h2. Examples

h3. Ex.1: Three dimensional text

{noformat:|borderWidth=1|bgColor=#eeeeee}
        z                                                    ;# Erase screen
       
win demo                                             ;# Get demo window (450000 460000 6450000 6460000 1000 4000)
       
spe bgc whi                                          ;# Specify background color to white
       
txt 3 lix 10 coor 450000 6454000 2000 txt Geocap     ;# Generate 3D text
{noformat}
The above example produces this image.

!att:_img_ref^cmd_txt.png!
_Text example_

h2. See also

[lix - Linear extrusion], [spe|spe - Specify parameters] _lix_ , [spe|spe - Specify parameters] _txn_ , [spe|spe - Specify parameters] _txt_ , [tx2 - 2D text] 
{pagebreak}