Extruded

class photonforge.Extruded(medium, face, limits, dilations=(0, 0), axis='z')

Extruded volumetric object.

Parameters:
  • medium – Tidy3D medium used in this structure.

  • face – Planar structure to be extruded.

  • limits – Coordinates for the lower and upper limits of extrusion in the out-of-plane axis.

  • dilations – Dilations (erosions, if negative) applied to the planar structure at the lower and upper limits of extrusion.

  • axis – 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.

to_tidy3d()

Create a Tidy3D structure from this extruded solid.

Attributes

axis

Extrusion axis.

dilations

Face dilations at the extrusion limits.

face

Plannar structure generating this extruded solid.

limits

Extrusion limits.

medium

Extruded solid medium.

axis

Extrusion axis.

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.

dilations

Face dilations at the extrusion limits.

face

Plannar structure generating this extruded solid.

limits

Extrusion limits.

medium

Extruded solid medium.

to_tidy3d()

Create a Tidy3D structure from this extruded solid.

Returns:

Tidy3D structure.