Returns 2D grid with square cells
ID
tool-array-square-grid
Name
Square Grid
Group
Array
Package
Tool
Keywords
Render
After creating a node, connect the center of the first grid element to the first port. To the second port, you need to connect the square width. To the third and fourth ports, connect the number of grid elements, respectively, in the direction of OX and OY. To the fifth port, connect the distance between grid elements. On the output ports, you will get the result grid and rectangle centers.
Hexagonal Grid
Rectangular Grid
Inputs
Name | Type | Description | Default Value |
---|---|---|---|
origin | Point | Grid origin | [0,0,0] |
width | Number | Size of grid cells | 20 |
xCount | Number | Grid count in x direction | 5 |
yCount | Number | Grid count in y direction | 3 |
padding | Number | Distance between squares | 5 |
Outputs
Name | Type | Description |
---|---|---|
grid | Curve | Result grid |
centers | Point | Square centers |