Skip to content

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: ...>
MethodDescription
copyCreate a copy of this 3D structure.
to_tidy3dCreate 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(self)

Create a Tidy3D structure from this extruded solid.

Returns

tidy3d.Structure: Tidy3D structure.

AttributeDescription
axisstr: Extrusion axis.
dilationsndarray: Face dilations at the extrusion limits.
faceRectangle | Circle | Polygon | Path: Plannar structure generating this extruded solid.
limitsndarray: Extrusion limits.
mediumMediumType: Extruded solid medium.
propertiesProperties: Object properties.

str: Extrusion axis.

ndarray: Face dilations at the extrusion limits.

Rectangle | Circle | Polygon | Path: Plannar structure generating this extruded solid.

ndarray: Extrusion limits.

MediumType: Extruded solid medium.

Properties: Object properties.