BASIC_TEXT Statement
- Last UpdatedDec 12, 2023
- 3 minute read
The basic text is a numbered text, consisting of:
-
a prefix,
-
one parameter of the bevel converted into a string,
-
a suffix.
Optionally, arbitrary texts may be defined as basic strings without reference to any bevel parameter.
Syntax:
|
BASIC_TEXT,<no> /PARAMETER=<parameter> |
||
|
The attributes have the following interpretation: |
||
|
<no> |
is the customer defined number of the resulting text string (>0 or <0). |
|
|
<no>::= <integer> |
||
|
The text number 0 is reserved and has a special sense (see DRAW_TEXT Statement and NEST_TEXT Statement below). |
||
|
PARAMETER |
refers normally to one of the bevel parameters, listed in a separate section above. The corresponding numeric item referred to will be converted into a string. |
|
|
<parameter>::= |
||
|
ALPHA |
Alpha as described above will be converted into a string. |
|
|
ALPHA2 |
Second opening angle on the positive side. |
|
|
BETA |
Ditto Beta. |
|
|
BETA2 |
Second opening angle on the negative side. |
|
|
D_TS |
Ditto D_TS (Depth, this side). |
|
|
D_OS |
Ditto D_OS (Depth, other side). |
|
|
E |
Ditto E (Thickness of thinner plate). |
|
|
NOSE |
Ditto Nose. |
|
|
W_CHA |
Width of chamfer. |
|
|
ANGLE2_WTS |
Width caused by second opening angle on the positive side. |
|
|
ANGLE2_WOS |
Width caused by second opening angle on the negative side. |
|
|
OTH_TS |
Height of chamfer "this" side. |
|
|
OTH_OS |
Height of chamfer "other" side. |
|
|
WELD_SIZE |
Size of (fillet) weld. |
|
|
ANY |
Used to define an arbitrary basic text, not based on any bevel parameter. It does not make sense to assign any suffix in this case. |
|
|
<prefix> |
Defines a string to be set before the indicated item. May be an empty string. |
|
|
<suffix> |
Ditto after the item. May be an empty string. |
|
|
The character '%' (per cent) in any of these two strings will be replaced by the symbol for degrees (that means, a small circle) in the resulting string. |
||
|
/SKIP_BETA |
The whole basic text should be skipped if Beta=Alpha. |
|
|
Irrelevant for other parameters than BETA. |
||
|
/SKIP_ZERO_WELD |
An empty text string should be generated if the weld size is zero. |
|
|
<no_dec> |
indicates the number of decimals to be used in the conversion of the indicated parameter into a string. |
|
|
Default: 0. |
||
|
Example: |
||
|
1. |
Suppose that Alpha=25. Then the statement |
|
|
BASIC_TEXT, 1 /PAR=ALPHA /AFFIX=('', '%') ; |
||
|
would create the basic text number 1 as: '25o' (Read 'o' as the degree symbol!) |
||
|
2. |
Suppose that the thickness is 26 mm, the E-measure 20 mm and that the chamfer angle is 14 degrees. |
|
|
BASIC_TEXT,10 /PAR=E /AFFIX= ('TS chmf. to ', '')/DEC=1 ; |
||
|
would create the following basic strings as numbers 10 and 11: ’TS chmf. to ’20.0’ and ’,w. 24’, respectively. |
||
|
3. |
BASIC_TEXT,90 /PAR=ANY /AFFIX='½+½' ; |
|
|
defines basic text number 90 as '½ + ½'. |
||
|
4. |
The following statements might establish almost all the basic texts required for a customer to define his own bevel texts. The numbers used here will be referred to in the examples of other statement types. |
|
|
BASIC_TEXT, 10 /PAR=ALPHA /AFFIX= ('' , '%') ; |
||