Path: AerospaceUtils/ComponentModels
% Get vertices and faces for solar array CAD models. Two sets are created, one for the front and one for the back. The array is nominally in the xz-plane. Its center is at x = 0 and it goes from z = 0 to z = length. The cell face normal is +Y. If there are no outputs the function will draw the components in a figure. -------------------------------------------------------------------------- Form: [mFront, mBack] = ArrayPatch( d ) -------------------------------------------------------------------------- ------ Inputs ------ d Data structure d.nZ Number of segments along z d.nX Number of segments along x d.z Dimension of each panel in z d.x Dimension of each panel in x d.theta(d.nX) Angle between panels along z. Sign determines the sign of the first panel. One element is required for each nX If omitted will be set to zero. d.accordion If true don't alternate angles d.dirZ If entered gives the direction for z ------- Outputs ------- mFront struct( 'v', 'f' ) mBack struct( 'v', 'f' ) --------------------------------------------------------------------------
Common: General/DeBlankLT Common: Graphics/NewFig Common: Graphics/PltStyle Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS
Back to the AerospaceUtils Module page