Mail Archives: geda-user/2017/11/18/10:56:36
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
- Raw text -