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,
        0
      ],
      [
        0,
        1000
      ],
      [
        1000,
        0
      ],
      [
        0,
        -1000
      ]
    ]
  ],
  "string": [
    [
      [
        1000,
        1000
      ],
      [
        0,
        0
      ],
      [
        -1000,
        1000
      ]
    ],
    [
      [
        1000,
        -1000
      ],
      [
        0,
        0
      ],
      [
        -1000,
        -1000
      ]
    ]
  ],
  "slice": [
    [[[[-1000, 0], [-500, -500], [0, 0], [-500, 500]]], [[[-500, -500], [0, -1000], [500, -500], [0, 0]]], [[[-500, 500], [0, 0], [500, 500], [0, 1000]]], [[[0, 0], [500, -500], [1000, 0], [500, 500]]]]
  ],
  "clip_direct": [
    [[[500, -500], [0, 0], [-500, -500]], [[500, 500], [0, 0], [-500, 500]]]
  ],
  "clip_invert": [
    [[[-500, -500], [-1000, -1000]], [[-500, 500], [-1000, 1000]], [[1000, -1000], [500, -500]], [[1000, 1000], [500, 500]]]
  ]
}