AddCubesatComponent:

Path: AerospaceUtils/ComponentModels

% Add a component to a CAD model.
 Position or length units are in mm. To use this function type

  AddCubesatComponent( 'My CubeSat Name' );

 Then call it once for each component with pairs of inputs.
 Some examples:

	  AddCubesatComponent( 'device', 'frame', 'name', 'Frame', 'subtype',
 	                     '3U'  )

	  AddCubesatComponent( 'device', 'board', 'name', 'CPU', 'position',	
                      cPUBoardPosition, 'power', cPUBoardPower   )


 'position' is an array [x;y;z] except for boards when it is the
 z position in the frame. Boards fill up the entire crossectional area.

 Type AddCubesatComponent for a demo.

 List of input types supported:

   device
   name
   subtype
   position
   power
   unit vector
   boresight 
   mass
   outward normal
   dimensions
   dipole
   color
   transformation matrix

 List of INSIDE devices supported:

   board               
   gps
   box
   rectangular hysteresis damper
   cylindrical hysteresis damper
   reaction wheel
   imu
   torquer

 List of OUTSIDE devices supported:
   frame
   antenna
   solar panel
   goid foil
   radiator
   camera
   magnetometer
 
--------------------------------------------------------------------------
   Form:
   AddCubesatComponent( varargin )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   varargin       {} Pairs of 'type' and 'data'

   -------
   Outputs
   -------
   None

--------------------------------------------------------------------------

Children:

AerospaceUtils: CAD/BuildCADModel
AerospaceUtils: CAD/CreateComponent
AerospaceUtils: Coord/QLVLH
Common: General/DeleteCell
Common: Quaternion/Q2Mat
Common: Quaternion/U2Q

Back to the AerospaceUtils Module page