graphic design tool
git clone https://git.lucas.co/cce-designer.git
nodes/extrude.json (929B)
1 {
2 "name": "Extrude",
3 "type": "extrude",
4 "inputs": 1,
5 "outputs": 1,
6 "params": [
7 {
8 "name": "input",
9 "label": "Input",
10 "default": "",
11 "type": "node",
12 "description": "The node whose surface is extruded as a whole: its points move along their normals and walls rise from its open edges."
13 },
14 {
15 "name": "distance",
16 "label": "Distance",
17 "default": "0.2",
18 "type": "slider",
19 "min": -1.0,
20 "max": 1.0,
21 "step": 0.01,
22 "description": "How far, in world units, each point moves along its point normal to form the top. Negative extrudes inward, against the normals."
23 },
24 {
25 "name": "keep_base",
26 "label": "Keep Base",
27 "default": "true",
28 "type": "toggle",
29 "description": "Keep the original faces, reversed, as the bottom so a sheet becomes a closed slab. Off leaves only the top and the side walls."
30 }
31 ]
32 }