X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Injected-Via-Gmane: http://gmane.org/ To: geda-user AT delorie DOT com From: Kai-Martin Knaak Subject: Re: [geda-user] The new to do Date: Sat, 25 Jul 2015 21:06:56 +0200 Lines: 25 Message-ID: References: <0A5D410F-D1EF-4FC6-AF0F-BB13218B1615 AT icloud DOT com> <20150714084906 DOT GC14371 AT localhost DOT localdomain> <20150720131753 DOT GA19305 AT localhost DOT localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet AT ger DOT gmane DOT org X-Gmane-NNTP-Posting-Host: a89-182-126-155.net-htp.de User-Agent: KNode/4.14.1 Reply-To: geda-user AT delorie DOT com Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: >> Back to a first example for useful scripting. How about multi-copy: >>Copy/paste the current selection multiple times translated by an >>amount given by the user. For bonus points also rotate the selection >>by an angle with each paste action. > > Rereading your post after I wrote the script for gschem, I start to > suspect you've meant PCB here, haven't you? Yes, I meant pcb. I really should have been more explicit on that. I feel like scripting is much moire applicable for portions of the layout than for the circuit. For example, repeated sub circuits are better served by a hierarchy of sub sheets rather than an actual repeat of the circuit. > Anyway, the script for gschem is attached. Unfortunately, it is all greek, err, guile to me. But good to see that this kind of tasks can be tackled in current gschem. ---<)kaimartin(>---