delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
X-Recipient: | geda-user AT delorie DOT com |
X-Original-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=wellesley-edu.20150623.gappssmtp.com; s=20150623; | |
h=from:message-id:mime-version:subject:date:references:to:in-reply-to; | |
bh=VxuyRGK6kjBMyCHA39bNMNoTYvEFjq7StxzqwPsW5Rs=; | |
b=B+c+wPWC+3lTQbHiZTNYAQEdrW/rMtHRY5tWGArDbrkulqFgQuuYZvbsdsgmIMvOdc | |
0y4kfbH3gKse4SKiiOl98znr76LwVvwvY1ObYEaB7+DHi7Jw5MmoQGu/OEkjeJE45ErT | |
9g39m54n+SdGyg0ytsU25Grs4ALgLYCdcoTcn1Z9JFNTjNw+mrsx1aT8o/R2Ki/RXkS7 | |
l4Go7b3gbMYDI/RhiT1U/JxzcY0o2FhG9K+CBtJgvuGvdm/J89PZtuaIydLHImFq5RKB | |
CGaqlN7fa0t5lz6TePc3bW3WEAjio0/5/2mpcnUur5PhiReGxHnM3/zB0ZVCIG2Md1M4 | |
UsLA== | |
X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=1e100.net; s=20130820; | |
h=x-gm-message-state:from:message-id:mime-version:subject:date | |
:references:to:in-reply-to; | |
bh=VxuyRGK6kjBMyCHA39bNMNoTYvEFjq7StxzqwPsW5Rs=; | |
b=cnpQtGeLRzqgJopLfYVkGixyaj7B3JnI7DLMB6esoogN7SKtPb3EyNcxr7BJsgA9Gr | |
VUJ2NECSOqD5WYglJYYrVrZjBmhyZdi+4sDsoJhOFf4NZF1EzWzt6/rwAwsPYrmmnQ2W | |
evG9w3kwbgOSyoDYLB2ApFB5ooy13RqcHiZkqY6vOPTyxB1NNLl1yXyLljfDROpNzhmx | |
v4xuqSMU003DLyurbSpHLVYUkJCl+dsnYyYe6igZogcV4nKH4BC+qpCiVi8g6yvTgvnP | |
U9MGTHWy1ZcLJkNTezMWtYK0S7mcawjuyGlmv1OgxsFQKkzLZWx825bSeKiBn1ekfHDz | |
OO/w== | |
X-Gm-Message-State: | AOPr4FU7lJoJ6MXi6mTjghIo0Y6h5mn9QWe3Ke84zpd8UHjN9OlscrKLt69woF5icQJOgKXp |
X-Received: | by 10.129.41.8 with SMTP id p8mr9924679ywp.154.1461903220918; |
Thu, 28 Apr 2016 21:13:40 -0700 (PDT) | |
From: | "James Battat (jbattat AT wellesley DOT edu) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
Message-Id: | <5D740708-C96C-49EB-9922-7C95B1F226A8@wellesley.edu> |
Mime-Version: | 1.0 (Mac OS X Mail 7.3 \(1878.6\)) |
Subject: | Re: [geda-user] modifying the width of a group of tracks in pcb |
Date: | Fri, 29 Apr 2016 00:13:37 -0400 |
References: | <188AA225-D025-42A2-B798-72B46BCB5916 AT wellesley DOT edu> <alpine DOT DEB DOT 2 DOT 00 DOT 1604290550360 DOT 28818 AT igor2priv> |
To: | geda-user AT delorie DOT com |
In-Reply-To: | <alpine.DEB.2.00.1604290550360.28818@igor2priv> |
X-Mailer: | Apple Mail (2.1878.6) |
Reply-To: | geda-user AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | geda-user AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
--Apple-Mail=_439C8B1F-41A6-4F2C-AD70-A2747C2534B8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Thanks for the suggestions. =20 The =93F=94 keyboard shortcut (=93find connections=94) will highlight an = entire track.=20 Is there a similar function that selects a full track (not just a single = track segment)? James On Apr 28, 2016, at 11:54 PM, gedau AT igor2 DOT repo DOT hu wrote: >=20 >=20 > On Thu, 28 Apr 2016, James Battat (jbattat AT wellesley DOT edu) [via = geda-user AT delorie DOT com] wrote: >=20 >> I designed a board with some 50 ohm microstrip tracks, whose widths = (13.5mil) were chosen for a particular board house. I now need to use a = different board house, with a different dielectric and prepreg = thickness, and so will need to change the widths of all of my 50ohm = tracks. >>=20 >> Many tracks in my layout are also 13.5 mil wide even though they are = not meant to be controlled impedance runs. I?d like to leave these = alone and only modify the width of the 50ohm runs. For future boards, = I?ll definitely only use the 50ohm trace width for 50ohm traces, in = which case a straight sed search/replace will do what I need. But in = the meantime, any recommendations for doing a batch modification of the = trace width of a group of selected traces? >=20 > I'd do it like this: >=20 > 1. open the design in pcb, clear selection > 2. select all microstrip tracks > 3. save & quit > 4. write an awk one-liner that modifies the width value in the pcb = file if the same line matches "^[ \t]*Line[[].*selected" > 5. open the new design in pcb, microstrip lines should be still = selected, manually check the result at a few places randomly >=20 > HTH, >=20 > Igor2 >=20 >=20 --Apple-Mail=_439C8B1F-41A6-4F2C-AD70-A2747C2534B8 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Thanks = for the suggestions. <div><br></div><div>The =93F=94 keyboard = shortcut (=93find connections=94) will highlight an entire = track. </div><div>Is there a similar function that selects a full = track (not just a single track = segment)?</div><div><br></div><div>James<br><div = apple-content-edited=3D"true"> <div style=3D"color: rgb(0, 0, 0); letter-spacing: normal; orphans: = auto; text-align: start; text-indent: 0px; text-transform: none; = white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-stroke-width: 0px; word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: = after-white-space;"><br></div></div><div><div>On Apr 28, 2016, at 11:54 = PM, <a href=3D"mailto:gedau AT igor2 DOT repo DOT hu">gedau AT igor2 DOT repo DOT hu</a> = wrote:</div><br class=3D"Apple-interchange-newline"><blockquote = type=3D"cite"><br><br>On Thu, 28 Apr 2016, James Battat (<a = href=3D"mailto:jbattat AT wellesley DOT edu">jbattat AT wellesley DOT edu</a>) [via <a = href=3D"mailto:geda-user AT delorie DOT com">geda-user AT delorie DOT com</a>] = wrote:<br><br><blockquote type=3D"cite">I designed a board with some 50 = ohm microstrip tracks, whose widths (13.5mil) were chosen for a = particular board house. I now need to use a different board house, = with a different dielectric and prepreg thickness, and so will need to = change the widths of all of my 50ohm tracks.<br><br>Many tracks in my = layout are also 13.5 mil wide even though they are not meant to be = controlled impedance runs. I?d like to leave these alone and only = modify the width of the 50ohm runs. For future boards, I?ll definitely = only use the 50ohm trace width for 50ohm traces, in which case a = straight sed search/replace will do what I need. But in the = meantime, any recommendations for doing a batch modification of the = trace width of a group of selected traces?<br></blockquote><br>I'd do it = like this:<br><br>1. open the design in pcb, clear selection<br>2. = select all microstrip tracks<br>3. save & quit<br>4. write an awk = one-liner that modifies the width value in the pcb file if the same line = matches "^[ \t]*Line[[].*selected"<br>5. open the new design in pcb, = microstrip lines should be still selected, manually check the result at = a few places = randomly<br><br>HTH,<br><br>Igor2<br><br><br></blockquote></div><br></div>= </body></html>= --Apple-Mail=_439C8B1F-41A6-4F2C-AD70-A2747C2534B8--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |