YAPPgenerator_en
  • Yet Another Parametric Projectbox generator
  • What you need
  • Getting Started
  • Design Philosophy
  • Coordinate Systems
  • YAPPgenerator API
  • YAPP Box Settings
    • Multiple PCBs
  • Standoffs
    • pcbStands (advanced)
  • Connecting Base and Lid
    • Connecting Base and Lid (advanced)
  • Cutouts
    • n(h) - yappFromInside
    • p(6) - Cutout Depth
    • Placement of the project box
      • Cutouts in the Base Plane
      • Cutouts in the Lid Plane
      • Cutouts in the Front Plane
      • Cutouts in the Back Plane
      • Cutouts in the Left Plane
      • Cutouts in the Right Plane
    • Shapes
    • Optional Parameters
      • p(7) - Angle
      • n(a) = Polygon Definition
      • n(b)/n(c) - Mask Definition
      • n(d) - Coordinate System
      • n(e) - Position reference
      • n(f) - Alternate Origin
      • n(g) - PCB Selection
  • Box Mounts
    • boxMounts (advanced)
  • Snap Joins
  • Light Tubes
  • Push Buttons
    • Optional Parameters
  • Ridge Extension
  • Labels
  • Images
  • Hooks
  • Debugging
  • Advanced Options
    • Specify a PCB
    • Position reference
    • Polygon Definitions
    • Mask Definitions
  • Generating STL file from KiCad
  • License
Powered by GitBook
On this page
  1. Cutouts
  2. Optional Parameters

n(a) = Polygon Definition

Previousp(7) - AngleNextn(b)/n(c) - Mask Definition

Last updated 1 year ago

n(a) = { yappPolygonDef } : Required if shape = yappPolygon specified
  • Predefined Shapes:"

  • shapeIsoTriangle - An Isosceles triangle. Note the width is equal to the bounding width but the height is less.

  • shapeIsoTriangle2 - an Isosceles triangle with the center at the center of the bounding box.

  • shapeHexagon - a hexagon centered in the bounding rectangle.

  • shape6ptStar - a 6 pointed star centered in the bounding rectangle.

  • shapeTriangle - triangle with height and width matching the bounding rectangle but centered in the rectangle.

  • shapeTriangle2- triangle with height and width matching the bounding rectangle. At 90 degree increments the base of the triangle aligns with the bounding box.

  • shapeArrow - Home plate shaped arrow. Useful for buttons.

Notice how the center affects the rotation of the shapes.

see to create your own polygons.

Polygon Definition
20x20 shapes with the bounding rectangle in pink.