How do I create a cylinder?#
Date |
Category |
---|---|
2023-12-06 21:46:33 |
Structures |
You can create a cylinder using the tidy3d.Cylinder object. In the example below we create a cylinder 2 z
-axis, with a 0.5 sidewall_angle
and reference_plane
.
cyl = tidy3d.Cylinder(center=(-1,1,0), radius=0.5, length=2, axis=2)