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