graphic design tool
git clone https://git.lucas.co/cce-designer.git
nodes/box.json (790B)
1 {
2 "name": "Box",
3 "type": "box",
4 "inputs": 0,
5 "outputs": 1,
6 "params": [
7 {
8 "name": "scale",
9 "label": "Scale",
10 "default": "1.0",
11 "type": "slider",
12 "description": "Edge length of the cube in world units; the box extends half this distance from Center on every axis."
13 },
14 {
15 "name": "wireframe",
16 "label": "Wireframe",
17 "default": "false",
18 "type": "toggle",
19 "description": "When on, builds only the twelve edges as thin bars and the eight corners as small cubes instead of a solid box, useful as a reference frame."
20 },
21 {
22 "name": "center",
23 "label": "Center",
24 "type": "float3",
25 "default": "0.00:0.55:0.00",
26 "description": "Position of the box's center in world units."
27 }
28 ]
29 }