Layout#
- layout.grid_of_uniform_beams(n_x: int, n_y: int, dimensions: tuple[float, float], thickness: float) Array[source]#
Initialises a grid of crossed Uniform Beams in the domain
- Parameters:
n_x – int - The number of component pairs (crosses) in the x direction
n_y – int - The number of component pairs (crosses) in the y direction
dimensions – tuple[float, float] - The dimensions to fill with the grid
thickness – float - The thickness of the beam components
- Returns:
list[Component] - The list of components
- layout.grid_of_uniform_beams_of_fixed_thickness(n_x: int, n_y: int, dimensions: tuple[float, float], thickness: list[float] | float) Array[source]#
Initialises a grid of crossed Uniform Beams in the domain
- Parameters:
n_x – int - The number of component pairs (crosses) in the x direction
n_y – int - The number of component pairs (crosses) in the y direction
dimensions – tuple[float, float] - The dimensions to fill with the grid
thickness – float - The thickness of the beam components
- Returns:
list[Component] - The list of components