Bird
0
0
PCB Designbi_tool~10 mins

Creating custom footprints in PCB Design - Formula Evaluation Walkthrough

Choose your learning style9 modes available
Sample Data

This data represents the pad layout for a custom PCB footprint with pad names, their X and Y positions in millimeters, and pad sizes.

CellValue
A1Pad Name
B1X Position (mm)
C1Y Position (mm)
D1Pad Size (mm)
A2Pad1
B20
C20
D21.5
A3Pad2
B35
C30
D31.5
A4Pad3
B40
C45
D41.5
A5Pad4
B55
C55
D51.5
Formula Trace
Calculate footprint bounding box width = MAX(B2:B5) - MIN(B2:B5)
Step 1: MAX(B2:B5)
Step 2: MIN(B2:B5)
Step 3: MAX(B2:B5) - MIN(B2:B5)
Cell Reference Map
    B   
  +-----+
2 |  0  |
3 |  5  |
4 |  0  |
5 |  5  |
The formula uses the X Position values in cells B2 to B5 to calculate the footprint width.
Result
    A       B       C       D       E
1 | Pad Name | X Pos  | Y Pos  | Size  |
2 | Pad1     | 0      | 0      | 1.5   |
3 | Pad2     | 5      | 0      | 1.5   |
4 | Pad3     | 0      | 5      | 1.5   |
5 | Pad4     | 5      | 5      | 1.5   |
6 | Footprint Width: 5 mm                   |
The footprint width calculated from the pad X positions is 5 mm, shown below the pad data.
Sheet Trace Quiz - 3 Questions
Test your understanding
What is the maximum X position among the pads?
A0
B1.5
C5
D10
Key Result
Calculate footprint dimension by subtracting minimum coordinate from maximum coordinate in pad positions.