# fib_sec_list_to_cmds (ops_vis)¶

ops_vis.fib_sec_list_to_cmds(fib_sec_list)[source]

Reuses fib_sec_list to define fiber section in OpenSees.

At present it is not possible to extract fiber section data from the OpenSees domain, this function is a workaround. The idea is to prepare data similar to the one the regular OpenSees commands (section('Fiber', ...), fiber(), patch() and/or layer()) require.

Parameters: fib_sec_list (list) – is a list of fiber section data. First sub-list defines the torsional stiffness (also) –

Warning:

If you use this function, do not issue the regular OpenSees: section, Fiber, Patch or Layer commands.

ops_vis.plot_fiber_section()