# QuasiUniformGrid
QuasiUniformGrid creates a near-uniform grid with local adjustments for snapping points and structure boundaries.
This option corresponds to tidy3d.QuasiUniformGrid (opens new window).
dl: Step size for quasi-uniform grid generation. The generated grid can be slightly smaller near snapped locations.
- Type: floating-point number
- Unit: m, mm (default unit), um
- Constraint: greater than 0
- Required field
# Advanced
dl_min: Minimum grid step size in the selected direction.
- Type: floating-point number
- Unit: m, mm (default unit), um
- Default: 0
max_scale: Maximum ratio between two consecutive grid steps.
- Type: floating-point number
- Default: 1.4
NOTE
Local mesh refinement, snapping points, and layer refinement are applied when at least one grid direction uses AutoGrid or QuasiUniformGrid.