apply_selfweight_from_shape

compas_tno.utilities.apply_selfweight_from_shape(form, shape, pz_negative=True, normalize=True)[source]

Apply selfweight to the nodes of the form diagram based on the shape

Parameters
  • form (FormDiagram) – Form diagram to apply the selfweight

  • shape (Shape) – Shape of the masonry

  • pz_negative (bool, optional) – Wether or not the vertical loads are negative, by default True

  • normalize (bool, optional) – Wether or not normalise the selfweight to match shape.total_weight, by default True

Returns

None – The FormDiagram is modified in place