weights_from_xyz_dict

compas_tno.algorithms.weights_from_xyz_dict(xyz, tributary_dict, thk=0.5, density=20.0)

Compute the trbutary weights based on the geometry of the structure and a tributary dictionary.

Parameters:
xyzarray [n x 3]

The XYZ coordinates of the thrust network

tributary_dictdict

The dictionary with the list of the triangles to compute the tributary area

thkfloat, optional

The thickness of the structure to compute the tributary volumes, by default 0.5

densityfloat, optional

The density of the structure to compute the applied vertical loads, by default 20.0

Returns:
pzarray [n x 1]

The vertical loads applied ar each node