oscillode/blender_maxwell/node_trees/maxwell_sim_nodes/sockets/maxwell/structure.py

28 lines
604 B
Python
Raw Normal View History

import typing as typ
import bpy
import pydantic as pyd
from .. import base
from ... import contracts as ct
class MaxwellStructureBLSocket(base.MaxwellSimSocket):
socket_type = ct.SocketType.MaxwellStructure
bl_label = "Maxwell Structure"
####################
# - Socket Configuration
####################
class MaxwellStructureSocketDef(pyd.BaseModel):
socket_type: ct.SocketType = ct.SocketType.MaxwellStructure
def init(self, bl_socket: MaxwellStructureBLSocket) -> None:
pass
####################
# - Blender Registration
####################
BL_REGISTER = [
MaxwellStructureBLSocket,
]