Wrench.
from_data
Construct a wrench from its data representation.
data (dict) – The data dictionary.
dict
Wrench – The constructed wrench.
Wrench
Examples
>>> data = {"force": [1, 2, 3], "torque": [0.1, 0.2, 0.3]} >>> w = Wrench.from_data(data)
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2020 compas-dev