Skip to content

Again: I just don't understand anymore #139

Description

@mrWheel

Given this program

program.txt

These are the main code parts that are involved:

//Defined here so you can define the "Main" PCB using these if wanted
pcbLength           = 91; // front to back (X axis)
pcbWidth            = 44; // side to side (Y axis)
pcbThickness        = 7; 
standoffHeight      = 18.0; //-- How much the PCB needs to be raised from the base to leave room for solderings and whatnot
standoffDiameter    = 7;
standoffPinDiameter = 2.4;
standoffHoleSlack   = 0.4;

pcb = 
[
  // Default Main PCB - DO NOT REMOVE the "Main" line.
  ["Main", pcbLength, pcbWidth, 0, 0, pcbThickness,  standoffHeight, standoffDiameter, standoffPinDiameter, standoffHoleSlack]
];

//-- padding between pcb and inside wall
paddingFront        =  5;
paddingBack         = 25;
paddingRight        =  5;
paddingLeft         =  5;

//-- Edit these parameters for your own box dimensions
wallThickness       = 2.0;
basePlaneThickness  = 1.5;
lidPlaneThickness   = 1.5;

baseWallHeight      =  6;
lidWallHeight       = 24;

//-------------------------------------------------------------------
connectors   =
[//- 0, 1,     2, 3, 4, 5,       6,      7, 8
    [3, 3.2, -20, 3, 7, 3.5+0.4, 7+0.4, 20, 4
          , yappBoth, yappHole, yappAllCorners
          , yappCoordPCB
          , yappCountersink
          , [yappPCBName, "Main"]
          , yappThroughLid]
];

It seems impossible to get the Connectors of the right length!

Image

I just want the PCB to be clamped by the connectors.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions