29 lines
617 B
Python
29 lines
617 B
Python
import typing as typ
|
|
|
|
import bpy
|
|
import pydantic as pyd
|
|
import tidy3d as td
|
|
|
|
from .. import base
|
|
from ... import contracts as ct
|
|
|
|
class MaxwellSimDomainBLSocket(base.MaxwellSimSocket):
|
|
socket_type = ct.SocketType.MaxwellSimDomain
|
|
bl_label = "Sim Domain"
|
|
|
|
####################
|
|
# - Socket Configuration
|
|
####################
|
|
class MaxwellSimDomainSocketDef(pyd.BaseModel):
|
|
socket_type: ct.SocketType = ct.SocketType.MaxwellSimDomain
|
|
|
|
def init(self, bl_socket: MaxwellSimDomainBLSocket) -> None:
|
|
pass
|
|
|
|
####################
|
|
# - Blender Registration
|
|
####################
|
|
BL_REGISTER = [
|
|
MaxwellSimDomainBLSocket,
|
|
]
|