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