Beispiel #1
0
 def process(self):
     if self.outputs['data'].is_linked:
         slots = []
         for socket in self.inputs:
             if socket.is_linked:
                 slots.append(socket.sv_get())
         if len(slots) < 2:
             return
         output = self.myZip(slots, self.level)
         if self.unwrap:
             output = preobrazovatel(output, [2, 3])
         self.outputs[0].sv_set(output)
Beispiel #2
0
 def process(self):
     if self.outputs['data'].is_linked:
         slots = []
         for socket in self.inputs:
             if socket.is_linked:
                 slots.append(socket.sv_get())
         if len(slots) < 2:
             return
         output = self.myZip(slots, self.level)
         if self.unwrap:
             output = preobrazovatel(output, [2, 3])
         self.outputs[0].sv_set(output)
Beispiel #3
0
 def process(self):
     if self.outputs['data'].is_linked:
         data = self.inputs['data'].sv_get()
         userlevelb = literal_eval('['+self.Sverch_LisLev+']')
         self.outputs['data'].sv_set(preobrazovatel(data, userlevelb))
Beispiel #4
0
 def process(self):
     if self.outputs['data'].is_linked:
         data = self.inputs['data'].sv_get()
         userlevelb = literal_eval('['+self.Sverch_LisLev+']')
         self.outputs['data'].sv_set(preobrazovatel(data, userlevelb))