%% ------------------------------------------------------------------------
% Fiber sections for upper frame
%% ------------------------------------------------------------------------
opsm.pre.setSectionGeometryRecorder(true)
% Interior column section
ops.section('Fiber', 1);
ops.patch('quad', 2, 1, 12, -0.2500, 0.2000, -0.2500, -0.2000, 0.2500, -0.2000, 0.2500, 0.2000);
ops.patch('quad', 1, 1, 14, -0.3000, -0.2000, -0.3000, -0.2500, 0.3000, -0.2500, 0.3000, -0.2000);
ops.patch('quad', 1, 1, 14, -0.3000, 0.2500, -0.3000, 0.2000, 0.3000, 0.2000, 0.3000, 0.2500);
ops.patch('quad', 1, 1, 2, -0.3000, 0.2000, -0.3000, -0.2000, -0.2500, -0.2000, -0.2500, 0.2000);
ops.patch('quad', 1, 1, 2, 0.2500, 0.2000, 0.2500, -0.2000, 0.3000, -0.2000, 0.3000, 0.2000);
ops.layer('straight', 3, 3, 0.000645, -0.2000, 0.2000, -0.2000, -0.2000);
ops.layer('straight', 3, 3, 0.000645, 0.2000, 0.2000, 0.2000, -0.2000);
% Exterior column section
ops.section('Fiber', 2);
ops.patch('quad', 2, 1, 10, -0.2000, 0.2000, -0.2000, -0.2000, 0.2000, -0.2000, 0.2000, 0.2000);
ops.patch('quad', 1, 1, 12, -0.2500, -0.2000, -0.2500, -0.2500, 0.2500, -0.2500, 0.2500, -0.2000);
ops.patch('quad', 1, 1, 12, -0.2500, 0.2500, -0.2500, 0.2000, 0.2500, 0.2000, 0.2500, 0.2500);
ops.patch('quad', 1, 1, 2, -0.2500, 0.2000, -0.2500, -0.2000, -0.2000, -0.2000, -0.2000, 0.2000);
ops.patch('quad', 1, 1, 2, 0.2000, 0.2000, 0.2000, -0.2000, 0.2500, -0.2000, 0.2500, 0.2000);
ops.layer('straight', 3, 3, 0.00051, -0.2000, 0.2000, -0.2000, -0.2000);
ops.layer('straight', 3, 3, 0.00051, 0.2000, 0.2000, 0.2000, -0.2000);
% Beam section
ops.section('Fiber', 3);
ops.patch('quad', 1, 1, 12, -0.2500, 0.2000, -0.2500, -0.2000, 0.2500, -0.2000, 0.2500, 0.2000);
ops.layer('straight', 3, 2, 0.000645, -0.2000, 0.2000, -0.2000, -0.2000);
ops.layer('straight', 3, 2, 0.000645, 0.2000, 0.2000, 0.2000, -0.2000);
%% ------------------------------------------------------------------------
% Fiber sections for lower foundation members
%% ------------------------------------------------------------------------
% Interior foundation column section
ops.section('Fiber', 4);
ops.patch('quad', 5, 1, 12, -0.2500, 0.2000, -0.2500, -0.2000, 0.2500, -0.2000, 0.2500, 0.2000);
ops.patch('quad', 4, 1, 14, -0.3000, -0.2000, -0.3000, -0.2500, 0.3000, -0.2500, 0.3000, -0.2000);
ops.patch('quad', 4, 1, 14, -0.3000, 0.2500, -0.3000, 0.2000, 0.3000, 0.2000, 0.3000, 0.2500);
ops.patch('quad', 4, 1, 2, -0.3000, 0.2000, -0.3000, -0.2000, -0.2500, -0.2000, -0.2500, 0.2000);
ops.patch('quad', 4, 1, 2, 0.2500, 0.2000, 0.2500, -0.2000, 0.3000, -0.2000, 0.3000, 0.2000);
ops.layer('straight', 6, 3, 0.000645, -0.2000, 0.2000, -0.2000, -0.2000);
ops.layer('straight', 6, 3, 0.000645, 0.2000, 0.2000, 0.2000, -0.2000);
% Exterior foundation column section
ops.section('Fiber', 5);
ops.patch('quad', 5, 1, 10, -0.2000, 0.2000, -0.2000, -0.2000, 0.2000, -0.2000, 0.2000, 0.2000);
ops.patch('quad', 4, 1, 12, -0.2500, -0.2000, -0.2500, -0.2500, 0.2500, -0.2500, 0.2500, -0.2000);
ops.patch('quad', 4, 1, 12, -0.2500, 0.2500, -0.2500, 0.2000, 0.2500, 0.2000, 0.2500, 0.2500);
ops.patch('quad', 4, 1, 2, -0.2500, 0.2000, -0.2500, -0.2000, -0.2000, -0.2000, -0.2000, 0.2000);
ops.patch('quad', 4, 1, 2, 0.2000, 0.2000, 0.2000, -0.2000, 0.2500, -0.2000, 0.2500, 0.2000);
ops.layer('straight', 6, 3, 0.00051, -0.2000, 0.2000, -0.2000, -0.2000);
ops.layer('straight', 6, 3, 0.00051, 0.2000, 0.2000, 0.2000, -0.2000);
for i = 1:5
opsm.pre.plotSection(i)
end