i_overlay 6.0.0

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, -100], [0, 250], [230, 250], [230, 170], [300, 170], [180, 100], [300, 100]], [[200, 200], [20, 200], [330, -70], [20, -70]]],
  "clipPaths": [],
  "subject": [[[[[0, -100], [0, 250], [230, 250], [230, 170], [300, 170], [180, 100], [300, 100], [206, 38], [330, -70], [45, -70]], [[200, 200], [20, 200], [134, 101]]]]],
  "clip": [[]],
  "union": [[[[[0, -100], [0, 250], [230, 250], [230, 170], [300, 170], [180, 100], [300, 100], [206, 38], [330, -70], [45, -70]], [[200, 200], [20, 200], [134, 101]]]]],
  "intersect": [[]],
  "difference": [[[[[0, -100], [0, 250], [230, 250], [230, 170], [300, 170], [180, 100], [300, 100], [206, 38], [330, -70], [45, -70]], [[200, 200], [20, 200], [134, 101]]]]],
  "inverseDifference": [[]],
  "xor": [[[[[0, -100], [0, 250], [230, 250], [230, 170], [300, 170], [180, 100], [300, 100], [206, 38], [330, -70], [45, -70]], [[200, 200], [20, 200], [134, 101]]]]]
}