tidy3d.Geometry.to_gdstk

Contents

tidy3d.Geometry.to_gdstk#

class to_gdstk#

Bases:

Convert a Geometry object’s planar slice to a .gds type polygon.

Parameters:
  • x (float = None) – Position of plane in x direction, only one of x,y,z can be specified to define plane.

  • y (float = None) – Position of plane in y direction, only one of x,y,z can be specified to define plane.

  • z (float = None) – Position of plane in z direction, only one of x,y,z can be specified to define plane.

  • gds_layer (int = 0) – Layer index to use for the shapes stored in the .gds file.

  • gds_dtype (int = 0) – Data-type index to use for the shapes stored in the .gds file.

Returns:

List of gdstk.Polygon.

Return type:

List

Inherited Common Usage