> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nodi3d.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SquareGrid

> SquareGrid node: Generate a square grid of curves & points. Vector › Grid node in Nodi, with its inputs, outputs and properties.

Generate a square grid of curves & points.

**Category**: [Vector](https://docs.nodi3d.com/nodi-editor/nodes.md#vector) › Grid

## Inputs

| Input | Type |
| - | - |
| origin of plane | `Point, Plane` |
| size of grid cells | `Number` |
| number of grid cells in x direction | `Number` |
| number of grid cells in y direction | `Number` |

## Outputs

| Output | Type |
| - | - |
| grid cell outline curves (list of curves in row-major order) | `Curve` |
| points at grid vertices (list of points in row-major order) | `Point` |

## Properties

Properties are set in the Inspector and are used when the matching input is not connected.

| Property | Type |
| - | - |
| origin | `Point3d` |
| size | `Number` |
| ex | `Number` |
| ey | `Number` |

## Related nodes

Other nodes in Vector › Grid:

* [PoissonDiskSampling](https://docs.nodi3d.com/node/poisson-disk-sampling.md): Generate points using Poisson-disk sampling within a region.
* [RectangularGrid](https://docs.nodi3d.com/node/rectangular-grid.md): Generate a rectangular grid of curves & points.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.