X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Sat, 18 Nov 2017 17:05:04 +0100 (CET) X-X-Sender: igor2 AT igor2priv To: geda-user AT delorie DOT com X-Debug: to=geda-user AT delorie DOT com from="gedau AT igor2 DOT repo DOT hu" From: gedau AT igor2 DOT repo DOT hu Subject: [geda-user] [pcb-rnd] new feature: shape generation (video) (fwd) Message-ID: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Reply-To: geda-user AT delorie DOT com Hi all, drawing all the fancy pad shapes for our new padstacks is boring. Especially that majority of the padstacks need very simple shapes. To speed up work with non-circular padstacks, I've implemented a shape generator plugin that supports generating regular polygons (e.g. octagon), rounded rectange (polygon) and circles (zero length lines). It can be used to generate polygons and circles on the current layer (which doesn't have to be a copper layer). It can be used from the command line, using actions regpoly(), roundrect() and circle(), but it also offers an interactive, non-modal dialog box using the shape() action. Interactive use is demonstated by the following video: https://archive.org/details/pcb_rnd_shape (Under the hood: the dialog box is done with the Dynamic Attribute Dialog, which got upgraded to support non-modal dialogs. The same dialog code works in all GUI HIDs (all gtk HIDs and lesstif). At the moment the shape generators and the CLI weights 361 SLOC, the dialog box code is 320 SLOC.) Regards, Igor2