diff --git a/README.md b/README.md index ac7905f..e80fe03 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,9 @@ Help support Gdspy development by [donating via PayPal](https://www.paypal.com/c ## History of changes +### Version 1.6.8 (Unreleased) +* Fix in `boolean` for complex geometries that freeze the operation. + ### Version 1.6.7 (Jul 14, 2021) * Fixes in `boolean` for bugs with self-intersecting holes and holes horizontal edges. * Fix bug in warning message. diff --git a/gdspy/clipper.cpp b/gdspy/clipper.cpp index af193a3..f5a599e 100644 --- a/gdspy/clipper.cpp +++ b/gdspy/clipper.cpp @@ -4909,7 +4909,7 @@ static PyObject* clip(PyObject *self, PyObject *args) Paths subj, clip, result; PolyTree solution; ClipType oper; - Clipper clpr(ioStrictlySimple); + Clipper clpr; if (!PyArg_ParseTuple(args, "OOsd:clip", &polyA, &polyB, &operation, &scaling)) return NULL; @@ -5144,7 +5144,7 @@ static PyObject* chop(PyObject *self, PyObject *args) Paths subj(1); Paths clip(1, Path(4)); PolyTree solution; - Clipper clpr(ioStrictlySimple); + Clipper clpr; cInt bb[4]; cInt pos; long num_cuts; diff --git a/tests/test.gds b/tests/test.gds index 05c6c5e..6fc1ded 100644 Binary files a/tests/test.gds and b/tests/test.gds differ