14 lines
363 B
Python
14 lines
363 B
Python
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')
|