mesh_fd_constrained_numpy

compas_fd.fd.mesh_fd_constrained_numpy(mesh: CableMesh, kmax: int = 100, damping: float = 0.1, tol_res: float = 0.001, tol_disp: float = 0.001) CableMesh[source]

Iteratively find the equilibrium shape of a mesh for the given force densities.

Parameters:

mesh (compas_fd.datastructures.CableMesh) – The mesh to equilibriate.

Returns:

compas_fd.datastructures.CableMesh – The function updates the mesh in place, but returns a reference to the updated mesh as well for compatibility with RPCs.