PanelWithCutout:

Path: AerospaceUtils/ComponentModels

% Get CAD vertices and faces for a panel with a cutout.
 Type PanelWithCutout to see a demo that creates a rectangular plate 
 with a hexagonal cutout.
--------------------------------------------------------------------------
   Form:
   [v, f, vol] = PanelWithCutout( xW, yW, t, c )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   xW         (1,1) x width of the panel  (x)
   yW         (1,1) y width
   t          (1,1) Thickness (Can be zero)
   c          (1,1)  
                    .x (1,1) x location
                    .y (1,1) y location 
                    .r (1,1) z location
                    .n (1,1) Number of points in cutout

   -------
   Outputs
   -------
   v          (:,3)  Vertices
   f          (:,3)  Faces
   vol        (1,1)  Volume of panel (area if flat)

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

Children:

AerospaceUtils: CAD/AreaTriMesh
Common: CommonData/SwooshWatermark
Common: ComponentModels/Box
Common: General/DeBlankLT
Common: General/Watermark
Common: Graphics/DrawVertices
Common: Graphics/NewFig
Common: Graphics/PltStyle
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
Math: Linear/Mag
Math: Linear/Unit

Back to the AerospaceUtils Module page