X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Subject: =?UTF-8?Q?Re:_[geda-user]_modifying_the_width?= =?UTF-8?Q?_of_a_group_of_tracks_in_pcb?= From: "=?UTF-8?Q?michalwd1979?= (michalwd1979 AT o2 DOT pl) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com In-Reply-To: <188AA225-D025-42A2-B798-72B46BCB5916@wellesley.edu> References: <188AA225-D025-42A2-B798-72B46BCB5916 AT wellesley DOT edu> Mime-Version: 1.0 Message-ID: <55b70921.6dcc141.5724f801.8f779@o2.pl> Date: Sat, 30 Apr 2016 20:22:57 +0200 X-Originator: 78.11.227.204 Content-Type: multipart/mixed; boundary="==o2.pl-WebMail-d04a42.410592d7.8f78b==" 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 This is a multi-part message in MIME format. --==o2.pl-WebMail-d04a42.410592d7.8f78b== Content-Type: multipart/alternative; boundary="==o2.pl-WebMail-6480bd5b.6eb5bba4.8f78f==" --==o2.pl-WebMail-6480bd5b.6eb5bba4.8f78f== Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, This=20is=20my=20quick=20and=20dirty=20plug-in=20that=20lets=20You=20sele= ct=20objects=20by=20size=20or=20by=20hole=20size.=20It=20selects=20only=20= visible=20objects=20so=20You=20can=20choose=20lines,=20vias,=20pads=20or=20= layers.=20Usage=20":selectbysize(size,=20unit)". I've=20written=20it=20when=20I=20wanted=20to=20modify=20all=20given=20via= s=20on=20board.=20 Hope=20this=20helps, Michael=20Widlok Dnia=2029=20kwietnia=202016=205:37=20"James=20Battat=20(jbattat AT wellesley= .edu)=20[via=20geda-user AT delorie DOT com]"=20<geda-user AT delorie DOT com>=20= napisa=C5=82(a): I=20designed=20a=20board=20with=20some=2050=20ohm=20microstrip=20tracks,=20= whose=20widths=20(13.5mil)=20were=20chosen=20for=20a=20particular=20board= =20house.=20I=20now=20need=20to=20use=20a=20different=20board=20house,=20= with=20a=20different=20dielectric=20and=20prepreg=20thickness,=20and=20so= =20will=20need=20to=20change=20the=20widths=20of=20all=20of=20my=2050ohm=20= tracks. Many=20tracks=20in=20my=20layout=20are=20also=2013.5=20mil=20wide=20even=20= though=20they=20are=20not=20meant=20to=20be=20controlled=20impedance=20ru= ns.=20I=E2=80=99d=20like=20to=20leave=20these=20alone=20and=20only=20modi= fy=20the=20width=20of=20the=2050ohm=20runs.=20For=20future=20boards,=20I=E2= =80=99ll=20definitely=20only=20use=20the=2050ohm=20trace=20width=20for=20= 50ohm=20traces,=20in=20which=20case=20a=20straight=20sed=20search/replace= =20will=20do=20what=20I=20need.=20But=20in=20the=20meantime,=20any=20reco= mmendations=20for=20doing=20a=20batch=20modification=20of=20the=20trace=20= width=20of=20a=20group=20of=20selected=20traces?=20 Thank=20you, James --==o2.pl-WebMail-6480bd5b.6eb5bba4.8f78f== Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi,This=20is=20my=20quick=20and=20dirty=20plug-in=20that=20= lets=20You=20select=20objects=20by=20size=20or=20by=20hole=20size.=20It=20= selects=20only=20visible=20objects=20so=20You=20can=20choose=20lines,=20v= ias,=20pads=20or=20layers.=20Usage=20":selectbysize(size,=20unit)".I've=20written=20it=20when=20I=20wanted=20to=20modify=20all=20given=20v= ias=20on=20board.=20Hope=20this=20helps,Michael=20= WidlokDnia=2029=20kwietnia=202016=205:37=20"James= =20Battat=20(jbattat AT wellesley DOT edu)=20[via=20geda-user AT delorie DOT com]"=20&l= t;geda-user AT delorie DOT com>=20napisa=C5=82(a): I=20designed=20a=20board=20with=20some=2050=20ohm=20microstrip=20track= s,=20whose=20widths=20(13.5mil)=20were=20chosen=20for=20a=20particular=20= board=20house.=20I=20now=20need=20to=20use=20a=20different=20board=20hous= e,=20with=20a=20different=20dielectric=20and=20prepreg=20thickness,=20and= =20so=20will=20need=20to=20change=20the=20widths=20of=20all=20of=20my=205= 0ohm=20tracks.Many=20tracks=20in=20my=20layout=20are=20al= so=2013.5=20mil=20wide=20even=20though=20they=20are=20not=20meant=20to=20= be=20controlled=20impedance=20runs.=20I=E2=80=99d=20like=20to=20leave=20t= hese=20alone=20and=20only=20modify=20the=20width=20of=20the=2050ohm=20run= s.=20For=20future=20boards,=20I=E2=80=99ll=20definitely=20only=20use=20th= e=2050ohm=20trace=20width=20for=2050ohm=20traces,=20in=20which=20case=20a= =20straight=20sed=20search/replace=20will=20do=20what=20I=20need.=20But=20= in=20the=20meantime,=20any=20recommendations=20for=20doing=20a=20batch=20= modification=20of=20the=20trace=20width=20of=20a=20group=20of=20selected=20= traces?=20Thank=20you,James --==o2.pl-WebMail-6480bd5b.6eb5bba4.8f78f==-- --==o2.pl-WebMail-d04a42.410592d7.8f78b== Content-Type: text/x-csrc; name="=?UTF-8?Q?select=5Fby=5Fsize.c?=" Content-Disposition: attachment; filename="=?UTF-8?Q?select=5Fby=5Fsize.c?=" Content-Transfer-Encoding: base64 LyogSm9pbiBmb3VuZCBwbHVnLWluIGZvciBQQ0IKICoKICogQ29weXJpZ2h0IChDKSAyMDA5 IFBldGVyIENsaWZ0b24gPHBjamMyQGNhbS5hYy51az4KICoKICogTGljZW5zZWQgdW5kZXIg dGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSwgdmVyc2lvbgog KiAyIG9yIGxhdGVyLgogKgogKiBDb21waWxlIGxpa2UgdGhpczoKCiAqIGdjYyAtV2FsbCAt SSRIT01FL3BjYnNyYy9wY2IuY2xlYW4vc3JjIC1JJEhPTUUvcGNic3JjL3BjYi5jbGVhbiAt TzIgLXNoYXJlZCBqb2luLWZvdW5kLmMgLW8gam9pbi1mb3VuZC5zbwogKgogKiAgVGhlIHJl c3VsdGluZyBqb2luLWZvdW5kLnNvIGdvZXMgaW4gJEhPTUUvLnBjYi9wbHVnaW5zL2pv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