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

nodes/plane.json (1.9K)

 1 {
 2   "name": "Plane",
 3   "type": "plane",
 4   "inputs": 0,
 5   "outputs": 1,
 6   "params": [
 7     {
 8       "name": "width",
 9       "label": "Width",
10       "default": "1.0",
11       "type": "slider:0:4",
12       "description": "Size of the sheet along X in world units."
13     },
14     {
15       "name": "length",
16       "label": "Length",
17       "default": "1.0",
18       "type": "slider:0:4",
19       "description": "Size of the sheet along Z in world units."
20     },
21     {
22       "name": "columns",
23       "label": "Columns",
24       "default": "16",
25       "type": "spinbox",
26       "min": 1,
27       "max": 128,
28       "step": 1,
29       "description": "Number of quad divisions across the width (X). More columns give a finer sheet."
30     },
31     {
32       "name": "rows",
33       "label": "Rows",
34       "default": "16",
35       "type": "spinbox",
36       "min": 1,
37       "max": 128,
38       "step": 1,
39       "description": "Number of quad divisions along the length (Z). More rows give a finer sheet."
40     },
41     {
42       "name": "center_x",
43       "label": "Center X",
44       "default": "0.0",
45       "type": "slider:-2:2",
46       "description": "X position of the sheet's center in world units.",
47       "group": "place"
48     },
49     {
50       "name": "center_y",
51       "label": "Center Y",
52       "default": "0.0",
53       "type": "slider:-2:2",
54       "description": "Height of the flat sheet in world units; the plane lies level in XZ at this Y.",
55       "group": "place"
56     },
57     {
58       "name": "center_z",
59       "label": "Center Z",
60       "default": "0.0",
61       "type": "slider:-2:2",
62       "description": "Z position of the sheet's center in world units.",
63       "group": "place"
64     },
65     {
66       "name": "color",
67       "label": "Color",
68       "default": "true",
69       "type": "toggle",
70       "description": "When on, colors the points with a gradient across the sheet; when off, the plane uses the plain default color.",
71       "group": "look"
72     }
73   ]
74 }