From d8170a67e402922b4b8f2eec9847324eedfb5705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sofus=20Albert=20H=C3=B8gsbro=20Rose?= Date: Sat, 27 Apr 2024 19:58:50 +0200 Subject: [PATCH] plan: Working TODO ready --- TODO.md | 60 ++++++++++++++++++- .../maxwell_sim_nodes/contracts/node_types.py | 18 +++--- 2 files changed, 68 insertions(+), 10 deletions(-) diff --git a/TODO.md b/TODO.md index 0c5625e..fe5b41c 100644 --- a/TODO.md +++ b/TODO.md @@ -1,5 +1,58 @@ # Working TODO - [ ] Wave Constant +- Bounds + - [ ] Boundary Conds + - [ ] PML + - [ ] PEC + - [ ] PMC + - [ ] Bloch + - [ ] Absorbing +- Sources + - [ ] Temporal Shapes / Continuous Wave Temporal Shape + - [ ] Temporal Shapes / Symbolic Temporal Shape + - [ ] Plane Wave Source + - [ ] TFSF Source + - [ ] Gaussian Beam Source + - [ ] Astig. Gauss Beam +- Material Data Fitting + - [ ] Data File Import + - [ ] DataFit Medium +- Monitors + - [ ] EH Field + - [ ] Power Flux + - [ ] Permittivity + - [ ] Diffraction +- Structures + - [ ] Cylinder + - [ ] Cylinder Array + - [ ] L-Cavity Cylinder + - [ ] H-Cavity Cylinder + - [ ] FCC Lattice + - [ ] BCC Lattice + - [ ] Monkey +- Sim Grid + - [ ] Sim Grid + - [ ] Auto + - [ ] Manual + - [ ] Uniform + - [ ] Data +- Mediums + - [ ] PEC Medium + - [ ] Isotropic Medium + - [ ] Sellmeier Medium + - [ ] Drude Medium + - [ ] Debye Medium + - [ ] Anisotropic Medium +- Tidy3D + - [ ] Exporter + - [ ] Importer +- Integration + - [ ] Simulation and Analysis of Maxim's Cavity +- Constants + - [ ] Number Constant + - [ ] Vector Constant + - [ ] Physical Constant + - [ ] Fix many problems by persisting `_enum_cb_cache` and `_str_cb_cache`. @@ -178,7 +231,7 @@ - [ ] Sim Grid Axes / Auto Sim Grid Axis - [ ] Sim Grid Axes / Manual Sim Grid Axis - [ ] Sim Grid Axes / Uniform Sim Grid Axis -- [ ] Sim Grid Axes / Array Sim Grid Axis +- [ ] Sim Grid Axes / Data Sim Grid Axis ## Utilities - [ ] Separate @@ -411,6 +464,9 @@ Header color style can't be done, unfortunately. Body color feels unclean, so no ## Events - [ ] When a Blender object is selected, select the node that owns its ManagedObj. - [ ] Node button / shortcut / something to select the ManagedObj owned by a node. +- Sync transformation of Blender object by user to its node properties. + - See + - Also see ## Socket Base Class - [ ] Collect `SocketDef` objects like we do with `BL_REGISTER`, without any special mojo sauce. @@ -523,3 +579,5 @@ Unreported: - [ ] Dropping a link on empty space should query a menu of possible nodes, or if only one node is reasonable, make that node. - [ ] Shader visualizations approximated from medium `nk` into a shader node graph, aka. a generic BSDF. + +- [ ] Web importer that gets material data from refractiveindex.info. diff --git a/src/blender_maxwell/node_trees/maxwell_sim_nodes/contracts/node_types.py b/src/blender_maxwell/node_trees/maxwell_sim_nodes/contracts/node_types.py index 17fa458..323b1a5 100644 --- a/src/blender_maxwell/node_trees/maxwell_sim_nodes/contracts/node_types.py +++ b/src/blender_maxwell/node_trees/maxwell_sim_nodes/contracts/node_types.py @@ -98,22 +98,22 @@ class NodeType(blender_type_enum.BlenderTypeEnum): # Monitors EHFieldMonitor = enum.auto() PowerFluxMonitor = enum.auto() - # EpsilonTensorMonitor = enum.auto() - # DiffractionMonitor = enum.auto() + PermittivityMonitor = enum.auto() + DiffractionMonitor = enum.auto() ## Monitors / Projected - # CartesianNearFieldProjectionMonitor = enum.auto() - # ObservationAngleNearFieldProjectionMonitor = enum.auto() - # KSpaceNearFieldProjectionMonitor = enum.auto() + CartesianNearFieldProjectionMonitor = enum.auto() + AngleNearFieldProjectionMonitor = enum.auto() + KSpaceNearFieldProjectionMonitor = enum.auto() # Sims FDTDSim = enum.auto() SimDomain = enum.auto() SimGrid = enum.auto() ## Sims / Sim Grid Axis - # AutomaticSimGridAxis = enum.auto() - # ManualSimGridAxis = enum.auto() - # UniformSimGridAxis = enum.auto() - # ArraySimGridAxis = enum.auto() + AutomaticSimGridAxis = enum.auto() + ManualSimGridAxis = enum.auto() + UniformSimGridAxis = enum.auto() + ArraySimGridAxis = enum.auto() # Utilities Combine = enum.auto()