from lnx.logicnode.lnx_nodes import * class RadToDegNode(LnxLogicTreeNode): """Converts radians to degrees.""" bl_idname = 'LNRadToDegNode' bl_label = 'Rad to Deg' lnx_version = 1 lnx_section = 'angle' def lnx_init(self, context): self.add_input('LnxFloatSocket', 'Radians') self.add_output('LnxFloatSocket', 'Degrees')