plot_boundary_conditions#
- planestress.post.plotting.plot_boundary_conditions(ax: matplotlib.axes.Axes, node_loads: list[bc.NodeLoad], line_loads: list[bc.LineLoad], node_supports: list[bc.NodeSupport], line_supports: list[bc.LineSupport], node_springs: list[bc.NodeSpring], line_springs: list[bc.LineSpring], max_dim: float, bc_text: bool, bc_fmt: str, arrow_length_scale: float, arrow_width_scale: float, support_scale: float, num_supports: int, multi_polygon: shapely.MultiPolygon) None [source]#
Plots the boundary conditions.
- Parameters:
ax (matplotlib.axes.Axes) – Axis to plot on.
node_loads (list[bc.NodeLoad]) – List of
NodeLoad
objects.line_loads (list[bc.LineLoad]) – List of
LineLoad
objects.node_supports (list[bc.NodeSupport]) – List of
NodeSupport
objects.line_supports (list[bc.LineSupport]) – List of
LineSupport
objects.node_springs (list[bc.NodeSpring]) – List of
NodeSpring
objects.line_springs (list[bc.LineSpring]) – List of
LineSpring
objects.max_dim (float) – Maximum dimension of the geometry bounding box.
bc_text (bool) – If set to
True
, plots the values of the boundary conditions.bc_fmt (str) – Boundary condition text formatting string.
arrow_length_scale (float) – Arrow length scaling factor.
arrow_width_scale (float) – Arrow width scaling factor.
support_scale (float) – Support scaling factor.
num_supports (int) – Number of line supports to plot internally.
multi_polygon (shapely.MultiPolygon) –
MultiPolygon
describing the geometry.