Extruded
Extruded(medium, face, limits, dilations=(0, 0), axis='z')Extruded volumetric object.
Args
- medium (MediumType): Tidy3D medium used in this structure.
- face (Rectangle | Circle | Polygon | Path): Planar structure to be extruded.
- limits (Sequence[float]): Coordinates for the lower and upper limits of extrusion in the out-of-plane axis.
- dilations (Sequence[float]): Dilations (erosions, if negative) applied to the planar structure at the lower and upper limits of extrusion.
- axis (Literal[“x”, “y”, “z”]): Extrusion (out-of-plane) axis.
Example
>>> extruded = pf.Extruded(... td.Medium(permittivity=1.5), pf.Circle(5), (-0.5, 0.5)... )>>> extruded.to_tidy3d().plot(z=0)<Axes: ...>Methods
Section titled “Methods”| Method | Description |
|---|---|
copy | Create a copy of this 3D structure. |
to_tidy3d | Create a Tidy3D structure from this extruded solid. |
copy(self, deep=False)Create a copy of this 3D structure.
Args
- deep (bool): If set, creates copies of any internal structures. Otherwise, a shallow copy of this solid is created.
Returns
Extruded: New copy.
to_tidy3d
Section titled “to_tidy3d”to_tidy3d(self)Create a Tidy3D structure from this extruded solid.
Returns
tidy3d.Structure: Tidy3D structure.
Attributes
Section titled “Attributes”| Attribute | Description |
|---|---|
axis | str: Extrusion axis. |
dilations | ndarray: Face dilations at the extrusion limits. |
face | Rectangle | Circle | Polygon | Path: Plannar structure generating this extruded solid. |
limits | ndarray: Extrusion limits. |
medium | MediumType: Extruded solid medium. |
properties | Properties: Object properties. |
str: Extrusion axis.
dilations
Section titled “dilations”ndarray: Face dilations at the extrusion limits.
Rectangle | Circle | Polygon | Path: Plannar structure generating this extruded solid.
limits
Section titled “limits”ndarray: Extrusion limits.
medium
Section titled “medium”MediumType: Extruded solid medium.
properties
Section titled “properties”Properties: Object properties.