Returns 2D grid with rectangular cells
ID
tool-array-rectangular-grid
Name
Rectangular 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 rectangle width, and the third port rectangle length. To the fourth and fifth ports, connect the number of grid elements, respectively, in the direction of OX and OY. To the sixth port, connect the distance between grid elements. On the output ports, you will get the result grid and rectangle centers.
Hexagonal Grid
Square Grid
Inputs
Name | Type | Description | Default Value |
---|---|---|---|
origin | Point | Grid origin | [0,0,0] |
width | Number | Size of grid cells in x-direction | 20 |
length | Number | Size of grid cells in y-direction | 10 |
xCount | Number | Grid count in x direction | 5 |
yCount | Number | Grid count in y direction | 3 |
padding | Number | Distance between rectangles | 5 |
Outputs
Name | Type | Description |
---|---|---|
grid | Curve | Result grid |
centers | Point | Rectangle centers |