weights_from_xyz_dict
- compas_tno.algorithms.weights_from_xyz_dict(xyz, tributary_dict, thk=0.5, density=20.0)[source]
Compute the trbutary weights based on the geometry of the structure and a tributary dictionary.
- Parameters
xyz (array [n x 3]) – The XYZ coordinates of the thrust network
tributary_dict (dict) – The dictionary with the list of the triangles to compute the tributary area
thk (float, optional) – The thickness of the structure to compute the tributary volumes, by default 0.5
density (float, optional) – The density of the structure to compute the applied vertical loads, by default 20.0
- Returns
pz (array [n x 1]) – The vertical loads applied ar each node