

def draw(self, m3dview):
    m3dview.beginGL()
    for segmentcoords in self.coords():
        glFT.glBegin(OpenMayaRender.MGL_LINE_STRIP)
        for coords in segmentcoords:
            glFT.glVertex3f(*coords)
        glFT.glEnd()
    m3dview.endGL()

dataset/ETHPy150Open rgalanakis/practicalmayapython/src/chapter7/shapedrawer.py Shape.draw/original