i_overlay 7.0.2

Boolean Operations for 2D Polygons: Supports intersection, union, difference, xor, and self-intersections for all polygon varieties.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
{
  "fillRule": 1,
  "subjPaths": [[[0, 0], [3, 4], [3, 1]], [[0, 0], [2, 1], [2, 2]], [[0, 0], [3, -1], [3, -4]], [[0, 0], [2, -2], [2, -1]]],
  "clipPaths": [],
  "subject": [[[[[0, 0], [3, 4], [3, 1], [0, 0], [2, 1], [2, 2]]], [[[0, 0], [3, -1], [3, -4], [0, 0], [2, -2], [2, -1]]]]],
  "clip": [[]],
  "union": [[[[[0, 0], [3, 4], [3, 1], [0, 0], [2, 1], [2, 2]]], [[[0, 0], [3, -1], [3, -4], [0, 0], [2, -2], [2, -1]]]]],
  "intersect": [[]],
  "difference": [[[[[0, 0], [3, 4], [3, 1], [0, 0], [2, 1], [2, 2]]], [[[0, 0], [3, -1], [3, -4], [0, 0], [2, -2], [2, -1]]]]],
  "inverseDifference": [[]],
  "xor": [[[[[0, 0], [3, 4], [3, 1], [0, 0], [2, 1], [2, 2]]], [[[0, 0], [3, -1], [3, -4], [0, 0], [2, -2], [2, -1]]]]]
}