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

Hull and Outfitting

Parameters controlling the Display of Line Types

  • Last UpdatedJan 18, 2024
  • 2 minute read

There are a number of environment variables controlling the thicknesses of the basic Thin, Wide and Xwide line types, the "overall" thicknesses of most of the complex line types, the pattern interval definitions and the pattern interval lengths of some line types. Also, there is an environment variable controlling if the interval length, and the "overall" thicknesses of the complex line types, should depend on the zoom factor, and in this case multiplied by an optional scale factor. These settings are interpreted when the program starts up and should be maintained centrally. Note that the line type settings will affect both screen display and paper printing.

Below, all environment variables controlling line type display are listed, with the system default value given (all linear measures in mm):

Width of basic line types:

SB_LINETYPE_THIN_WIDTH = 0.125

SB_LINETYPE_WIDE_WIDTH = 0.25

SB_LINETYPE_XWIDE_WIDTH = 0.5

Width of complex line types:

SB_LINETYPE_DASHEDANDSOLID_WIDTH = 0.75

SB_LINETYPE_TRACK_WIDTH = 0.75

SB_LINETYPE_SYSTEM5_WIDTH = 0.75

SB_LINETYPE_SYSTEM8_WIDTH = 1.5

SB_LINETYPE_SYSTEM9_WIDTH = 1.5

SB_LINETYPE_SYSTEM15_WIDTH = 1.2

SB_LINETYPE_SYSTEM16_WIDTH = 1.2

SB_LINETYPE_SYSTEM22_WIDTH = 1.5

SB_LINETYPE_SYSTEM23_WIDTH = 1.5

SB_LINETYPE_SYSTEM24_WIDTH = 1.5

SB_LINETYPE_SYSTEM25_WIDTH = 1.5

SB_LINETYPE_SYSTEM26_WIDTH = 1.5

SB_LINETYPE_SYSTEM27_WIDTH = 2.0

Pattern Interval definition:

SB_LINETYPE_DASH_PATTERN = 7.5, 2.5

SB_LINETYPE_DASHDOT_PATTERN = 24.0, 5.0, 1.0, 5.0

SB_LINETYPE_DASHDOUBLEDOT_PATTERN = 29.0, 4.0, 1.0, 1.0, 1.0, 4.0

SB_LINETYPE_SHORTDASH_PATTERN = 3.75, 1.25

SB_LINETYPE_TRACK_PATTERN = 10.0, 10.0

SB_LINETYPE_SYSTEM5_PATTERN = 5.0, 5.0

SB_LINETYPE_SYSTEM7_PATTERN = 20.0, 1.0, 1.0, 1.0

The interval definition is a sequence of alternating "pen downs's" and "pen up's", starting with "pen down". Note that the interval definition is in relative units. The absolute length if the interval is controlled by the Pattern Interval Length environment variables below.

Pattern Interval length:

SB_LINETYPE_DASH_PATTERN_LEN = 10.0

SB_LINETYPE_DASHDOT_PATTERN_LEN = 35.0

SB_LINETYPE_DASHDOUBLEDOT_PATTERN_LEN = 40.0

SB_LINETYPE_SHORTDASH_PATTERN_LEN = 5.0

SB_LINETYPE_TRACK_PATTERN_LEN = 20.0

SB_LINETYPE_SYSTEM5_PATTERN_LEN = 10.0

SB_LINETYPE_SYSTEM7_PATTERN_LEN = 23.0

Scaling of interval lengths and overall widths:

SB_LINETYPE_SCALE_FAC

  • If not set, the interval lengths and overall widths will NOT depend on the current zoom factor

  • If set, the interval lengths and overall widths will depend on the current zoom factor and also be multiplied with this scale

    Note: Normally, symbols are drawn with solid lines only.

The environment variable TB_SHOW_SYMBOL_WITH_FULL_LINETYPE controls the display of a symbol in the drawing:

  • If set to YES, the actual line type will be used

  • Otherwise, the symbol will be displayed as solid with same thickness as the actual line type

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