tidy3d.PolySlab

class tidy3d.PolySlab(material, vertices, z_cent=0, z_size=1, z_min=None, z_max=None, name=None)

A structure defined as polygon in x and y, and extruded in z.

__init__(material, vertices, z_cent=0, z_size=1, z_min=None, z_max=None, name=None)

Construct.

Parameters
  • material (Material) – Material of the structure.

  • vertices (array_like) – (micron) Shape (N, 2) defining the polygon vertices in the xy-plane.

  • z_cent (float) – (micron) Center of the polygonal slab in z.

  • z_size (float) – (micron) Thickness of the slab in z.

  • z_min (None, optional) – (micron) Beginning of the slab along z.

  • z_max (None, optional) – (micron) End of the slab along z.

  • name (str, optional) – Custom name of the structure.

Note

If z_min and z_max are provided, they override z_cent and z_size.

Methods

__init__(material, vertices[, z_cent, …])

Construct.