DrawSpacecraftStruct:

Path: CubeSat/Visualization

% Create the structure needed by DrawSpacecraftInOrbit
 Replace v and f with the vertex/face information for your model.
--------------------------------------------------------------------------
   Form:
   g = DrawSpacecraftStruct()
--------------------------------------------------------------------------
   ------
   Inputs
   ------
   None.

   -------
   Outputs
   -------
   g        (.)    Data structure
                      .name    String name of spacecraft
                      .v     (n,3)  Vertices  
                      .f     (n,3)  Faces     
                      .scale (1,1)  Scale     
                      .color (1,3)  Color spacecraft
                      .alpha (1,1)  Transparency (0-1)

--------------------------------------------------------------------------
  See also: DrawSpacecraftInOrbit
--------------------------------------------------------------------------

Children:

CubeSat: Utilities/CubeSatModel

Back to the CubeSat Module page