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

Hull and Outfitting

Connecting a Cutout Macro to Hull

  • Last UpdatedFeb 01, 2023
  • 1 minute read

The connection between a customer controlled cutout definition macro and its cutout code by which it can be accessed from within for example, Hull Modelling is defined in an ASCII file. Its total file specification should be given by the environment variable SBH_CUTOUT_MACRO. If this variable is undefined, the system will simply ignore the handling of cutouts via macro.

The contents of this file is one line for each macro according to:

<cutout> <macro> <no_prof> <ptype1> <ptype2> ...

as shown in the following example:

1101 'cutout_1' 2 30 31

1102 'cutout_2' 2 30 31

1103 'cutout_3' 2 30 31

1104 'cutout_4' 2 30 31

...

...

The first line in the file states that cutout type 1101 will cause the system to call the macro 'cutout_1' located at the definition of SBB_GEO_MACRO_BIN (cutout_1.glb) to obtain the cutout contour. This cutout-code will be valid for 3 profile types, namely 0, 30, 31.

The hull utility program inithull can be used to check that the layout of this file is correct.

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