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

nodes/boolean.json (1K)

 1 {
 2  "name": "Boolean",
 3  "type": "boolean",
 4  "inputs": 2,
 5  "outputs": 1,
 6  "params": [
 7   { "name": "input", "label": "Input", "type": "node", "default": "", "description": "The node whose geometry is the first operand, the shape the second is combined with or cut from." },
 8   { "name": "with", "label": "With", "type": "node", "default": "", "description": "The node whose geometry is the second operand: joined for Union, kept in common for Intersect, or cut away for Subtract." },
 9   { "name": "operation", "label": "Operation", "type": "choice:Union,Intersect,Subtract", "default": "Union", "description": "Union joins both shapes, Intersect keeps only where they overlap, and Subtract removes the With shape from the Input." },
10   { "name": "voxel_size", "label": "Voxel Size", "type": "slider", "default": "0.05", "min": 0.005, "max": 1.0, "step": 0.005, "description": "Grid spacing in world units of the distance fields both shapes are sampled on. Smaller gives finer, cleaner edges but costs more.", "group": "resolution" }
11  ]
12 }