i_overlay 6.0.0

Boolean Operations for 2D Polygons: Supports intersection, union, difference, xor, and self-intersections for all polygon varieties.
Documentation
{
  "fillRule": 0,
  "body": [
    [
      [
        -1000,
        -1000
      ],
      [
        -1000,
        1000
      ],
      [
        1000,
        1000
      ],
      [
        1000,
        -1000
      ]
    ]
  ],
  "string": [
    [
      [
        500,
        2000
      ],
      [
        -500,
        -500
      ],
      [
        500,
        0
      ],
      [
        -500,
        -2500
      ]
    ]
  ],
  "slice": [
    [[[[100, -1000], [500, 0], [-500, -500], [100, 1000], [-1000, 1000], [-1000, -1000]]], [[[500, 0], [100, -1000], [1000, -1000], [1000, 1000], [100, 1000], [-500, -500]]]]
  ],
  "clip_direct": [
    [[[100, 1000], [-500, -500]], [[-500, -500], [500, 0], [100, -1000]]]
  ],
  "clip_invert": [
    [[[100, -1000], [-500, -2500]], [[500, 2000], [100, 1000]]]
  ]
}