Using the compas.numerical.DynamicRelaxation() solver with the default backend works for me:
dr = DynamicRelaxation()
xyz, q, f, l, r = dr(vertices, edges, fixed, loads, qpre, fpre,
lpre, linit, E, radius, kmax=100,
callback=callback)
However, switching to the numpy
backend by writing dr = DynamicRelaxation(backend='numpy')
dose not work and I get the following message:
Message: global name 'array' is not defined
Traceback:
line 225, in dr_numpy, "C:\Users\sehlstro\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\compas\numerical\dr\dr_numpy.py"
line 136, in __call__, "C:\Users\sehlstro\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\compas\numerical\dr\__init__.py"
line 130, in <module>, "C:\Users\sehlstro\Desktop\planartripod.py"
Im am running my script in IronPython in Rhino 5.0 on a Windows 10 computer.