code: def loadGmesh(filename, c="gold", alpha=1, wire=False, bc=None):
      
      if not os.path.exists(filename):
          colors.printc("~noentry Error in loadGmesh: Cannot find", filename, c=1)
          return None
  
      f = open(filename, "r")
      lines = f.readlines()
      f.close()
  
      nnodes = 0
      index_nodes = 0
      for i, line in enumerate(lines):
          if "$Nodes" in line:
              index_nodes = i + 1
              nnodes = int(lines[index_nodes])
              break
      node_coords = []
      for i in range(index_nodes + 1, index_nodes + 1 + nnodes):
          cn = lines[i].split()
          node_coords.append([float(cn[1]), float(cn[2]), float(cn[3])])
  
      nelements = 0
      index_elements = 0
      for i, line in enumerate(lines):
          if "$Elements" in line:
              index_elements = i + 1
              nelements = int(lines[index_elements])
              break
      elements = []
      for i in range(index_elements + 1, index_elements + 1 + nelements):
          ele = lines[i].split()
          elements.append([int(ele[-3]), int(ele[-2]), int(ele[-1])])
  
      poly = buildPolyData(node_coords, elements, indexOffset=1)
  
      return Actor(poly, c, alpha, wire, bc)
docs: Reads a `gmesh` file format. Return an ``Actor(vtkActor)`` object.