Boolean operation

Boolean geometry operations require the geometry it operates on to be defined:

PropertyTypeDescription
type'union', 'intersection', 'difference', 'xor'
conditionformula (optional)
repeatrepeat (optional)
stepboolean, formula (optional)
defsDefinition (optional)
geometryGeometryThe geometry used in the Boolean operation
{ type: "union", geometry: [ { type: "ellipse", x: 0.25, w: 0.75, h: 0.75 } { type: "ellipse", y: 0.25, w: 0.75, h: 0.75 } ] }

Union

{ type: "intersection", geometry: [ { type: "ellipse", x: 0.25, w: 0.75, h: 0.75 } { type: "ellipse", y: 0.25, w: 0.75, h: 0.75 } ] }

Intersection

{ type: "difference", geometry: [ { type: "ellipse", x: 0.25, w: 0.75, h: 0.75 } { type: "ellipse", y: 0.25, w: 0.75, h: 0.75 } ] }

Difference

{ type: "xor", geometry: [ { type: "ellipse", x: 0.25, w: 0.75, h: 0.75 } { type: "ellipse", y: 0.25, w: 0.75, h: 0.75 } ] }

XOR


Did this page help you?