X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Message-ID: <5644DF76.5080302@xs4all.nl> Date: Thu, 12 Nov 2015 19:50:30 +0100 From: "Bert Timmerman (bert DOT timmerman AT xs4all DOT nl) [via geda-user AT delorie DOT com]" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.19) Gecko/20110429 Fedora/2.0.14-1.fc13 SeaMonkey/2.0.14 MIME-Version: 1.0 To: geda-user AT delorie DOT com Subject: Re: [geda-user] pcb, add insert via hotkey, trace/route move References: <20151112171657 DOT aa3f15ddf01aed520f2cab3d AT gmail DOT com> In-Reply-To: <20151112171657.aa3f15ddf01aed520f2cab3d@gmail.com> Content-Type: multipart/mixed; boundary="------------010400020006080105040809" Reply-To: geda-user AT delorie DOT com This is a multi-part message in MIME format. --------------010400020006080105040809 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: > Layer change is already avaiable on keyboard and function keys may switch to for example add via but insert via and continue with the route is a very common task then routing. A hotkey for insert via would be rather useful and I read the manual and can't find it, I am thinking about adding it. > > If layer is changed while routing inserting a via between these layers or thru all layers may be a good choice. Right mouse button also feels like a good solution but available on left hand is also easily accesible while drawing a route. To insert a via if layer is changed while routing will probably be my solution but I wan't to hear your oppinion about the choice of key? > > > Rubber band move may be rather useful then moving routes but I think it could be improved. In particular "Auto enforce DRC clearance" does not while moving route in rubber band mode and it is rather useful then squeezing together routes/traces. Then moving routes connected to other routes it would probably also make sense to keep trace/route angles instead of trace length, endpoints have to be kept at intersection points. These changes are howevere a little bit more involved. > > > > Regards Nicklas Karlsson > > Hi Nicklas, Most, if not all, single keys are already taken/reserved, see http://www.delorie.com/archives/browse.cgi?p=geda-user/2015/08/30/00:16:19 (the link in the meassage is currently down for some reason). I added the shell script as an attachment. Kind regards, Bert Timmerman. --------------010400020006080105040809 Content-Type: application/x-shellscript; name="keylist.sh" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="keylist.sh" IyEvYmluL3NoCiMgICBrZXlsaXN0IC0gbGlzdCBob3RrZXktPmFjdGlvbnMgZm91bmQgaW4g LnJlcyBmaWxlcyBpbiBhIGh0bWwgdGFibGUsIHBlciBISUQKIyAgIENvcHlyaWdodCAoQykg MjAxNSBUaWJvciAnSWdvcjInIFBhbGlua2FzCiMKIyAgIFRoaXMgcHJvZ3JhbSBpcyBmcmVl IHNvZnR3YXJlOyB5b3UgY2FuIHJlZGlzdHJpYnV0ZSBpdCBhbmQvb3IgbW9kaWZ5CiMgICBp dCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIGFz IHB1Ymxpc2hlZCBieQojICAgdGhlIEZyZWUgU29mdHdhcmUgRm91bmRhdGlvbjsgZWl0aGVy IHZlcnNpb24gMiBvZiB0aGUgTGljZW5zZSwgb3IKIyAgIChhdCB5b3VyIG9wdGlvbikgYW55 IGxhdGVyIHZlcnNpb24uCiMKIyAgIFRoaXMgcHJvZ3JhbSBpcyBkaXN0cmlidXRlZCBpbiB0 aGUgaG9wZSB0aGF0IGl0IHdpbGwgYmUgdXNlZnVsLAojICAgYnV0IFdJVEhPVVQgQU5ZIFdB UlJBTlRZOyB3aXRob3V0IGV2ZW4gdGhlIGltcGxpZWQgd2FycmFudHkgb2YKIyAgIE1FUkNI QU5UQUJJTElUWSBvciBGSVRORVNTIEZPUiBBIFBBUlRJQ1VMQVIgUFVSUE9TRS4gIFNlZSB0 aGUKIyAgIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIGZvciBtb3JlIGRldGFpbHMuCiMK IyAgIFlvdSBzaG91bGQgaGF2ZSByZWNlaXZlZCBhIGNvcHkgb2YgdGhlIEdOVSBHZW5lcmFs IFB1YmxpYyBMaWNlbnNlIGFsb25nCiMgICB3aXRoIHRoaXMgcHJv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