code: def consume_vertices(self):
          
          while True:
              # Vertex color
              if len(self.values) == 7:
                  yield (
                      float(self.values[1]),
                      float(self.values[2]),
                      float(self.values[3]),
                      float(self.values[4]),
                      float(self.values[5]),
                      float(self.values[6]),
                  )
              # Positions only
              else:
                  yield (
                      float(self.values[1]),
                      float(self.values[2]),
                      float(self.values[3]),
                  )
  
              try:
                  self.next_line()
              except StopIteration:
                  break
  
              if not self.values:
                  break
  
              if self.values[0] != "v":
                  break
docs: Consumes all consecutive vertices.
          NOTE: There is no guarantee this will consume all vertices since other
          statements can also occur in the vertex list