Path: AerospaceUtils/CAD
% Build a box with panels.
Adds components to the CAD model. The last parameter is for the total
mass of internal components called 'electronics'. The demo creates a new
CAD model and adds the box.
--------------------------------------------------------------------------
Form:
PanelBoxCAD; % demo
PanelBoxCAD( xBox, yBox, zBox, panelThickness, rho, materialPanel,
materialFrame, r, mass, bodyID )
--------------------------------------------------------------------------
------
Inputs
------
xBox (1,1) x dimension of box
yBox (1,1) y dimension of box
zBox (1,1) z dimension of box
panelThickness (1,1) Thickness of panels
rho (1,1) Density of material
materialPanel (1,1) Material color [r,g,b] or name
materialFrame (1,1) Material color [r,g,b] or name
r (3,1) Position
mass (1,1) Optional mass inside (kg)
bodyID (1,1) Body id
-------
Outputs
-------
None
--------------------------------------------------------------------------
AerospaceUtils: CAD/BuildCADModel AerospaceUtils: CAD/CreateBody AerospaceUtils: CAD/CreateComponent Common: ComponentModels/Box Common: ComponentModels/OpenFrame
Back to the AerospaceUtils Module page