mirror of
git://projects.qi-hardware.com/kicad-libs.git
synced 2024-11-20 18:44:04 +02:00
modules/meander-2450MHz.fpd: do not try to add a tail if zero-sized
A zero-sized tail would produce a zero-sized pad, which is no longer allowed.
This commit is contained in:
parent
c8d825ddaa
commit
711147c11d
@ -8,6 +8,12 @@ frame via {
|
|||||||
hole . __0
|
hole . __0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
frame tail {
|
||||||
|
loop if = 1, have_tail
|
||||||
|
__0: vec @(d*tail, W2)
|
||||||
|
pad "X" @ .
|
||||||
|
}
|
||||||
|
|
||||||
frame antenna {
|
frame antenna {
|
||||||
set w = 5mil
|
set w = 5mil
|
||||||
|
|
||||||
@ -61,8 +67,7 @@ frame antenna {
|
|||||||
__31: vec .(-d*W2, 0mm)
|
__31: vec .(-d*W2, 0mm)
|
||||||
__32: vec __30(0mm, -L1)
|
__32: vec __30(0mm, -L1)
|
||||||
pad "X" __31 .
|
pad "X" __31 .
|
||||||
__38: vec .(d*tail, W2)
|
frame tail .
|
||||||
pad "X" __32 .
|
|
||||||
__35: vec __29(d*(D3+tail), D2)
|
__35: vec __29(d*(D3+tail), D2)
|
||||||
line . __34 w
|
line . __34 w
|
||||||
__36: vec .(0mm, -(D2+W2+L6-D4))
|
__36: vec .(0mm, -(D2+W2+L6-D4))
|
||||||
@ -89,9 +94,9 @@ table
|
|||||||
{ 0.5mm, 0.3mm, 0.3mm, 0.5mm, 1.4mm, 1.7mm }
|
{ 0.5mm, 0.3mm, 0.3mm, 0.5mm, 1.4mm, 1.7mm }
|
||||||
|
|
||||||
table
|
table
|
||||||
{ pcb, tail }
|
{ pcb, have_tail, tail }
|
||||||
{ "0.8mm", 3*W2 }
|
{ "0.8mm", 1, 3*W2 }
|
||||||
{ "1.0mm", 0mm }
|
{ "1.0mm", 0, 0mm }
|
||||||
|
|
||||||
table
|
table
|
||||||
{ orient, d }
|
{ orient, d }
|
||||||
@ -128,4 +133,4 @@ measy antenna.__12 >> antenna.__7 0.5mm
|
|||||||
measy antenna.__32 >> antenna.__30 -1mm-tail
|
measy antenna.__32 >> antenna.__30 -1mm-tail
|
||||||
measx antenna.__34 >> antenna.__35 1.5mm-D2
|
measx antenna.__34 >> antenna.__35 1.5mm-D2
|
||||||
measy antenna.__5 >> antenna.__34 1.5mm-D1
|
measy antenna.__5 >> antenna.__34 1.5mm-D1
|
||||||
measx antenna.__32 >> antenna.__38 -1mm
|
measx antenna.__32 >> tail.__0 -1mm
|
||||||
|
Loading…
Reference in New Issue
Block a user