summaryrefslogtreecommitdiff
path: root/bbxm
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-10-26 11:31:46 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-10-26 11:31:46 (GMT)
commitcbc5e0cfc37ee6662a04980a1e1e00aa65a0b117 (patch)
tree06ac70c3069cc265f62e7474297bcdc58863942d /bbxm
parenta054956dd5ea94d2cfe9aa8b4711938cfa994a84 (diff)
downloadmisc-cbc5e0cfc37ee6662a04980a1e1e00aa65a0b117.zip
misc-cbc5e0cfc37ee6662a04980a1e1e00aa65a0b117.tar.gz
misc-cbc5e0cfc37ee6662a04980a1e1e00aa65a0b117.tar.bz2
bbxm/bbxm.fpd: improve P10 pin 1 location; add copper fill outline; guess edge
Diffstat (limited to 'bbxm')
-rw-r--r--bbxm/bbxm.fpd49
1 files changed, 40 insertions, 9 deletions
diff --git a/bbxm/bbxm.fpd b/bbxm/bbxm.fpd
index 2d755c6..a0f5eaf 100644
--- a/bbxm/bbxm.fpd
+++ b/bbxm/bbxm.fpd
@@ -8,9 +8,7 @@ frame pin1 {
{ "P13", 195mil, 1765mil }
{ "P17", 1855mil, 690mil }
{ "P18", 2175mil, 2300mil }
- { "P10", 395mil, 800mil }
-
- set _ = 0
+ { "P10", (395mil+255mil)/2+25mil, 800mil }
__0: vec @(x, y)
__1: vec .(pin1_r, pin1_r)
@@ -56,12 +54,38 @@ frame spacer {
line . __1 spacer_w
}
+frame outline {
+ set w = 3350mil
+
+ set h = 3450mil
+
+ __0: vec @(cx, cy)
+ __1: vec .(-w/2, h/2)
+ __2: vec __0(w/2, -h/2)
+ rect __1 . outline_w
+}
+
+frame fill {
+ table
+ { x0, y0, x1, y1 }
+ { -125mil, -370mil, 3175mil, 2950mil }
+
+ set cx = (x0+x1)/2
+
+ set cy = (y0+y1)/2
+
+ __0: vec @(x0, y0)
+ __1: vec @(x1, y1)
+ rect __0 . fill_w
+ frame outline @
+}
+
package "BB-xM"
unit mil
-set box_w = 0.2mm
+set box_w = 0.4mm
-set pin1_w = 0.1mm
+set pin1_w = 0.2mm
set pin1_r = 0.5mm
@@ -69,14 +93,21 @@ set spacer_w = 0.5mm
set spacer_r = 5mm
+set fill_w = 0.2mm
+
+set outline_w = 0.6mm
+
frame spacer @
frame box @
frame pin1 @
-measx spacer.__0 -> spacer.__0 -10mm
-measy spacer.__0 -> spacer.__0 15mm
-measy spacer.__0 -> pin1.__0 5mm
+frame fill @
+measx spacer.__0 -> spacer.__0 -15mm
+measy spacer.__0 -> spacer.__0 20mm
+measy spacer.__0 -> pin1.__0 10mm
measx spacer.__0 -> pin1.__0
measx spacer.__0 >> pin1.__0
-measy spacer.__0 >> pin1.__0 10mm
+measy spacer.__0 >> pin1.__0 15mm
measx box.__0 -> box.__1 15mm
measy box.__0 -> box.__1 5mm
+measx outline.__1 >> outline.__2 5mm
+measy outline.__2 >> outline.__1 -5mm