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]" Content-Type: multipart/alternative; boundary="Apple-Mail=_439C8B1F-41A6-4F2C-AD70-A2747C2534B8" 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> To: geda-user AT delorie DOT com In-Reply-To: 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 Precedence: bulk --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 Thanks = for the suggestions.  

The =93F=94 keyboard = shortcut (=93find connections=94) will highlight an entire = track. 
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:



On Thu, 28 Apr 2016, James Battat (jbattat AT wellesley DOT edu) [via geda-user AT delorie DOT com] = wrote:

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.

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?

I'd do it = like this:

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

HTH,

Igor2



= = --Apple-Mail=_439C8B1F-41A6-4F2C-AD70-A2747C2534B8--