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

nodes/page.json (2.3K)

 1 {
 2  "name": "Page",
 3  "type": "page",
 4  "inputs": 0,
 5  "outputs": 1,
 6  "params": [
 7   { "name": "preset", "label": "Preset", "type": "choice:Letter,A4,Legal,Tabloid,HD,4K,Square", "default": "Letter", "description": "Picking one writes its size into Width and Height, in Units: Letter, A4, Legal and Tabloid as portrait sheets, HD, 4K and Square as pixel sizes. Shows the last one picked." },
 8   { "name": "units", "label": "Units", "type": "choice:Inches,Millimetres,Centimetres,Pixels", "default": "Inches", "description": "Unit Width and Height, and every length on the nodes drawing onto this page, are written in. Changing it converts Width and Height, so the page keeps its size." },
 9   { "name": "width", "label": "Width", "type": "float", "default": "8.5", "description": "Page width in Units; with Height, the page's size. A preset writes it, and any other width can be typed; swap it with Height for landscape. In Pixels its physical size depends on Resolution." },
10   { "name": "height", "label": "Height", "type": "float", "default": "11.0", "description": "Page height in Units; with Width, the page's size. A preset writes it, and any other height can be typed. In Pixels its physical size depends on Resolution." },
11   { "name": "resolution", "label": "Resolution", "type": "spinbox", "default": "300", "min": 18, "max": 1200, "step": 6, "description": "Pixels per inch (DPI). More pixels for a paper size; for pixel presets it sets the physical size. Stored in exported PNGs so prints come out at size." },
12   { "name": "color", "label": "Color", "type": "float3", "default": "1.00:1.00:1.00", "min": 0.0, "max": 1.0, "description": "Background colour the whole page is filled with before anything is drawn on it.", "group": "look" },
13   { "name": "opacity", "label": "Opacity", "type": "slider", "default": "1.00", "min": 0.0, "max": 1.0, "step": 0.01, "description": "Opacity of the background fill, 0 to 1. At 0 the page is clear and only what is drawn on it shows; clear areas are see-through in the viewport and PNG.", "group": "look" },
14   { "name": "position", "label": "Position", "type": "float3", "default": "0.00:0.00:0.00", "min": -1000.0, "max": 1000.0, "description": "Where the centre of the page stands in the 3D scene, in world units. The page lies in the XY plane facing +Z at its physical size.", "group": "place" }
15  ]
16 }