%% Mesh Rotated Mitered Bend Shape
% Create a mitered bend shape of lengths of 10 m and 2 m, width of 2 m, and rotate it about the Z-axis by 60 degrees.

bend = bendMitered(Length=[10 2],Width=[2 2],MiterDiagonal=1);
bend = rotateZ(bend,60)
show(bend)

%
% Mesh the mitered bend shape at a maximum edge length of 1 m.

mesh(bend,MaxEdgeLength=1)

% Copyright 2020 The MathWorks, Inc.