Extruded¶
- class photonforge.Extruded(medium, face, limits, dilations=(0, 0), axis='z')¶
Extruded volumetric object.
- Parameters:
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 = Extruded( ... td.Medium(permittivity=1.5), pf.Circle(5), (-0.5, 0.5) ... ) >>> extruded.to_tidy3d().plot(z=0)
Methods
copy
([deep])Create a copy of this 3D structure.
Create a Tidy3D structure from this extruded solid.
Attributes
Extrusion axis.
Face dilations at the extrusion limits.
Plannar structure generating this extruded solid.
Extrusion limits.
Extruded solid medium.
Object properties.
- axis¶
Extrusion axis.
- Type:
str
- copy(deep=False)¶
Create a copy of this 3D structure.
- Parameters:
deep – If set, creates copies of any internal structures. Otherwise,
created. (a shallow copy of this solid is)
- Returns:
New copy.
- Return type:
- dilations¶
Face dilations at the extrusion limits.
- Type:
ndarray
- limits¶
Extrusion limits.
- Type:
ndarray
- medium¶
Extruded solid medium.
- Type:
MediumType
- properties¶
Object properties.
- Type:
- to_tidy3d()¶
Create a Tidy3D structure from this extruded solid.
- Returns:
Tidy3D structure.
- Return type:
tidy3d.Structure