vertical_from_zmax¶
- 
compas_tna.equilibrium.vertical_from_zmax(form, zmax, kmax=100, xtol=0.01, rtol=0.001, density=1.0, display=False)[source]¶
- For the given form and force diagram, compute the scale of the force diagram for which the highest point of the thrust network is equal to a specified value. - Parameters
- form (compas_tna.diagrams.formdiagram.FormDiagram) – The form diagram 
- force (compas_tna.diagrams.forcediagram.ForceDiagram) – The corresponding force diagram. 
- zmax (float) – The maximum height of the thrust network (the default is None, which implies that the maximum height will be equal to a quarter of the diagonal of the bounding box of the form diagram). 
- kmax (int) – The maximum number of iterations for computing vertical equilibrium (the default is 100). 
- tol (float) – The stopping criterion. 
- density (float) – The density for computation of the self-weight of the thrust network (the default is 1.0). Set this to 0.0 to ignore self-weight and only consider specified point loads. 
- display (bool) – If True, information about the current iteration will be displayed. Default is False. 
 
- Returns
- float – The scale of the forcedensities.