LNXSDK/leenkx/blender/lnx/logicnode/math/LN_rad_to_deg.py

14 lines
363 B
Python
Raw Normal View History

2025-01-22 16:18:30 +01:00
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')