tidy3d.Geometry.to_gds_file#
- class to_gds_file#
Bases:
Export a Geometry objectβs planar slice to a .gds file.
- Parameters:
fname (str) β Full path to the .gds file to save the
Geometry
slice to.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.
gds_cell_name (str = 'MAIN') β Name of the cell created in the .gds file to store the geometry.
Inherited Common Usage