Component Library

Pinhole

Bases: Component

Simple 144 px pinhole component.

Ports:

  • port:
    • Type: INOUT
    • Size: (8, 8, 6)
    • Normal: POS_X

__init__

__init__(
    channel_size: tuple[int, int, int] = (8, 8, 6),
    quiet: bool = False,
)

Initialize a Pinhole component.

TJunction

Bases: Component

Simple T Junction with configurable channel size and margin.

Ports:

  • F_IN1:
    • Type: IN
    • Size: channel_size
    • Normal: NEG_X
  • F_IN2:
    • Type: IN
    • Size: channel_size
    • Normal: POS_X
  • F_OUT:
    • Type: OUT
    • Size: channel_size
    • Normal: POS_Y

__init__

__init__(
    channel_size=(8, 8, 6),
    channel_margin=(8, 8, 6),
    quiet: bool = False,
)

Initialize a T Junction component.

TestCube

Bases: Component

Port test cube. Used to test visualization and component geometric transformations.

__init__

__init__()

Initialize a TestCube component.

Valve20px

Bases: Component

20 px membrane valve

  • 3 layer fluidic chamber
  • 11 layer pneumatic chamber
  • 1 layer membrane

Ports:

  • F_IN:
    • Type: IN
    • Size: (6, 6, 4)
    • Normal: NEG_Z
  • F_OUT:
    • Type: OUT
    • Size: (8, 8, 6)
    • Normal: POS_Y
  • P_IN:
    • Type: INOUT
    • Size: (8, 8, 6)
    • Normal: NEG_Y
  • P_OUT:
    • Type: INOUT
    • Size: (8, 8, 6)
    • Normal: POS_Y

__init__

__init__(quiet: bool = False)

Initialize a 20px Valve component.