def mesh(self):
        positions = []
        normals = []
        uvs = []
        for polygon in self.get_polygons():
            for i in xrange(2, len(polygon.vertices)):
                a = polygon.vertices[0]
                b = polygon.vertices[i - 1]
                c = polygon.vertices[i]
                positions.append(a.position.get_tuple())
                positions.append(b.position.get_tuple())
                positions.append(c.position.get_tuple())
                normals.append(a.normal.get_tuple())
                normals.append(b.normal.get_tuple())
                normals.append(c.normal.get_tuple())
                uvs.append(a.uv.get_tuple()[:2])
                uvs.append(b.uv.get_tuple()[:2])
                uvs.append(c.uv.get_tuple()[:2])
        return Mesh(positions, normals, uvs)
dataset/ETHPy150Open fogleman/pg/pg/csg.py/Model.mesh/original