Weld side rules

When welding two parts together, there are several positions where the welding can be applied. Weld side rules are used to determine on which side to apply a weld.

Consider the following T connection:

The system uses the weld side rules to decide which of the edges should be welded. Usually both sides (red & blue) will be welded, but when only interested in the connection, the centre (green) could be used.

The following constants can be used in weld side rule files to specify the weld position:

  • weld_side_none
  • weld_side_top
  • weld_side_middle
  • weld_side_bottom
  • weld_side_both

Where top means the side one sees when looking in the standard bevel directions (toward fore ship, toward mid ship, or down). Bottom is the opposite side of top. Middle is halfway between top and bottom. Both means that two lines, located at top and bottom, are created.

Variables in weld side rules

The following variables (keywords) can be used in weld side rules:

  • Logistical field names. Postfixes _1 and _2 in the property names indicate whether they are for the first or the second construction part that are to be welded together. The first part is the one that the weld belongs to, and the second part is the one that gets connected to the part containing the weld. See Variables (keywords) in weld configuration files for more information.
  • Bevel, containing the type of bevel. For a list of possible values of the bevel variable, see bevel.
  • Method, containing the weld method. For a list of possible values of the weld_method variable, see weld_method.
  • Edge, containing the way in which the parts being welded are to be connected. For a list of possible values of the edge_type variable, see edge_type.

The files containing the weld side rules must be named weldside####.cfg where #### is an integer in the range of 0001 to 9999. The file name must contain the zeros when the number of the file is less than 1000. These files are stored in the <project>\norms\cvar\weld folder.

Below is an example of a weld side rule configuration file.

File name: weldside0001.cfg

Weld side rule

method==97 $ WELD_SIDE_NONE

bevel==BEVEL_I and connection==EDGE_PLT_PLAN $ WELD_SIDE_TOP

bevel==BEVEL_V_POS and connection==EDGE_PLT_STOP $ WELD_SIDE_TOP

bevel==BEVEL_V_NEG and connection==EDGE_PLT_STOP $ WELD_SIDE_BOTTOM

WELD_SIDE_MIDDLE #default