Closed yck011522 closed 5 years ago
yes that makes sense. there have been some changes in the way compas
makes numpy
-dependent functionality available and that triggered an error when importing convex_hull_numpy
in Rhino. try updating compas_assembly
to 0.1.8
and let me know what happens.
have done a few more updates. latest version is 0.2.1
...
Hi Tom, Thanks for the speedy update. Now it all works.
Describe the bug I made a fresh install of compas and compas_assembly using Anaconda Prompt (Admin Mode)
To verify it, I go into python (Python 3.7.3 | packaged by conda-forge | (default, Jul 1 2019, 22:01:29) [MSC v.1900 64 bit (AMD64)] :: Anaconda, Inc. on win32). Type in the following line:
from compas_assembly.datastructures import Assembly
No error.
However, when using the same line from Rhino, the following error appeared:
Message: cannot import convex_hull_numpy from compas.geometry
To Reproduce Steps to reproduce the behavior:
Message: cannot import convex_hull_numpy from compas.geometry
Traceback: line 5, in, "C:\Users\leungp\AppData\Roaming\McNeel\Rhinoceros\6.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\compas_assembly\datastructures\hull_numpy.py"
line 60, in , "C:\Users\leungp\AppData\Roaming\McNeel\Rhinoceros\6.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\compas_assembly\datastructures__init__.py"
line 18, in , "G:\01_Projekte\270_PhD_SpatialTimberStructures\03_Design\20190716 YiJiang Integration\TestScript.py"
Expected behavior No error
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.