14 lines
455 B
Python
14 lines
455 B
Python
from arm.logicnode.arm_nodes import *
|
|
|
|
class RadToDegNode(ArmLogicTreeNode):
|
|
"""Use to convert radians to degrees."""
|
|
bl_idname = 'LNRadToDegNode'
|
|
bl_label = 'Rad to Deg'
|
|
arm_version = 1
|
|
|
|
def init(self, context):
|
|
super(RadToDegNode, self).init(context)
|
|
self.add_input('NodeSocketFloat', 'Radians')
|
|
self.add_output('NodeSocketFloat', 'Degrees')
|
|
|
|
add_node(RadToDegNode, category=PKG_AS_CATEGORY, section='angle')
|