Generates the surface properties needed by DSim for a simple CubeSat 3U.

------------------------------------------------------------------------
See also Box, SaveSurfacePropertiesDSim
------------------------------------------------------------------------

Contents

%--------------------------------------------------------------------------
%   Copyright (c) 2010 Princeton Satellite Systems, Inc.
%   All Rights Reserved
%--------------------------------------------------------------------------
%   Since version 9.
%--------------------------------------------------------------------------

surface properties [ absorbed specular diffuse transmitted ]

%-------------------------------------------------------------
goldFoil   = [ 0.0; 0.29; 0.71; 0.0 ];
mirror     = [ 0.0; 0.69; 0.31; 0.0 ];
whitePaint = [ 0.0; 0.48; 0.52; 0.0 ];
cD         = 2.7;

Corners

%--------
x          = 0.1; % m
y          = 0.1; % m
z          = 0.3; % m

Create a box

%-------------
[v, f]     = Box( x, y, z );


file = fopen('CubeSatSurfaceProps.txt','wt');
fprintf(file,'[\n');

SaveSurfacePropertiesDSim( file, v, f, cD, goldFoil );

fprintf(file,']\n');
fclose(file);




%--------------------------------------