slide_diagram

compas_tno.utilities.slide_diagram(form, delta=0.5, y0=0.0, y1=10.0, tappered=False)[source]

Apply a parabolic sliding to the nodes towards +x direction. Sliding profile is defined upon pattern’s height (y-coordinate)

Parameters
  • form (FormDiagram) – The form diagram of the problem

  • delta (float, optional) – Delta distance to apply to the nodes, by default 0.5

  • y0 (float, optional) – Start of parabolic profile, by default 0.0

  • y1 (float, optional) – End of parabolic profile, by default 10.0