# PolySlab
Polygon extruded with optional sidewall angle along axis direction.
# Axis
axis: Specifies dimension of the planar axis.
Note: PolySlab can only support axis=z in this version of Tidy3D. Support for slabs oriented in other axes will be available in future releases.
Options:
- z (2 in Simulation JSON)
Default: z
# Slab Bounds
slab_bounds: Minimum and maximum positions of the slab along axis dimension.
Type: floating-point number
- Unit: μm
- Required field
# Dilation
dilation: Dilation of the polygon in the base by shifting each edge along its normal outwards direction by a distance; a negative value corresponds to erosion.
Type: floating-point number
- Unit: μm
- Default: 0
# Sidewall Angle
sidewall_angle: Angle of the sidewall.
sidewall_angle=0 specifies vertical wall (default)- 0<
sidewall_angle<π/2 for the base to be larger than the top - -π/2<
sidewall_angle<0 for the base to be smaller than the top
Type: floating-point number
- Unit: rad
- Constraint: (-π/2, π/2)
- Default: 0
# Vertices
vertices: List of (d1, d2) defining the 2 dimensional positions of the base polygon face vertices along dimensions parallel to slab normal axis.
Type: floating-point number
- Unit: μm
- Required field
# Bulges
bulges: List of bulge values for arc segments in the polygon cross-section. Each bulge value corresponds to an edge of the polygon (connecting consecutive vertices) and defines the curvature of that edge as an arc segment. The bulge value is defined as tan(theta/4), where theta is the included angle of the arc.
- A bulge value of 0 results in a straight edge (default).
- Positive values create outward-bulging arcs.
- Negative values create inward-bulging arcs.
Type: list of floating-point numbers
- Unit: unitless
- Default: None (all edges are straight)
← GeometryGroup Sphere →