real center_width = 1.6;
real center_height = 0.9;
+real clearance = 0.0061 * 25.4;
+real mask = 0.07;
real pad_x_off = package_width / 2 - (pad_width - pad_expose) / 2 + pad_expose;
element_start("s-pwson-n8");
/* full center pad */
-pad_mm_options(0, 0, center_width, center_height, "9", "9", "square,nopaste");
+pad_mm_clear_mask_options(0, 0, center_width, center_height, 0, center_height + mask, "9", "9", "square,nopaste");
/* 63% paste coverage */
real paste_coverage = 0.63;
real paste_coverage_scale = sqrt(paste_coverage);
-pad_mm_options(0, 0, center_width * paste_coverage_scale,
- center_height * paste_coverage_scale, "9", "9", "square");
+pad_mm_clear_mask_options(0, 0, center_width * paste_coverage_scale,
+ center_height * paste_coverage_scale, 0, center_height + mask, "9", "9", "square");
real pad_y_off = pad_y_spacing / 2;
for (int pad = 0; pad < num_pad; pad++) {
/* bottom side (1-4) */
- pad_mm(pad_off(pad),
- -pad_y_off,
- pad_width,
- pad_height,
- sprintf("%d", pad + 1),
- sprintf("%d", pad + 1));
+ pad_mm_clear_mask_options(pad_off(pad),
+ -pad_y_off,
+ pad_width,
+ pad_height,
+ clearance * 2, pad_width + mask,
+ sprintf("%d", pad + 1),
+ sprintf("%d", pad + 1), "square");
/* top side (8-5) */
- pad_mm(pad_off(pad),
- pad_y_off,
- pad_width,
- pad_height,
- sprintf("%d", 8 - pad),
- sprintf("%d", 8 - pad));
+ pad_mm_clear_mask_options(pad_off(pad),
+ pad_y_off,
+ pad_width,
+ pad_height,
+ clearance * 2, pad_width + mask,
+ sprintf("%d", 8 - pad),
+ sprintf("%d", 8 - pad), "square");
}