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. Push Buttons

Optional Parameters

  • p(9) = Height to top of PCB : Default = standoffHeight + pcbThickness

    • This can be used to specify the distance from the bottom of the case to eh bottom of the Switch. If the switch isn't located on a PCB.

  • p(10) = { | yappCircle | yappPolygon | yappRoundedRect | yappCircleWithFlats | yappCircleWithKey } : Shape of the pushbutton. See Cutouts->Shapes for examples.

  • p(11) = angle : Default = 0

  • p(12) = filletRadius : Default = 0/Auto

  • p(13) = buttonWall : Default = 2.0;

  • p(14) = buttonPlateThickness : Default= 2.5;

  • p(15) = buttonSlack : Default= 0.25;

  • p(16) = snapSlack : Default= 0.10;

  • n(a) = { | yappCoordBox | yappCoordBoxInside }

  • n(b) = { , yappLeftOrigin }

  • n(c) = { yappNoFillet }

  • n(d) = [yappPCBName, "XXX"] : Specify a PCB. Defaults to [yappPCBName, "Main"]

PreviousPush ButtonsNextRidge Extension

Last updated 1 year ago