Path: AerospaceUtils/ComponentModels
% Add a component to a CAD model.
To use this function type
AddCubesatComponent( 'My CubeSat Name' );
Then call it once for each component with pairs of inputs. position or
dimensions units are input in mm and converted to m inside the function.
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
file
path
List of INSIDE devices supported:
board
gps
box
rectangular hysteresis damper
cylindrical hysteresis damper
reaction wheel
imu
torquer
air core torquer
external (OBJ file)
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
--------------------------------------------------------------------------
AerospaceUtils: CAD/BuildCADModel AerospaceUtils: CAD/CreateComponent AerospaceUtils: Coord/QLVLH CubeSat: Modeling/LoadOBJModel Common: ComponentModels/AggregateComponents Common: ComponentModels/OpenFrame Common: General/DeleteCell Common: Quaternion/Q2Mat Common: Quaternion/U2Q
Back to the AerospaceUtils Module page