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)
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))