code: def to_weld_type(weld_type, dim):
      
      for i in xrange(dim):
          weld_type = WeldVec(weld_type)
      return weld_type
docs: Summary
  
      Args:
          weld_type (TYPE): Description
          dim (TYPE): Description
  
      Returns:
          TYPE: Description