import numpy as np import struct def pull_vertices(filename): f = open(filename) vertex = [] for line in f: if not line.strip().startswith('vertex'): continue vertex.append([float(s) for s in line.strip().split()[1:]]) f.close() return np.array(vertex) def pull_vertices_binary(filename): f = open(filename) f.read(80) triangles = struct.unpack('