SymmetricProblem.from_formdiagram

classmethod SymmetricProblem.from_formdiagram(form, base_problem=None, list_axis_symmetry=None, center=None, correct_loads=True, printout=False)

Create a SymmetricProblem from a FormDiagram with symmetry constraints.

Parameters:
formFormDiagram

The FormDiagram containing the network geometry, loads, and constraints.

list_axis_symmetrylist, optional

List of the axis of symmetry to consider, by default None. If None, symmetry is inferred from the diagram type.

centerlist, optional

The center of the pattern if it’s a circular pattern, by default None.

correct_loadsbool, optional

Whether to update applied loads regarding the symmetry, by default True.

printoutbool, optional

Whether to print progress information, by default False.

Returns:
SymmetricProblem

A fully initialized SymmetricProblem with symmetry applied.

Examples

>>> form = FormDiagram.create_circular_radial(...)
>>> problem = SymmetricProblem.from_formdiagram(form)
>>> problem.k  # number of independent edges (reduced by symmetry)