move to dicty layers and targets
This commit is contained in:
parent
6b240de268
commit
9a077ea2df
23 changed files with 694 additions and 638 deletions
|
|
@ -1,7 +1,7 @@
|
|||
"""
|
||||
Tools are objects which dynamically generate simple single-use devices (e.g. wires or waveguides)
|
||||
"""
|
||||
from typing import TYPE_CHECKING, Sequence, Literal, Callable
|
||||
from typing import Sequence, Literal, Callable
|
||||
from abc import ABCMeta, abstractmethod
|
||||
|
||||
import numpy
|
||||
|
|
@ -20,6 +20,7 @@ render_step_t = (
|
|||
| tuple[Literal['P'], None, float, float, str, None]
|
||||
)
|
||||
|
||||
|
||||
class Tool:
|
||||
def path(
|
||||
self,
|
||||
|
|
@ -153,6 +154,4 @@ class BasicTool(Tool, metaclass=ABCMeta):
|
|||
if out_transition:
|
||||
bb.plug(opat, {port_names[1]: oport_ours})
|
||||
|
||||
|
||||
return bb.pattern
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue