Example #1
0
 def draw3dpolys(self, resend, polynr):
     self.informdriver()
     #now I can upload the polys to the driver:
     if resend==1:
         #fblib.fbfreepolys()
         fblib.fbinit()#set visit=0 
         for i in self.polys.getthem():
             fblib.fbaddpoly(i[0],i[1],i[2],polynr)
     fblib.fbdraw3dpolys(polynr)
Example #2
0
 def draw3dpolys(self, resend, polynr):
     self.informdriver()
     #now I can upload the polys to the driver:
     if resend == 1:
         #fblib.fbfreepolys()
         fblib.fbinit()  #set visit=0
         for i in self.polys.getthem():
             fblib.fbaddpoly(i[0], i[1], i[2], polynr)
     fblib.fbdraw3dpolys(polynr)
Example #3
0
    def init(self):
        self.surface.informdriver()
        fblib.fbinit()
        for i in self.polys.getthem():
            fblib.fbaddpoly(i[0],i[1],i[2],self.polynr)

        self.mynumber = self.polynr
        self.increment()
        print self.mynumber
Example #4
0
    def init(self):
        self.surface.informdriver()
        fblib.fbinit()
        for i in self.polys.getthem():
            fblib.fbaddpoly(i[0], i[1], i[2], self.polynr)

        self.mynumber = self.polynr
        self.increment()
        print self.mynumber