// Shift-Enter to render // let x = union(sphere().as('a').material('metal'), cube({ size: 1, center: true }).translate([0.5, 0.5, 0.5]).as('b'), cube({ size: 1, center: true }).translate([0.5, 0, 0]).as('c').material('metal')) writePaths({ path: 'window' }, x.toPaths({ tags: ['a'] }), x.toPaths({ tags: ['b'] }), x.toPaths({ tags: ['c'] }))