graphic design tool
git clone https://git.lucas.co/cce-designer.git
nodes/export.json (1.3K)
1 {
2 "name": "Export",
3 "type": "export",
4 "inputs": 1,
5 "outputs": 1,
6 "params": [
7 { "name": "input", "label": "Input", "type": "node", "default": "", "description": "The node whose output is written. A page chain is written as a PNG; geometry is written in the mesh format chosen by Format. Passed through unchanged." },
8 { "name": "file", "label": "File", "type": "text", "default": "", "description": "Path of the file to write; ~/ means your home folder and missing folders are created. An existing file is overwritten. Required before exporting." },
9 { "name": "format", "label": "Format", "type": "choice:STL,STL (ASCII),OBJ", "default": "STL", "description": "Mesh format for geometry: binary STL, ASCII STL (readable text, larger), or OBJ, which keeps shared points and quads. Ignored for pages, always PNG." },
10 { "name": "scale", "label": "Scale", "type": "slider", "default": "1.00", "min": 0.001, "max": 100.0, "step": 0.01, "description": "Multiplies every coordinate as the mesh is written, for example to convert units for a slicer. Does not affect the scene, or a page's PNG." },
11 { "name": "export", "label": "Export", "type": "button", "default": "", "description": "Writes the input to File now, at the current frame, and reports the result on the status line. Nothing is written when the node is merely evaluated.", "group": "action" }
12 ]
13 }