Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Hull and Outfitting

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>
           /AFFIX=(<prefix>[,<suffix>])
           [/SKIP_BETA]
           [/SKIP_ZERO_WELD]
           [/DECIMALS=<no_dec>]
           ;

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 |
              ALPHA2 |
              BETA |
              BETA2 |
              D_TS |
              D_OS |
              E |
              NOSE |
              W_CHA |
              ANGLE2_WTS |
              ANGLE2_WOS |
              OTH_TS |
              OTH_OS |
              WELD_SIZE |
               ANY

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 ;
BASIC_TEXT,11 /PAR=W_CHA /AFFIX=(' ,w.', '') ;

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= ('' , '%') ;
BASIC_TEXT,    11 /PAR=ALPHA /AFFIX= ('TS ', '%') ;
BASIC_TEXT,   -11 /PAR=ALPHA /AFFIX= ('OS ', '%') ;

BASIC_TEXT,    20 /PAR=BETA /AFFIX= ('' , '%')
               /SKIP_BETA;
BASIC_TEXT,    21 /PAR=BETA /AFFIX= ('TS ', '%') ;
BASIC_TEXT,   -21 /PAR=BETA /AFFIX= ('OS ', '% ) ;

BASIC_TEXT,    30 /PAR=D_TS /AFFIX= (' dpth ' , '') ;
BASIC_TEXT,   -30 /PAR=D_OS /AFFIX= (' dpth ' , '') ;

BASIC_TEXT,    50 /PAR=E /AFFIX= ('TS chmf. to ', '') /DEC=1;
BASIC_TEXT,   -50 /PAR=E /AFFIX= ('OS chmf. to ', '') /DEC=1;

BASIC_TEXT,    60 /PAR=NOSE /AFFIX= (' Toe ','') ;

BASIC_TEXT,    70 /PAR=W_CHA /AFFIX=(' w.', '') ;

BASIC_TEXT,    71 /PAR=OTH_TS /AFFIX=('TS Oth. ', '') /DEC=1 ;
BASIC_TEXT,   -71 /PAR=OTH_OS /AFFIX=('OS Oth. ', '') /DEC=1 ;

BASIC_TEXT,    90 /PAR=ANY /AFFIX= ', ' ;
BASIC_TEXT,    91 /PAR=ANY /AFFIX= ' chmf.' ;
BASIC_TEXT,    92 /PAR=ANY /AFFIX= '½+½' ;

TitleResults for “How to create a CRG?”Also Available in