def pick_faces(self): # returns a list of faces heekscad.StartPickFaces() heekscad.SetExitMainLoopCallback(OnExitMainLoop) self.MainLoop() return heekscad.EndPickFaces()