heitzmann / gdstk

Gdstk (GDSII Tool Kit) is a C++/Python library for creation and manipulation of GDSII and OASIS files.
https://heitzmann.github.io/gdstk/
Boost Software License 1.0
324 stars 78 forks source link

QH6412 & QH6235 ERROR when gds file is huge #251

Closed Larson-Li closed 1 week ago

Larson-Li commented 1 month ago

QH6235 qhull error (qh_memalloc): negative request size (-1633304992). Did int overflow due to high-D?

QH6412 qhull input error (qh_initqhull_globals): expecting between 1 and 2147483631 points. Got 2147483646 2-d points

Larson-Li commented 1 month ago

@heitzmann

heitzmann commented 1 month ago

Thanks for the report @Larson-Li. I've fixed the maximum number of points allowed in qhull. It should be working for this commit. Would you be able to confirm the fix?