numpy_geometry
numpy_geometry copied to clipboard
Import updates to fix tool loading
Fixes https://github.com/Dan-Patterson/numpy_geometry/issues/5
- The absolute imports in
npg_bool_hlp.pydon't resolve correctly, so I moved them to be relative imports. - In
tbx_tools.py, the linefrom npg.npg_overlay import dissolve, merge_has two issues: a. There is no function in the repo calleddissolve, causing an import error. A quick read suggests this might beunion_adjinsidenpg_bool_ops, so I've updated accordingly. b. The functionmerge_exists innpg_bool_ops, notnpg_overlay, so I've updated accordingly.
I've only tested this with a couple of tools, but it seems to run fine.