MakeSquareSail:
% Generate a flat, square, nonideal sail in the Y/Z plane, using CP1 properties
The sail front is along +X in the body frame.
The vertices and faces for a simple square are defined explicitly.
The inertia is calculated for a square plate using the total mass.
There are no other components.
See LoadingToAccel and SailPropsToAccel. Additional sail sizing
functions are in Utilities.
--------------------------------------------------------------------------
Form:
g = MakeSquareSail( accel, mass, fileName )
--------------------------------------------------------------------------
------
Inputs
------
accel (1,1) Characteristic acceleration, m/s2
mass (1,1) Sail mass (kg)
fileName (1,:) Name of a file to save to in SailData, optional
-------
Outputs
-------
g (:) CAD model
--------------------------------------------------------------------------
Children:
AeroUtils: CAD/BuildCADModel
AeroUtils: CAD/CreateBody
AeroUtils: CAD/CreateComponent
Common: FileUtils/FindDirectory
Common: General/SaveStructure
Common: MassProperties/Inertias
Sail: SailModeling/CP1Props
Sail: Utilities/AccelToLoading