create_cross_with_diagonal
- compas_tno.diagrams.create_cross_with_diagonal(cls, xy_span=[[0.0, 10.0], [0.0, 10.0]], discretisation=10, fix='all')[source]
Construct a FormDiagram based on cross discretiastion with diagonals.
- Parameters
xy_span (list, optional) – List with initial- and end-points of the vault, by default [[0.0, 10.0], [0.0, 10.0]]
discretisation (int, optional) – Set the density of the grid in x and y directions, by default 10
fix (str, optional) – Option to select the constrained nodes: ‘corners’, ‘all’ are accepted, by default ‘corners’
- Returns
FormDiagram
– The FormDiagram created.