git.lucas.co / cce-designer
graphic design tool
git clone https://git.lucas.co/cce-designer.git

nodes/grid.json (1.1K)

 1 {
 2  "name": "Grid",
 3  "type": "grid",
 4  "inputs": 0,
 5  "outputs": 1,
 6  "params": [
 7   { "name": "rows", "label": "Rows", "type": "spinbox", "default": "10", "min": 1.0, "max": 500.0, "step": 1.0, "description": "Number of quad divisions along the length (Z). More rows give a finer grid." },
 8   { "name": "columns", "label": "Columns", "type": "spinbox", "default": "10", "min": 1.0, "max": 500.0, "step": 1.0, "description": "Number of quad divisions across the width (X). More columns give a finer grid." },
 9   { "name": "width", "label": "Width", "type": "slider", "default": "1.00", "min": 0.01, "max": 20.0, "step": 0.05, "description": "Size of the grid along X in world units.", "group": "size" },
10   { "name": "length", "label": "Length", "type": "slider", "default": "1.00", "min": 0.01, "max": 20.0, "step": 0.05, "description": "Size of the grid along Z in world units.", "group": "size" },
11   { "name": "center", "label": "Center", "type": "float3", "default": "0.00:0.00:0.00", "description": "Position of the grid's center in world units; the grid lies flat in the XZ plane through this point.", "group": "size" }
12  ]
13 }