apply_envelope_on_xy

compas_tno.utilities.apply_envelope_on_xy(form, c=0.5)[source]

Apply an envelope to the FormDiagram in the plan (x, y) by a given distance.

Parameters
  • form (FormDiagram) – The input FormDiagram.

  • c (float, optional) – The maximum allowed movement of the nodes in x or y, by default 0.5

Returns

None – The formdiagram is updated in place in the attributes